Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Jun 26, 2019

Conversation

apurtell
Copy link
Contributor

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

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 27 Docker mode activated.
_ Prechecks _
0 findbugs 0 Findbugs executables are not available.
+1 hbaseanti 0 Patch does not have any anti-patterns.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 5 new or modified test files.
_ branch-1 Compile Tests _
+1 mvninstall 104 branch-1 passed
+1 compile 38 branch-1 passed with JDK v1.8.0_212
+1 compile 37 branch-1 passed with JDK v1.7.0_222
+1 checkstyle 78 branch-1 passed
+1 shadedjars 150 branch has no errors when building our shaded downstream artifacts.
+1 javadoc 30 branch-1 passed with JDK v1.8.0_212
+1 javadoc 36 branch-1 passed with JDK v1.7.0_222
_ Patch Compile Tests _
-1 mvninstall 63 root in the patch failed.
-1 compile 35 hbase-server in the patch failed with JDK v1.8.0_212.
-1 javac 35 hbase-server in the patch failed with JDK v1.8.0_212.
-1 compile 39 hbase-server in the patch failed with JDK v1.7.0_222.
-1 javac 39 hbase-server in the patch failed with JDK v1.7.0_222.
-1 checkstyle 78 hbase-server: The patch generated 1 new + 775 unchanged - 3 fixed = 776 total (was 778)
+1 whitespace 0 The patch has no whitespace issues.
-1 shadedjars 98 patch has 24 errors when building our shaded downstream artifacts.
-1 hadoopcheck 60 The patch causes 24 errors with Hadoop v2.8.5.
-1 hadoopcheck 119 The patch causes 24 errors with Hadoop v2.9.2.
-1 javadoc 28 hbase-server-jdk1.8.0_212 with JDK v1.8.0_212 generated 1 new + 3 unchanged - 0 fixed = 4 total (was 3)
-1 javadoc 38 hbase-server-jdk1.7.0_222 with JDK v1.7.0_222 generated 1 new + 3 unchanged - 0 fixed = 4 total (was 3)
_ Other Tests _
-1 unit 38 hbase-server in the patch failed.
+1 asflicense 12 The patch does not generate ASF License warnings.
1128
Subsystem Report/Notes
Docker Client=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 Tests dupname asflicense javac javadoc unit findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 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 tool maven
Personality /testptch/patchprocess/precommit/personality/provided.sh
git revision branch-1 / 5023690
maven version: Apache Maven 3.0.5
Default Java 1.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
mvninstall https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/2/artifact/out/patch-mvninstall-root.txt
compile https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/2/artifact/out/patch-compile-hbase-server-jdk1.8.0_212.txt
javac https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/2/artifact/out/patch-compile-hbase-server-jdk1.8.0_212.txt
compile https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/2/artifact/out/patch-compile-hbase-server-jdk1.7.0_222.txt
javac https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/2/artifact/out/patch-compile-hbase-server-jdk1.7.0_222.txt
checkstyle https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/2/artifact/out/diff-checkstyle-hbase-server.txt
shadedjars https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/2/artifact/out/patch-shadedjars.txt
hadoopcheck https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/2/artifact/out/patch-javac-2.8.5.txt
hadoopcheck https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/2/artifact/out/patch-javac-2.9.2.txt
javadoc https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/2/artifact/out/diff-javadoc-javadoc-hbase-server-jdk1.8.0_212.txt
javadoc https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/2/artifact/out/diff-javadoc-javadoc-hbase-server-jdk1.7.0_222.txt
unit https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/2/artifact/out/patch-unit-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/2/testReport/
Max. process+thread count 87 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/2/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 1143 Docker mode activated.
_ Prechecks _
0 findbugs 1 Findbugs executables are not available.
+1 hbaseanti 0 Patch does not have any anti-patterns.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 5 new or modified test files.
_ branch-1 Compile Tests _
+1 mvninstall 491 branch-1 passed
+1 compile 71 branch-1 passed with JDK v1.8.0_212
+1 compile 63 branch-1 passed with JDK v1.7.0_222
+1 checkstyle 95 branch-1 passed
+1 shadedjars 215 branch has no errors when building our shaded downstream artifacts.
+1 javadoc 56 branch-1 passed with JDK v1.8.0_212
+1 javadoc 59 branch-1 passed with JDK v1.7.0_222
_ Patch Compile Tests _
-1 mvninstall 109 root in the patch failed.
-1 compile 66 hbase-server in the patch failed with JDK v1.8.0_212.
-1 javac 66 hbase-server in the patch failed with JDK v1.8.0_212.
-1 compile 64 hbase-server in the patch failed with JDK v1.7.0_222.
-1 javac 64 hbase-server in the patch failed with JDK v1.7.0_222.
-1 checkstyle 92 hbase-server: The patch generated 1 new + 775 unchanged - 3 fixed = 776 total (was 778)
+1 whitespace 0 The patch has no whitespace issues.
-1 shadedjars 164 patch has 24 errors when building our shaded downstream artifacts.
-1 hadoopcheck 103 The patch causes 24 errors with Hadoop v2.8.5.
-1 hadoopcheck 201 The patch causes 24 errors with Hadoop v2.9.2.
-1 javadoc 54 hbase-server-jdk1.8.0_212 with JDK v1.8.0_212 generated 1 new + 3 unchanged - 0 fixed = 4 total (was 3)
-1 javadoc 60 hbase-server-jdk1.7.0_222 with JDK v1.7.0_222 generated 1 new + 3 unchanged - 0 fixed = 4 total (was 3)
_ Other Tests _
-1 unit 76 hbase-server in the patch failed.
+1 asflicense 18 The patch does not generate ASF License warnings.
3443
Subsystem Report/Notes
Docker Client=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 Tests dupname asflicense javac javadoc unit findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 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 tool maven
Personality /testptch/patchprocess/precommit/personality/provided.sh
git revision branch-1 / 5023690
maven version: Apache Maven 3.0.5
Default Java 1.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
mvninstall https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/1/artifact/out/patch-mvninstall-root.txt
compile https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/1/artifact/out/patch-compile-hbase-server-jdk1.8.0_212.txt
javac https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/1/artifact/out/patch-compile-hbase-server-jdk1.8.0_212.txt
compile https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/1/artifact/out/patch-compile-hbase-server-jdk1.7.0_222.txt
javac https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/1/artifact/out/patch-compile-hbase-server-jdk1.7.0_222.txt
checkstyle https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/1/artifact/out/diff-checkstyle-hbase-server.txt
shadedjars https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/1/artifact/out/patch-shadedjars.txt
hadoopcheck https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/1/artifact/out/patch-javac-2.8.5.txt
hadoopcheck https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/1/artifact/out/patch-javac-2.9.2.txt
javadoc https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/1/artifact/out/diff-javadoc-javadoc-hbase-server-jdk1.8.0_212.txt
javadoc https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/1/artifact/out/diff-javadoc-javadoc-hbase-server-jdk1.7.0_222.txt
unit https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/1/artifact/out/patch-unit-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/1/testReport/
Max. process+thread count 41 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/1/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@apurtell apurtell force-pushed the HBASE-22627-branch-1 branch 2 times, most recently from ae1d198 to fc7dc76 Compare June 25, 2019 18:30
@apurtell
Copy link
Contributor Author

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
Contributor

