Skip to content

HBASE-22627 Port HBASE-22617 (Recovered WAL directories not getting cleaned up) to branch-1 - #339

Merged
apurtell merged 1 commit into
apache:branch-1from
apurtell:HBASE-22627-branch-1
Jun 26, 2019
Merged

HBASE-22627 Port HBASE-22617 (Recovered WAL directories not getting cleaned up) to branch-1#339
apurtell merged 1 commit into
apache:branch-1from
apurtell:HBASE-22627-branch-1

Conversation

@apurtell

Copy link
Copy Markdown
Contributor

HBASE-22617 Recovered WAL directories not getting cleaned up (Duo Zhang)

@apurtell
apurtell requested review from Apache9 and z-yorkJune 25, 2019 17:20
@apurtell
apurtellforce-pushed the HBASE-22627-branch-1 branch from 9ed92f3 to ced4487CompareJune 25, 2019 17:26
@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec27Docker mode activated.
_ Prechecks _
0findbugs0Findbugs executables are not available.
+1hbaseanti0Patch does not have any anti-patterns.
+1@author0The patch does not contain any @author tags.
+1test4tests0The patch appears to include 5 new or modified test files.
_ branch-1 Compile Tests _
+1mvninstall104branch-1 passed
+1compile38branch-1 passed with JDK v1.8.0_212
+1compile37branch-1 passed with JDK v1.7.0_222
+1checkstyle78branch-1 passed
+1shadedjars150branch has no errors when building our shaded downstream artifacts.
+1javadoc30branch-1 passed with JDK v1.8.0_212
+1javadoc36branch-1 passed with JDK v1.7.0_222
_ Patch Compile Tests _
-1mvninstall63root in the patch failed.
-1compile35hbase-server in the patch failed with JDK v1.8.0_212.
-1javac35hbase-server in the patch failed with JDK v1.8.0_212.
-1compile39hbase-server in the patch failed with JDK v1.7.0_222.
-1javac39hbase-server in the patch failed with JDK v1.7.0_222.
-1checkstyle78hbase-server: The patch generated 1 new + 775 unchanged - 3 fixed = 776 total (was 778)
+1whitespace0The patch has no whitespace issues.
-1shadedjars98patch has 24 errors when building our shaded downstream artifacts.
-1hadoopcheck60The patch causes 24 errors with Hadoop v2.8.5.
-1hadoopcheck119The patch causes 24 errors with Hadoop v2.9.2.
-1javadoc28hbase-server-jdk1.8.0_212 with JDK v1.8.0_212 generated 1 new + 3 unchanged - 0 fixed = 4 total (was 3)
-1javadoc38hbase-server-jdk1.7.0_222 with JDK v1.7.0_222 generated 1 new + 3 unchanged - 0 fixed = 4 total (was 3)
_ Other Tests _
-1unit38hbase-server in the patch failed.
+1asflicense12The patch does not generate ASF License warnings.
1128
SubsystemReport/Notes
DockerClient=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/2/artifact/out/Dockerfile
GITHUB PR#339
Optional Testsdupname asflicense javac javadoc unit findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux bdb1f002856d 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/testptch/patchprocess/precommit/personality/provided.sh
git revisionbranch-1 / 5023690
mavenversion: Apache Maven 3.0.5
Default Java1.7.0_222
Multi-JDK versions/usr/lib/jvm/java-8-openjdk-amd64:1.8.0_212 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_222
mvninstallhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/2/artifact/out/patch-mvninstall-root.txt
compilehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/2/artifact/out/patch-compile-hbase-server-jdk1.8.0_212.txt
javachttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/2/artifact/out/patch-compile-hbase-server-jdk1.8.0_212.txt
compilehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/2/artifact/out/patch-compile-hbase-server-jdk1.7.0_222.txt
javachttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/2/artifact/out/patch-compile-hbase-server-jdk1.7.0_222.txt
checkstylehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/2/artifact/out/diff-checkstyle-hbase-server.txt
shadedjarshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/2/artifact/out/patch-shadedjars.txt
hadoopcheckhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/2/artifact/out/patch-javac-2.8.5.txt
hadoopcheckhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/2/artifact/out/patch-javac-2.9.2.txt
javadochttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/2/artifact/out/diff-javadoc-javadoc-hbase-server-jdk1.8.0_212.txt
javadochttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/2/artifact/out/diff-javadoc-javadoc-hbase-server-jdk1.7.0_222.txt
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/2/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/2/testReport/
Max. process+thread count87 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/2/console
Powered byApache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec1143Docker mode activated.
_ Prechecks _
0findbugs1Findbugs executables are not available.
+1hbaseanti0Patch does not have any anti-patterns.
+1@author0The patch does not contain any @author tags.
+1test4tests0The patch appears to include 5 new or modified test files.
_ branch-1 Compile Tests _
+1mvninstall491branch-1 passed
+1compile71branch-1 passed with JDK v1.8.0_212
+1compile63branch-1 passed with JDK v1.7.0_222
+1checkstyle95branch-1 passed
+1shadedjars215branch has no errors when building our shaded downstream artifacts.
+1javadoc56branch-1 passed with JDK v1.8.0_212
+1javadoc59branch-1 passed with JDK v1.7.0_222
_ Patch Compile Tests _
-1mvninstall109root in the patch failed.
-1compile66hbase-server in the patch failed with JDK v1.8.0_212.
-1javac66hbase-server in the patch failed with JDK v1.8.0_212.
-1compile64hbase-server in the patch failed with JDK v1.7.0_222.
-1javac64hbase-server in the patch failed with JDK v1.7.0_222.
-1checkstyle92hbase-server: The patch generated 1 new + 775 unchanged - 3 fixed = 776 total (was 778)
+1whitespace0The patch has no whitespace issues.
-1shadedjars164patch has 24 errors when building our shaded downstream artifacts.
-1hadoopcheck103The patch causes 24 errors with Hadoop v2.8.5.
-1hadoopcheck201The patch causes 24 errors with Hadoop v2.9.2.
-1javadoc54hbase-server-jdk1.8.0_212 with JDK v1.8.0_212 generated 1 new + 3 unchanged - 0 fixed = 4 total (was 3)
-1javadoc60hbase-server-jdk1.7.0_222 with JDK v1.7.0_222 generated 1 new + 3 unchanged - 0 fixed = 4 total (was 3)
_ Other Tests _
-1unit76hbase-server in the patch failed.
+1asflicense18The patch does not generate ASF License warnings.
3443
SubsystemReport/Notes
DockerClient=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/1/artifact/out/Dockerfile
GITHUB PR#339
Optional Testsdupname asflicense javac javadoc unit findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 0f201ae5cb72 4.4.0-131-generic #157~14.04.1-Ubuntu SMP Fri Jul 13 08:53:17 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/testptch/patchprocess/precommit/personality/provided.sh
git revisionbranch-1 / 5023690
mavenversion: Apache Maven 3.0.5
Default Java1.7.0_222
Multi-JDK versions/usr/lib/jvm/java-8-openjdk-amd64:1.8.0_212 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_222
mvninstallhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/1/artifact/out/patch-mvninstall-root.txt
compilehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/1/artifact/out/patch-compile-hbase-server-jdk1.8.0_212.txt
javachttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/1/artifact/out/patch-compile-hbase-server-jdk1.8.0_212.txt
compilehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/1/artifact/out/patch-compile-hbase-server-jdk1.7.0_222.txt
javachttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/1/artifact/out/patch-compile-hbase-server-jdk1.7.0_222.txt
checkstylehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/1/artifact/out/diff-checkstyle-hbase-server.txt
shadedjarshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/1/artifact/out/patch-shadedjars.txt
hadoopcheckhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/1/artifact/out/patch-javac-2.8.5.txt
hadoopcheckhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/1/artifact/out/patch-javac-2.9.2.txt
javadochttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/1/artifact/out/diff-javadoc-javadoc-hbase-server-jdk1.8.0_212.txt
javadochttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/1/artifact/out/diff-javadoc-javadoc-hbase-server-jdk1.7.0_222.txt
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/1/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/1/testReport/
Max. process+thread count41 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/1/console
Powered byApache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@apurtell
apurtellforce-pushed the HBASE-22627-branch-1 branch 2 times, most recently from ae1d198 to fc7dc76CompareJune 25, 2019 18:30
@apurtell