z-york commented Jun 25, 2019

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

@apurtell
Copy link
Contributor Author

apurtell commented Jun 25, 2019

@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.

@@ -640,19 +640,26 @@ Path commitDaughterRegion(final HRegionInfo regionInfo)
/**
* Create the region splits directory.
*/
void createSplitsDir() throws IOException {
void createSplitsDir(HRegionInfo daughterA, HRegionInfo daughterB) throws IOException {
Copy link
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
Contributor Author

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.

Copy link
Contributor Author

@apurtell apurtell Jun 25, 2019

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
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?

Copy link
Contributor Author

@apurtell apurtell Jun 25, 2019

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

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 27 Docker mode activated.
_ Prechecks _
0 findbugs 1 Findbugs executables are not available.
+1 hbaseanti 0 Patch does not have any anti-patterns.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 6 new or modified test files.
_ branch-1 Compile Tests _
+1 mvninstall 99 branch-1 passed
+1 compile 35 branch-1 passed with JDK v1.8.0_212
+1 compile 40 branch-1 passed with JDK v1.7.0_222
+1 checkstyle 80 branch-1 passed
+1 shadedjars 150 branch has no errors when building our shaded downstream artifacts.
+1 javadoc 29 branch-1 passed with JDK v1.8.0_212
+1 javadoc 37 branch-1 passed with JDK v1.7.0_222
_ Patch Compile Tests _
+1 mvninstall 99 the patch passed
+1 compile 37 the patch passed with JDK v1.8.0_212
+1 javac 37 the patch passed
+1 compile 41 the patch passed with JDK v1.7.0_222
+1 javac 41 the patch passed
-1 checkstyle 80 hbase-server: The patch generated 2 new + 819 unchanged - 3 fixed = 821 total (was 822)
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedjars 157 patch has no errors when building our shaded downstream artifacts.
+1 hadoopcheck 197 Patch does not cause any errors with Hadoop 2.8.5 2.9.2.
-1 javadoc 29 hbase-server-jdk1.8.0_212 with JDK v1.8.0_212 generated 1 new + 3 unchanged - 0 fixed = 4 total (was 3)
-1 javadoc 36 hbase-server-jdk1.7.0_222 with JDK v1.7.0_222 generated 1 new + 3 unchanged - 0 fixed = 4 total (was 3)
_ Other Tests _
-1 unit 6731 hbase-server in the patch failed.
+1 asflicense 21 The patch does not generate ASF License warnings.
8102
Reason Tests
Failed junit tests hadoop.hbase.replication.TestReplicationDroppedTables
Subsystem Report/Notes
Docker Client=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 Tests dupname asflicense javac javadoc unit findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 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 tool maven
Personality /testptch/patchprocess/precommit/personality/provided.sh
git revision branch-1 / 5023690
maven version: Apache Maven 3.0.5
Default Java 1.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
checkstyle https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/3/artifact/out/diff-checkstyle-hbase-server.txt
javadoc https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/3/artifact/out/diff-javadoc-javadoc-hbase-server-jdk1.8.0_212.txt
javadoc https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/3/artifact/out/diff-javadoc-javadoc-hbase-server-jdk1.7.0_222.txt
unit https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/3/artifact/out/patch-unit-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/3/testReport/
Max. process+thread count 4441 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/3/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@z-york
Copy link
Contributor

z-york commented Jun 25, 2019

+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

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 73 Docker mode activated.
_ Prechecks _
0 findbugs 0 Findbugs executables are not available.
+1 hbaseanti 0 Patch does not have any anti-patterns.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 6 new or modified test files.
_ branch-1 Compile Tests _
+1 mvninstall 150 branch-1 passed
+1 compile 38 branch-1 passed with JDK v1.8.0_212
+1 compile 44 branch-1 passed with JDK v1.7.0_222
+1 checkstyle 88 branch-1 passed
+1 shadedjars 167 branch has no errors when building our shaded downstream artifacts.
+1 javadoc 29 branch-1 passed with JDK v1.8.0_212
+1 javadoc 38 branch-1 passed with JDK v1.7.0_222
_ Patch Compile Tests _
+1 mvninstall 100 the patch passed
+1 compile 38 the patch passed with JDK v1.8.0_212
+1 javac 38 the patch passed
+1 compile 41 the patch passed with JDK v1.7.0_222
+1 javac 41 the patch passed
-1 checkstyle 89 hbase-server: The patch generated 1 new + 819 unchanged - 3 fixed = 820 total (was 822)
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedjars 164 patch has no errors when building our shaded downstream artifacts.
+1 hadoopcheck 207 Patch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1 javadoc 27 the patch passed with JDK v1.8.0_212
+1 javadoc 38 the patch passed with JDK v1.7.0_222
_ Other Tests _
-1 unit 8823 hbase-server in the patch failed.
+1 asflicense 26 The patch does not generate ASF License warnings.
10366
Reason Tests
Failed junit tests hadoop.hbase.client.TestAdmin1
Subsystem Report/Notes
Docker Client=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 Tests dupname asflicense javac javadoc unit findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 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 tool maven
Personality /testptch/patchprocess/precommit/personality/provided.sh
git revision branch-1 / 5023690
maven version: Apache Maven 3.0.5
Default Java 1.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
checkstyle https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/4/artifact/out/diff-checkstyle-hbase-server.txt
unit https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/4/artifact/out/patch-unit-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/4/testReport/
Max. process+thread count 4559 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/4/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@apurtell
Copy link
Contributor Author

apurtell commented Jun 25, 2019

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.

…leaned up) to branch-1

HBASE-22617 Recovered WAL directories not getting cleaned up (Duo Zhang)
@apurtell
Copy link
Contributor Author

apurtell commented Jun 25, 2019

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

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 83 Docker mode activated.
_ Prechecks _
0 findbugs 0 Findbugs executables are not available.
+1 hbaseanti 0 Patch does not have any anti-patterns.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 6 new or modified test files.
_ branch-1 Compile Tests _
+1 mvninstall 140 branch-1 passed
+1 compile 39 branch-1 passed
+1 checkstyle 90 branch-1 passed
-1 shadedjars 11 branch has 10 errors when building our shaded downstream artifacts.
+1 javadoc 33 branch-1 passed
_ Patch Compile Tests _
+1 mvninstall 95 the patch passed
+1 compile 37 the patch passed
+1 javac 37 the patch passed
+1 checkstyle 88 hbase-server: The patch generated 0 new + 788 unchanged - 3 fixed = 788 total (was 791)
+1 whitespace 0 The patch has no whitespace issues.
-1 shadedjars 11 patch has 10 errors when building our shaded downstream artifacts.
+1 hadoopcheck 192 Patch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1 javadoc 29 the patch passed
_ Other Tests _
-1 unit 8214 hbase-server in the patch failed.
+1 asflicense 23 The patch does not generate ASF License warnings.
9249
Reason Tests
Failed junit tests hadoop.hbase.security.visibility.TestVisibilityLabelsWithACL
Subsystem Report/Notes
Docker Client=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 Tests dupname asflicense javac javadoc unit findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 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 tool maven
Personality /testptch/patchprocess/precommit/personality/provided.sh
git revision branch-1 / 5023690
maven version: Apache Maven 3.0.5
Default Java 1.8.0_212
shadedjars https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/6/artifact/out/branch-shadedjars.txt
shadedjars https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/6/artifact/out/patch-shadedjars.txt
unit https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/6/artifact/out/patch-unit-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/6/testReport/
Max. process+thread count 4453 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/6/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@apurtell
Copy link
Contributor Author

TestVisibilityLabelsWithACL failure is unrelated.

@apurtell
Copy link
Contributor Author

Thanks @z-york , merging now

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

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 1457 Docker mode activated.
_ Prechecks _
0 findbugs 2 Findbugs executables are not available.
+1 hbaseanti 0 Patch does not have any anti-patterns.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 6 new or modified test files.
_ branch-1 Compile Tests _
+1 mvninstall 124 branch-1 passed
+1 compile 37 branch-1 passed with JDK v1.8.0_212
+1 compile 42 branch-1 passed with JDK v1.7.0_222
+1 checkstyle 82 branch-1 passed
+1 shadedjars 157 branch has no errors when building our shaded downstream artifacts.
+1 javadoc 29 branch-1 passed with JDK v1.8.0_212
+1 javadoc 38 branch-1 passed with JDK v1.7.0_222
_ Patch Compile Tests _
+1 mvninstall 100 the patch passed
+1 compile 36 the patch passed with JDK v1.8.0_212
+1 javac 36 the patch passed
+1 compile 43 the patch passed with JDK v1.7.0_222
+1 javac 43 the patch passed
+1 checkstyle 92 hbase-server: The patch generated 0 new + 819 unchanged - 3 fixed = 819 total (was 822)
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedjars 163 patch has no errors when building our shaded downstream artifacts.
+1 hadoopcheck 238 Patch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1 javadoc 28 the patch passed with JDK v1.8.0_212
+1 javadoc 39 the patch passed with JDK v1.7.0_222
_ Other Tests _
-1 unit 10514 hbase-server in the patch failed.
+1 asflicense 19 The patch does not generate ASF License warnings.
13437
Reason Tests
Failed junit tests hadoop.hbase.replication.regionserver.TestRegionReplicaReplicationEndpoint
hadoop.hbase.client.TestAdmin2
Subsystem Report/Notes
Docker Client=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 Tests dupname asflicense javac javadoc unit findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 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 tool maven
Personality /testptch/patchprocess/precommit/personality/provided.sh
git revision branch-1 / 5023690
maven version: Apache Maven 3.0.5
Default Java 1.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
unit https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/5/artifact/out/patch-unit-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/5/testReport/
Max. process+thread count 4109 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-339/5/console
Powered by Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@Apache9
Copy link
Contributor

Apache9 commented Jun 26, 2019

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 free to 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