Copy link
Copy Markdown
ContributorAuthor

Updated patch fixes javadoc and checkstyle warn from precommit, also a compile problem not caught by my IDE (unclean workspace I guess)

@z-york

Copy link
Copy Markdown
Contributor

I missed the original patch, but let me review this here (and try to remember why this was done originally).

@apurtell

apurtell commented Jun 25, 2019

Copy link
Copy Markdown
ContributorAuthor

@z-york This fixes an issue where a path component to the wal dir is missing after HBASE-20734, so we get files under /<root>/<namespace> instead of /<root>/data/<namespace> with the default config, and the erroneous location is not expected by the hfile archiver or table delete procedure, so they are never cleaned up. We had a production incident where we hit the HDFS directory 1 million entry limit and couldn't online regions.

* Create the region splits directory.
*/
void createSplitsDir() throws IOException {
void createSplitsDir(HRegionInfo daughterA, HRegionInfo daughterB) throws IOException {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is unclear to me how this is related to the rest of the changes. Could you provide some insight?

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Apache9 included this in the branch-2/master patch, including it here in the backport too.

@apurtellapurtellJun 25, 2019

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this fixed an issue with a hbck test so precommit for the branch-2 version could be green. The daughter directories would not always be created. While technically an unrelated change we allowed it there and should allow it here. Or do an addendum to break it out into a separate commit (here and in branch-2 and up).

// Delete the directory on wal filesystem
FileSystem walFs = mfs.getWALFileSystem();
Path tableWALDir = FSUtils.getWALTableDir(env.getMasterConfiguration(), tableName);
if (walFs.exists(tableWALDir) && !walFs.delete(tableWALDir, true)) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this have any unintended side-effects(rollbacks?)? Will this eventually be cleaned up by the cleaners?

@apurtellapurtellJun 25, 2019

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are no rollback provisions for an IO exception late in the delete procedure, that is true. It's specific to branch-1 because branch-2 and up uses the procedure state machine to manage this better. Perhaps we could look at this in a follow up issue.

I added this at the very tail of the procedure so if there is an IO exception here at least it did not interfere with the deletion of the table directories. However if there is an IO exception deleting the table directories, we don't reach this code. We have this concern with the master procedures in branch-1 in a number of places.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec27Docker mode activated.
_ Prechecks _
0findbugs1Findbugs executables are not available.
+1hbaseanti0Patch does not have any anti-patterns.
+1@author0The patch does not contain any @author tags.
+1test4tests0The patch appears to include 6 new or modified test files.
_ branch-1 Compile Tests _
+1mvninstall99branch-1 passed
+1compile35branch-1 passed with JDK v1.8.0_212
+1compile40branch-1 passed with JDK v1.7.0_222
+1checkstyle80branch-1 passed
+1shadedjars150branch has no errors when building our shaded downstream artifacts.
+1javadoc29branch-1 passed with JDK v1.8.0_212
+1javadoc37branch-1 passed with JDK v1.7.0_222
_ Patch Compile Tests _
+1mvninstall99the patch passed
+1compile37the patch passed with JDK v1.8.0_212
+1javac37the patch passed
+1compile41the patch passed with JDK v1.7.0_222
+1javac41the patch passed
-1checkstyle80hbase-server: The patch generated 2 new + 819 unchanged - 3 fixed = 821 total (was 822)
+1whitespace0The patch has no whitespace issues.
+1shadedjars157patch has no errors when building our shaded downstream artifacts.
+1hadoopcheck197Patch does not cause any errors with Hadoop 2.8.5 2.9.2.
-1javadoc29hbase-server-jdk1.8.0_212 with JDK v1.8.0_212 generated 1 new + 3 unchanged - 0 fixed = 4 total (was 3)
-1javadoc36hbase-server-jdk1.7.0_222 with JDK v1.7.0_222 generated 1 new + 3 unchanged - 0 fixed = 4 total (was 3)
_ Other Tests _
-1unit6731hbase-server in the patch failed.
+1asflicense21The patch does not generate ASF License warnings.
8102
ReasonTests
Failed junit testshadoop.hbase.replication.TestReplicationDroppedTables
SubsystemReport/Notes
DockerClient=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/3/artifact/out/Dockerfile
GITHUB PR#339
Optional Testsdupname asflicense javac javadoc unit findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 56ee040718fa 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/testptch/patchprocess/precommit/personality/provided.sh
git revisionbranch-1 / 5023690
mavenversion: Apache Maven 3.0.5
Default Java1.7.0_222
Multi-JDK versions/usr/lib/jvm/java-8-openjdk-amd64:1.8.0_212 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_222
checkstylehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/3/artifact/out/diff-checkstyle-hbase-server.txt
javadochttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/3/artifact/out/diff-javadoc-javadoc-hbase-server-jdk1.8.0_212.txt
javadochttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/3/artifact/out/diff-javadoc-javadoc-hbase-server-jdk1.7.0_222.txt
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/3/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/3/testReport/
Max. process+thread count4441 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/3/console
Powered byApache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@z-york

Copy link
Copy Markdown
Contributor

+1 from me.

It looks like the test failure was due to timeout. Can you run it locally to verify before committing?

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec73Docker mode activated.
_ Prechecks _
0findbugs0Findbugs executables are not available.
+1hbaseanti0Patch does not have any anti-patterns.
+1@author0The patch does not contain any @author tags.
+1test4tests0The patch appears to include 6 new or modified test files.
_ branch-1 Compile Tests _
+1mvninstall150branch-1 passed
+1compile38branch-1 passed with JDK v1.8.0_212
+1compile44branch-1 passed with JDK v1.7.0_222
+1checkstyle88branch-1 passed
+1shadedjars167branch has no errors when building our shaded downstream artifacts.
+1javadoc29branch-1 passed with JDK v1.8.0_212
+1javadoc38branch-1 passed with JDK v1.7.0_222
_ Patch Compile Tests _
+1mvninstall100the patch passed
+1compile38the patch passed with JDK v1.8.0_212
+1javac38the patch passed
+1compile41the patch passed with JDK v1.7.0_222
+1javac41the patch passed
-1checkstyle89hbase-server: The patch generated 1 new + 819 unchanged - 3 fixed = 820 total (was 822)
+1whitespace0The patch has no whitespace issues.
+1shadedjars164patch has no errors when building our shaded downstream artifacts.
+1hadoopcheck207Patch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1javadoc27the patch passed with JDK v1.8.0_212
+1javadoc38the patch passed with JDK v1.7.0_222
_ Other Tests _
-1unit8823hbase-server in the patch failed.
+1asflicense26The patch does not generate ASF License warnings.
10366
ReasonTests
Failed junit testshadoop.hbase.client.TestAdmin1
SubsystemReport/Notes
DockerClient=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/4/artifact/out/Dockerfile
GITHUB PR#339
Optional Testsdupname asflicense javac javadoc unit findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux da587fee9c48 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/testptch/patchprocess/precommit/personality/provided.sh
git revisionbranch-1 / 5023690
mavenversion: Apache Maven 3.0.5
Default Java1.7.0_222
Multi-JDK versions/usr/lib/jvm/java-8-openjdk-amd64:1.8.0_212 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_222
checkstylehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/4/artifact/out/diff-checkstyle-hbase-server.txt
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/4/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/4/testReport/
Max. process+thread count4559 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/4/console
Powered byApache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@apurtell
apurtellforce-pushed the HBASE-22627-branch-1 branch from fc7dc76 to cd946e8CompareJune 25, 2019 21:34
@apurtell

apurtell commented Jun 25, 2019

Copy link
Copy Markdown
ContributorAuthor

TestReplicationDroppedTables timeout could be related, but it is a known flake and doesn't seem healthy in latest branch-1 when I run it locally. I think it should be removed. I filed HBASE-22629 for followup.

Pushed an update to fix the reported checkstyle and javadoc issues.

@apurtell
apurtellforce-pushed the HBASE-22627-branch-1 branch from cd946e8 to 0c297b2CompareJune 25, 2019 22:15
…leaned up) to branch-1
HBASE-22617 Recovered WAL directories not getting cleaned up (Duo Zhang)
@apurtell

Copy link
Copy Markdown
ContributorAuthor

@apurtell

apurtell commented Jun 25, 2019

Copy link
Copy Markdown
ContributorAuthor

Latest patch drops the parts of the branch-2+ patch which automatically clean up the WAL dirs. To be conservative I worry about the potential impact to replication. We will still delete the wrong region dir upon open after replay. Only recovered edits files should have been written there.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec83Docker mode activated.
_ Prechecks _
0findbugs0Findbugs executables are not available.
+1hbaseanti0Patch does not have any anti-patterns.
+1@author0The patch does not contain any @author tags.
+1test4tests0The patch appears to include 6 new or modified test files.
_ branch-1 Compile Tests _
+1mvninstall140branch-1 passed
+1compile39branch-1 passed
+1checkstyle90branch-1 passed
-1shadedjars11branch has 10 errors when building our shaded downstream artifacts.
+1javadoc33branch-1 passed
_ Patch Compile Tests _
+1mvninstall95the patch passed
+1compile37the patch passed
+1javac37the patch passed
+1checkstyle88hbase-server: The patch generated 0 new + 788 unchanged - 3 fixed = 788 total (was 791)
+1whitespace0The patch has no whitespace issues.
-1shadedjars11patch has 10 errors when building our shaded downstream artifacts.
+1hadoopcheck192Patch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1javadoc29the patch passed
_ Other Tests _
-1unit8214hbase-server in the patch failed.
+1asflicense23The patch does not generate ASF License warnings.
9249
ReasonTests
Failed junit testshadoop.hbase.security.visibility.TestVisibilityLabelsWithACL
SubsystemReport/Notes
DockerClient=18.09.5 Server=18.09.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/6/artifact/out/Dockerfile
GITHUB PR#339
Optional Testsdupname asflicense javac javadoc unit findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 8d5c33e09c17 4.15.0-48-generic #51-Ubuntu SMP Wed Apr 3 08:28:49 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/testptch/patchprocess/precommit/personality/provided.sh
git revisionbranch-1 / 5023690
mavenversion: Apache Maven 3.0.5
Default Java1.8.0_212
shadedjarshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/6/artifact/out/branch-shadedjars.txt
shadedjarshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/6/artifact/out/patch-shadedjars.txt
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/6/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/6/testReport/
Max. process+thread count4453 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/6/console
Powered byApache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@apurtell

Copy link
Copy Markdown
ContributorAuthor

TestVisibilityLabelsWithACL failure is unrelated.

@apurtell

Copy link
Copy Markdown
ContributorAuthor

Thanks @z-york , merging now

@apurtell
apurtell merged commit 5a06739 into apache:branch-1Jun 26, 2019
@apurtell
apurtell deleted the HBASE-22627-branch-1 branch June 26, 2019 01:14
@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec1457Docker mode activated.
_ Prechecks _
0findbugs2Findbugs executables are not available.
+1hbaseanti0Patch does not have any anti-patterns.
+1@author0The patch does not contain any @author tags.
+1test4tests0The patch appears to include 6 new or modified test files.
_ branch-1 Compile Tests _
+1mvninstall124branch-1 passed
+1compile37branch-1 passed with JDK v1.8.0_212
+1compile42branch-1 passed with JDK v1.7.0_222
+1checkstyle82branch-1 passed
+1shadedjars157branch has no errors when building our shaded downstream artifacts.
+1javadoc29branch-1 passed with JDK v1.8.0_212
+1javadoc38branch-1 passed with JDK v1.7.0_222
_ Patch Compile Tests _
+1mvninstall100the patch passed
+1compile36the patch passed with JDK v1.8.0_212
+1javac36the patch passed
+1compile43the patch passed with JDK v1.7.0_222
+1javac43the patch passed
+1checkstyle92hbase-server: The patch generated 0 new + 819 unchanged - 3 fixed = 819 total (was 822)
+1whitespace0The patch has no whitespace issues.
+1shadedjars163patch has no errors when building our shaded downstream artifacts.
+1hadoopcheck238Patch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1javadoc28the patch passed with JDK v1.8.0_212
+1javadoc39the patch passed with JDK v1.7.0_222
_ Other Tests _
-1unit10514hbase-server in the patch failed.
+1asflicense19The patch does not generate ASF License warnings.
13437
ReasonTests
Failed junit testshadoop.hbase.replication.regionserver.TestRegionReplicaReplicationEndpoint
hadoop.hbase.client.TestAdmin2
SubsystemReport/Notes
DockerClient=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/5/artifact/out/Dockerfile
GITHUB PR#339
Optional Testsdupname asflicense javac javadoc unit findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 4589d8745e2a 4.4.0-137-generic #163-Ubuntu SMP Mon Sep 24 13:14:43 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/testptch/patchprocess/precommit/personality/provided.sh
git revisionbranch-1 / 5023690
mavenversion: Apache Maven 3.0.5
Default Java1.7.0_222
Multi-JDK versions/usr/lib/jvm/java-8-openjdk-amd64:1.8.0_212 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_222
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/5/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/5/testReport/
Max. process+thread count4109 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/5/console
Powered byApache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@Apache9

Copy link
Copy Markdown
Contributor

Latest patch drops the parts of the branch-2+ patch which automatically clean up the WAL dirs. To be conservative I worry about the potential impact to replication. We will still delete the wrong region dir upon open after replay. Only recovered edits files should have been written there.

It should be safe as you said, only recovered edits will be rewritten there, and replication will not read recovered edits.

asfgit pushed a commit that referenced this pull request Jun 26, 2019
…leaned up) to branch-1 (#339)
HBASE-22617 Recovered WAL directories not getting cleaned up (Duo Zhang)
Signed-off-by: Zach York <zyork@apache.org>
asfgit pushed a commit that referenced this pull request Jun 26, 2019
…leaned up) to branch-1 (#339)
HBASE-22617 Recovered WAL directories not getting cleaned up (Duo Zhang)
Signed-off-by: Zach York <zyork@apache.org>
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@apurtell@Apache-HBase@z-york@Apache9