Skip to content

HBASE-22890 Verify the files when RegionServer is starting and BucketCache is in file mode - #528

Merged
Reidddddd merged 5 commits into
apache:branch-1from
ZhaoBQ:HBASE-22890
Sep 16, 2019
Merged

HBASE-22890 Verify the files when RegionServer is starting and BucketCache is in file mode#528
Reidddddd merged 5 commits into
apache:branch-1from
ZhaoBQ:HBASE-22890

Conversation

@ZhaoBQ

Copy link
Copy Markdown
Contributor

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec54Docker mode activated.
_ Prechecks _
+1dupname0No case conflicting files found.
+1hbaseanti0Patch does not have any anti-patterns.
+1@author0The patch does not contain any @author tags.
+1test4tests0The patch appears to include 1 new or modified test files.
_ branch-1 Compile Tests _
+1mvninstall520branch-1 passed
+1compile47branch-1 passed with JDK v1.8.0_222
+1compile45branch-1 passed with JDK v1.7.0_232
+1checkstyle95branch-1 passed
+1shadedjars185branch has no errors when building our shaded downstream artifacts.
+1javadoc40branch-1 passed with JDK v1.8.0_222
+1javadoc43branch-1 passed with JDK v1.7.0_232
0spotbugs181Used deprecated FindBugs config; considering switching to SpotBugs.
+1findbugs177branch-1 passed
_ Patch Compile Tests _
+1mvninstall135the patch passed
+1compile42the patch passed with JDK v1.8.0_222
+1javac42the patch passed
+1compile47the patch passed with JDK v1.7.0_232
+1javac47the patch passed
-1checkstyle101hbase-server: The patch generated 125 new + 45 unchanged - 0 fixed = 170 total (was 45)
+1whitespace0The patch has no whitespace issues.
-1shadedjars134patch has 10 errors when building our shaded downstream artifacts.
+1hadoopcheck333Patch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1javadoc32the patch passed with JDK v1.8.0_222
+1javadoc42the patch passed with JDK v1.7.0_232
+1findbugs182the patch passed
_ Other Tests _
+1unit6988hbase-server in the patch passed.
-1asflicense25The patch generated 1 ASF License warnings.
9516
SubsystemReport/Notes
DockerClient=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/1/artifact/out/Dockerfile
GITHUB PR#528
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 902fe2e10f3a 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/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-528/out/precommit/personality/provided.sh
git revisionbranch-1 / bb87e3a
Default Java1.7.0_232
Multi-JDK versions/usr/lib/jvm/java-8-openjdk-amd64:1.8.0_222 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_232
checkstylehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/1/artifact/out/diff-checkstyle-hbase-server.txt
shadedjarshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/1/artifact/out/patch-shadedjars.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/1/testReport/
asflicensehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/1/artifact/out/patch-asflicense-problems.txt
Max. process+thread count4529 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/1/console
versionsgit=1.9.1 maven=3.0.5 findbugs=3.0.1
Powered byApache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec44Docker mode activated.
_ Prechecks _
+1dupname0No case conflicting files found.
+1hbaseanti0Patch does not have any anti-patterns.
+1@author0The patch does not contain any @author tags.
+1test4tests0The patch appears to include 1 new or modified test files.
_ branch-1 Compile Tests _
+1mvninstall500branch-1 passed
+1compile39branch-1 passed with JDK v1.8.0_222
+1compile43branch-1 passed with JDK v1.7.0_232
+1checkstyle89branch-1 passed
+1shadedjars174branch has no errors when building our shaded downstream artifacts.
+1javadoc37branch-1 passed with JDK v1.8.0_222
+1javadoc40branch-1 passed with JDK v1.7.0_232
0spotbugs177Used deprecated FindBugs config; considering switching to SpotBugs.
+1findbugs174branch-1 passed
_ Patch Compile Tests _
+1mvninstall132the patch passed
+1compile46the patch passed with JDK v1.8.0_222
+1javac46the patch passed
+1compile43the patch passed with JDK v1.7.0_232
+1javac43the patch passed
-1checkstyle87hbase-server: The patch generated 18 new + 45 unchanged - 0 fixed = 63 total (was 45)
+1whitespace0The patch has no whitespace issues.
-1shadedjars121patch has 10 errors when building our shaded downstream artifacts.
+1hadoopcheck309Patch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1javadoc28the patch passed with JDK v1.8.0_222
+1javadoc41the patch passed with JDK v1.7.0_232
+1findbugs177the patch passed
_ Other Tests _
-1unit1864hbase-server in the patch failed.
-1asflicense19The patch generated 1 ASF License warnings.
4241
ReasonTests
Failed junit testshadoop.hbase.http.log.TestLogLevel
SubsystemReport/Notes
DockerClient=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/2/artifact/out/Dockerfile
GITHUB PR#528
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux dd7edcac59a9 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/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-528@2/out/precommit/personality/provided.sh
git revisionbranch-1 / bb87e3a
Default Java1.7.0_232
Multi-JDK versions/usr/lib/jvm/java-8-openjdk-amd64:1.8.0_222 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_232
checkstylehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/2/artifact/out/diff-checkstyle-hbase-server.txt
shadedjarshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/2/artifact/out/patch-shadedjars.txt
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/2/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/2/testReport/
asflicensehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/2/artifact/out/patch-asflicense-problems.txt
Max. process+thread count728 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/2/console
versionsgit=1.9.1 maven=3.0.5 findbugs=3.0.1
Powered byApache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@ZhaoBQZhaoBQ changed the title HBASE 22890 Verify the files when RegionServer is starting and BucketCache is in file modeHBASE-22890 Verify the files when RegionServer is starting and BucketCache is in file modeAug 23, 2019
@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec56Docker mode activated.
_ Prechecks _
+1dupname0No case conflicting files found.
+1hbaseanti0Patch does not have any anti-patterns.
+1@author0The patch does not contain any @author tags.
+1test4tests0The patch appears to include 1 new or modified test files.
_ branch-1 Compile Tests _
+1mvninstall510branch-1 passed
+1compile38branch-1 passed with JDK v1.8.0_222
+1compile42branch-1 passed with JDK v1.7.0_232
+1checkstyle91branch-1 passed
+1shadedjars174branch has no errors when building our shaded downstream artifacts.
+1javadoc36branch-1 passed with JDK v1.8.0_222
+1javadoc39branch-1 passed with JDK v1.7.0_232
0spotbugs169Used deprecated FindBugs config; considering switching to SpotBugs.
+1findbugs166branch-1 passed
_ Patch Compile Tests _
+1mvninstall119the patch passed
+1compile38the patch passed with JDK v1.8.0_222
+1javac38the patch passed
+1compile43the patch passed with JDK v1.7.0_232
+1javac43the patch passed
-1checkstyle88hbase-server: The patch generated 13 new + 45 unchanged - 0 fixed = 58 total (was 45)
+1whitespace0The patch has no whitespace issues.
+1shadedjars167patch has no errors when building our shaded downstream artifacts.
+1hadoopcheck298Patch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1javadoc28the patch passed with JDK v1.8.0_222
+1javadoc39the patch passed with JDK v1.7.0_232
+1findbugs165the patch passed
_ Other Tests _
+1unit6816hbase-server in the patch passed.
+1asflicense25The patch does not generate ASF License warnings.
9209
SubsystemReport/Notes
DockerClient=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/3/artifact/out/Dockerfile
GITHUB PR#528
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux f07360850fc5 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-528/out/precommit/personality/provided.sh
git revisionbranch-1 / bb87e3a
Default Java1.7.0_232
Multi-JDK versions/usr/lib/jvm/java-8-openjdk-amd64:1.8.0_222 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_232
checkstylehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/3/artifact/out/diff-checkstyle-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/3/testReport/
Max. process+thread count4644 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/3/console
versionsgit=1.9.1 maven=3.0.5 findbugs=3.0.1
Powered byApache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec78Docker mode activated.
_ Prechecks _
+1dupname0No case conflicting files found.
+1hbaseanti0Patch does not have any anti-patterns.
+1@author0The patch does not contain any @author tags.
+1test4tests0The patch appears to include 1 new or modified test files.
_ branch-1 Compile Tests _
+1mvninstall539branch-1 passed
+1compile49branch-1 passed with JDK v1.8.0_222
+1compile50branch-1 passed with JDK v1.7.0_232
+1checkstyle107branch-1 passed
+1shadedjars206branch has no errors when building our shaded downstream artifacts.
+1javadoc51branch-1 passed with JDK v1.8.0_222
+1javadoc48branch-1 passed with JDK v1.7.0_232
0spotbugs207Used deprecated FindBugs config; considering switching to SpotBugs.
+1findbugs204branch-1 passed
_ Patch Compile Tests _
+1mvninstall149the patch passed
+1compile47the patch passed with JDK v1.8.0_222
+1javac47the patch passed
+1compile49the patch passed with JDK v1.7.0_232
+1javac49the patch passed
-1checkstyle94hbase-server: The patch generated 9 new + 45 unchanged - 0 fixed = 54 total (was 45)
+1whitespace0The patch has no whitespace issues.
+1shadedjars202patch has no errors when building our shaded downstream artifacts.
+1hadoopcheck365Patch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1javadoc40the patch passed with JDK v1.8.0_222
+1javadoc50the patch passed with JDK v1.7.0_232
+1findbugs194the patch passed
_ Other Tests _
-1unit10763hbase-server in the patch failed.
+1asflicense26The patch does not generate ASF License warnings.
13564
ReasonTests
Failed junit testshadoop.hbase.regionserver.TestRegionServerHostname
hadoop.hbase.client.replication.TestReplicationAdminWithClusters
hadoop.hbase.master.cleaner.TestHFileCleaner
SubsystemReport/Notes
DockerClient=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/4/artifact/out/Dockerfile
GITHUB PR#528
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 546b410190ec 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/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-528/out/precommit/personality/provided.sh
git revisionbranch-1 / bb87e3a
Default Java1.7.0_232
Multi-JDK versions/usr/lib/jvm/java-8-openjdk-amd64:1.8.0_222 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_232
checkstylehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/4/artifact/out/diff-checkstyle-hbase-server.txt
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/4/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/4/testReport/
Max. process+thread count4195 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/4/console
versionsgit=1.9.1 maven=3.0.5 findbugs=3.0.1
Powered byApache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec42Docker mode activated.
_ Prechecks _
+1dupname0No case conflicting files found.
+1hbaseanti0Patch does not have any anti-patterns.
+1@author0The patch does not contain any @author tags.
+1test4tests0The patch appears to include 1 new or modified test files.
_ branch-1 Compile Tests _
+1mvninstall488branch-1 passed
+1compile46branch-1 passed
+1checkstyle106branch-1 passed
-1shadedjars14branch has 10 errors when building our shaded downstream artifacts.
+1javadoc40branch-1 passed
0spotbugs158Used deprecated FindBugs config; considering switching to SpotBugs.
+1findbugs154branch-1 passed
_ Patch Compile Tests _
+1mvninstall122the patch passed
+1compile44the patch passed
+1javac44the patch passed
-1checkstyle110hbase-server: The patch generated 9 new + 45 unchanged - 0 fixed = 54 total (was 45)
+1whitespace0The patch has no whitespace issues.
-1shadedjars14patch has 10 errors when building our shaded downstream artifacts.
+1hadoopcheck304Patch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1javadoc38the patch passed
+1findbugs156the patch passed
_ Other Tests _
-1unit7338hbase-server in the patch failed.
+1asflicense29The patch does not generate ASF License warnings.
9242
ReasonTests
Failed junit testshadoop.hbase.master.TestMasterMetrics
SubsystemReport/Notes
DockerClient=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/5/artifact/out/Dockerfile
GITHUB PR#528
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 4472991ec97d 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-528/out/precommit/personality/provided.sh
git revisionbranch-1 / 3b07221
Default Java1.8.0_222
shadedjarshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/5/artifact/out/branch-shadedjars.txt
checkstylehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/5/artifact/out/diff-checkstyle-hbase-server.txt
shadedjarshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/5/artifact/out/patch-shadedjars.txt
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/5/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/5/testReport/
Max. process+thread count4098 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/5/console
versionsgit=1.9.1 maven=3.0.5 findbugs=3.1.0-RC1
Powered byApache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec46Docker mode activated.
_ Prechecks _
+1dupname0No case conflicting files found.
+1hbaseanti0Patch does not have any anti-patterns.
+1@author0The patch does not contain any @author tags.
+1test4tests0The patch appears to include 1 new or modified test files.
_ branch-1 Compile Tests _
+1mvninstall505branch-1 passed
+1compile37branch-1 passed with JDK v1.8.0_222
+1compile41branch-1 passed with JDK v1.7.0_232
+1checkstyle89branch-1 passed
+1shadedjars169branch has no errors when building our shaded downstream artifacts.
+1javadoc38branch-1 passed with JDK v1.8.0_222
+1javadoc39branch-1 passed with JDK v1.7.0_232
0spotbugs169Used deprecated FindBugs config; considering switching to SpotBugs.
+1findbugs166branch-1 passed
_ Patch Compile Tests _
+1mvninstall118the patch passed
+1compile36the patch passed with JDK v1.8.0_222
+1javac36the patch passed
+1compile41the patch passed with JDK v1.7.0_232
+1javac41the patch passed
-1checkstyle83hbase-server: The patch generated 9 new + 45 unchanged - 0 fixed = 54 total (was 45)
+1whitespace0The patch has no whitespace issues.
+1shadedjars167patch has no errors when building our shaded downstream artifacts.
+1hadoopcheck293Patch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1javadoc28the patch passed with JDK v1.8.0_222
+1javadoc38the patch passed with JDK v1.7.0_232
+1findbugs167the patch passed
_ Other Tests _
+1unit7217hbase-server in the patch passed.
+1asflicense38The patch does not generate ASF License warnings.
9567
SubsystemReport/Notes
DockerClient=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/6/artifact/out/Dockerfile
GITHUB PR#528
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux c72fa3650019 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/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-528/out/precommit/personality/provided.sh
git revisionbranch-1 / eba383d
Default Java1.7.0_232
Multi-JDK versions/usr/lib/jvm/java-8-openjdk-amd64:1.8.0_222 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_232
checkstylehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/6/artifact/out/diff-checkstyle-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/6/testReport/
Max. process+thread count4531 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/6/console
versionsgit=1.9.1 maven=3.0.5 findbugs=3.0.1
Powered byApache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec53Docker mode activated.
_ Prechecks _
+1dupname0No case conflicting files found.
+1hbaseanti0Patch does not have any anti-patterns.
+1@author0The patch does not contain any @author tags.
+1test4tests0The patch appears to include 1 new or modified test files.
_ branch-1 Compile Tests _
+1mvninstall507branch-1 passed
+1compile40branch-1 passed with JDK v1.8.0_222
+1compile44branch-1 passed with JDK v1.7.0_232
+1checkstyle90branch-1 passed
+1shadedjars181branch has no errors when building our shaded downstream artifacts.
+1javadoc36branch-1 passed with JDK v1.8.0_222
+1javadoc40branch-1 passed with JDK v1.7.0_232
0spotbugs178Used deprecated FindBugs config; considering switching to SpotBugs.
+1findbugs175branch-1 passed
_ Patch Compile Tests _
+1mvninstall124the patch passed
+1compile41the patch passed with JDK v1.8.0_222
+1javac41the patch passed
+1compile45the patch passed with JDK v1.7.0_232
+1javac45the patch passed
-1checkstyle87hbase-server: The patch generated 9 new + 45 unchanged - 0 fixed = 54 total (was 45)
+1whitespace0The patch has no whitespace issues.
+1shadedjars173patch has no errors when building our shaded downstream artifacts.
+1hadoopcheck305Patch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1javadoc30the patch passed with JDK v1.8.0_222
+1javadoc40the patch passed with JDK v1.7.0_232
+1findbugs179the patch passed
_ Other Tests _
+1unit6977hbase-server in the patch passed.
+1asflicense31The patch does not generate ASF License warnings.
9421
SubsystemReport/Notes
DockerClient=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/8/artifact/out/Dockerfile
GITHUB PR#528
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 690458557f14 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-528/out/precommit/personality/provided.sh
git revisionbranch-1 / 8961315
Default Java1.7.0_232
Multi-JDK versions/usr/lib/jvm/java-8-openjdk-amd64:1.8.0_222 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_232
checkstylehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/8/artifact/out/diff-checkstyle-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/8/testReport/
Max. process+thread count3974 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/8/console
versionsgit=1.9.1 maven=3.0.5 findbugs=3.0.1
Powered byApache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec47Docker mode activated.
_ Prechecks _
+1dupname0No case conflicting files found.
+1hbaseanti0Patch does not have any anti-patterns.
+1@author0The patch does not contain any @author tags.
+1test4tests0The patch appears to include 1 new or modified test files.
_ branch-1 Compile Tests _
+1mvninstall507branch-1 passed
+1compile43branch-1 passed with JDK v1.8.0_222
+1compile47branch-1 passed with JDK v1.7.0_232
+1checkstyle93branch-1 passed
+1shadedjars181branch has no errors when building our shaded downstream artifacts.
+1javadoc38branch-1 passed with JDK v1.8.0_222
+1javadoc38branch-1 passed with JDK v1.7.0_232
0spotbugs183Used deprecated FindBugs config; considering switching to SpotBugs.
+1findbugs179branch-1 passed
_ Patch Compile Tests _
+1mvninstall127the patch passed
+1compile44the patch passed with JDK v1.8.0_222
+1javac44the patch passed
+1compile45the patch passed with JDK v1.7.0_232
+1javac45the patch passed
-1checkstyle88hbase-server: The patch generated 9 new + 45 unchanged - 0 fixed = 54 total (was 45)
+1whitespace0The patch has no whitespace issues.
+1shadedjars178patch has no errors when building our shaded downstream artifacts.
+1hadoopcheck318Patch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1javadoc33the patch passed with JDK v1.8.0_222
+1javadoc42the patch passed with JDK v1.7.0_232
+1findbugs182the patch passed
_ Other Tests _
-1unit6863hbase-server in the patch failed.
+1asflicense24The patch does not generate ASF License warnings.
9340
ReasonTests
Failed junit testshadoop.hbase.master.procedure.TestModifyNamespaceProcedure
SubsystemReport/Notes
DockerClient=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/9/artifact/out/Dockerfile
GITHUB PR#528
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux d9cb1cf1076a 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/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-528/out/precommit/personality/provided.sh
git revisionbranch-1 / 9ae12f5
Default Java1.7.0_232
Multi-JDK versions/usr/lib/jvm/java-8-openjdk-amd64:1.8.0_222 /usr/lib/jvm/java-7-openjdk-amd64:1.7.0_232
checkstylehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/9/artifact/out/diff-checkstyle-hbase-server.txt
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/9/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/9/testReport/
Max. process+thread count3938 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/9/console
versionsgit=1.9.1 maven=3.0.5 findbugs=3.0.1
Powered byApache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec48Docker mode activated.
_ Prechecks _
+1dupname0No case conflicting files found.
+1hbaseanti0Patch does not have any anti-patterns.
+1@author0The patch does not contain any @author tags.
+1test4tests0The patch appears to include 1 new or modified test files.
_ branch-1 Compile Tests _
+1mvninstall489branch-1 passed
+1compile41branch-1 passed
+1checkstyle108branch-1 passed
-1shadedjars13branch has 10 errors when building our shaded downstream artifacts.
+1javadoc40branch-1 passed
0spotbugs151Used deprecated FindBugs config; considering switching to SpotBugs.
+1findbugs149branch-1 passed
_ Patch Compile Tests _
+1mvninstall122the patch passed
+1compile48the patch passed
+1javac48the patch passed
-1checkstyle113hbase-server: The patch generated 9 new + 45 unchanged - 0 fixed = 54 total (was 45)
+1whitespace0The patch has no whitespace issues.
-1shadedjars11patch has 10 errors when building our shaded downstream artifacts.
+1hadoopcheck298Patch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1javadoc33the patch passed
+1findbugs148the patch passed
_ Other Tests _
+1unit6879hbase-server in the patch passed.
+1asflicense25The patch does not generate ASF License warnings.
8766
SubsystemReport/Notes
DockerClient=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/10/artifact/out/Dockerfile
GITHUB PR#528
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux bc06bad82366 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-528/out/precommit/personality/provided.sh
git revisionbranch-1 / 9ae12f5
Default Java1.8.0_222
shadedjarshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/10/artifact/out/branch-shadedjars.txt
checkstylehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/10/artifact/out/diff-checkstyle-hbase-server.txt
shadedjarshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/10/artifact/out/patch-shadedjars.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/10/testReport/
Max. process+thread count4175 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/10/console
versionsgit=1.9.1 maven=3.0.5 findbugs=3.1.0-RC1
Powered byApache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec1569Docker mode activated.
_ Prechecks _
+1dupname0No case conflicting files found.
+1hbaseanti0Patch does not have any anti-patterns.
+1@author0The patch does not contain any @author tags.
+1test4tests0The patch appears to include 1 new or modified test files.
_ branch-1 Compile Tests _
+1mvninstall512branch-1 passed
+1compile48branch-1 passed
+1checkstyle102branch-1 passed
-1shadedjars15branch has 10 errors when building our shaded downstream artifacts.
+1javadoc43branch-1 passed
0spotbugs165Used deprecated FindBugs config; considering switching to SpotBugs.
+1findbugs161branch-1 passed
_ Patch Compile Tests _
+1mvninstall133the patch passed
+1compile50the patch passed
+1javac50the patch passed
-1checkstyle96hbase-server: The patch generated 7 new + 45 unchanged - 0 fixed = 52 total (was 45)
+1whitespace0The patch has no whitespace issues.
-1shadedjars16patch has 10 errors when building our shaded downstream artifacts.
+1hadoopcheck314Patch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1javadoc38the patch passed
+1findbugs153the patch passed
_ Other Tests _
-1unit9075hbase-server in the patch failed.
+1asflicense34The patch does not generate ASF License warnings.
12572
ReasonTests
Failed junit testshadoop.hbase.procedure.TestFailedProcCleanup
SubsystemReport/Notes
DockerClient=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/11/artifact/out/Dockerfile
GITHUB PR#528
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 09da945cfdb5 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/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-528/out/precommit/personality/provided.sh
git revisionbranch-1 / 9ae12f5
Default Java1.8.0_222
shadedjarshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/11/artifact/out/branch-shadedjars.txt
checkstylehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/11/artifact/out/diff-checkstyle-hbase-server.txt
shadedjarshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/11/artifact/out/patch-shadedjars.txt
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/11/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/11/testReport/
Max. process+thread count4435 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/11/console
versionsgit=1.9.1 maven=3.0.5 findbugs=3.1.0-RC1
Powered byApache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec39Docker mode activated.
_ Prechecks _
+1dupname0No case conflicting files found.
+1hbaseanti0Patch does not have any anti-patterns.
+1@author0The patch does not contain any @author tags.
+1test4tests0The patch appears to include 1 new or modified test files.
_ branch-1 Compile Tests _
+1mvninstall513branch-1 passed
+1compile45branch-1 passed
+1checkstyle105branch-1 passed
-1shadedjars14branch has 10 errors when building our shaded downstream artifacts.
+1javadoc41branch-1 passed
0spotbugs155Used deprecated FindBugs config; considering switching to SpotBugs.
+1findbugs153branch-1 passed
_ Patch Compile Tests _
+1mvninstall118the patch passed
+1compile42the patch passed
+1javac42the patch passed
-1checkstyle103hbase-server: The patch generated 7 new + 45 unchanged - 0 fixed = 52 total (was 45)
+1whitespace0The patch has no whitespace issues.
-1shadedjars11patch has 10 errors when building our shaded downstream artifacts.
+1hadoopcheck292Patch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1javadoc37the patch passed
+1findbugs167the patch passed
_ Other Tests _
+1unit6930hbase-server in the patch passed.
+1asflicense29The patch does not generate ASF License warnings.
8839
SubsystemReport/Notes
DockerClient=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/12/artifact/out/Dockerfile
GITHUB PR#528
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux f092c8b308f1 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-528/out/precommit/personality/provided.sh
git revisionbranch-1 / f240ca0
Default Java1.8.0_222
shadedjarshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/12/artifact/out/branch-shadedjars.txt
checkstylehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/12/artifact/out/diff-checkstyle-hbase-server.txt
shadedjarshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/12/artifact/out/patch-shadedjars.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/12/testReport/
Max. process+thread count3950 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/12/console
versionsgit=1.9.1 maven=3.0.5 findbugs=3.1.0-RC1
Powered byApache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec84Docker mode activated.
_ Prechecks _
+1dupname0No case conflicting files found.
+1hbaseanti0Patch does not have any anti-patterns.
+1@author0The patch does not contain any @author tags.
+1test4tests0The patch appears to include 1 new or modified test files.
_ branch-1 Compile Tests _
+1mvninstall486branch-1 passed
+1compile45branch-1 passed
+1checkstyle105branch-1 passed
-1shadedjars14branch has 10 errors when building our shaded downstream artifacts.
+1javadoc43branch-1 passed
0spotbugs166Used deprecated FindBugs config; considering switching to SpotBugs.
+1findbugs163branch-1 passed
_ Patch Compile Tests _
+1mvninstall130the patch passed
+1compile49the patch passed
+1javac49the patch passed
-1checkstyle111hbase-server: The patch generated 10 new + 51 unchanged - 0 fixed = 61 total (was 51)
+1whitespace0The patch has no whitespace issues.
-1shadedjars12patch has 10 errors when building our shaded downstream artifacts.
+1hadoopcheck302Patch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1javadoc35the patch passed
-1findbugs151hbase-server generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
_ Other Tests _
-1unit1700hbase-server in the patch failed.
-1asflicense18The patch generated 1 ASF License warnings.
3665
ReasonTests
FindBugsmodule:hbase-server
Write to static field org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.ALGORITHNAME from instance method new org.apache.hadoop.hbase.io.hfile.bucket.BucketCache(String, long, int, int[], int, int, String, int, Configuration) At BucketCache.java:from instance method new org.apache.hadoop.hbase.io.hfile.bucket.BucketCache(String, long, int, int[], int, int, String, int, Configuration) At BucketCache.java:[line 297]
Failed junit testshadoop.hbase.io.hfile.bucket.TestVerifyBucketCacheFile
hadoop.hbase.io.hfile.bucket.TestBucketCache
SubsystemReport/Notes
DockerClient=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/14/artifact/out/Dockerfile
GITHUB PR#528
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 8551c8bf0381 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-528/out/precommit/personality/provided.sh
git revisionbranch-1 / 3d22604
Default Java1.8.0_222
shadedjarshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/14/artifact/out/branch-shadedjars.txt
checkstylehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/14/artifact/out/diff-checkstyle-hbase-server.txt
shadedjarshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/14/artifact/out/patch-shadedjars.txt
findbugshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/14/artifact/out/new-findbugs-hbase-server.html
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/14/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/14/testReport/
asflicensehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/14/artifact/out/patch-asflicense-problems.txt
Max. process+thread count735 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/14/console
versionsgit=1.9.1 maven=3.0.5 findbugs=3.1.0-RC1
Powered byApache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec47Docker mode activated.
_ Prechecks _
+1dupname0No case conflicting files found.
+1hbaseanti0Patch does not have any anti-patterns.
+1@author0The patch does not contain any @author tags.
+1test4tests0The patch appears to include 1 new or modified test files.
_ branch-1 Compile Tests _
+1mvninstall490branch-1 passed
+1compile41branch-1 passed
+1checkstyle101branch-1 passed
-1shadedjars13branch has 10 errors when building our shaded downstream artifacts.
+1javadoc40branch-1 passed
0spotbugs148Used deprecated FindBugs config; considering switching to SpotBugs.
+1findbugs146branch-1 passed
_ Patch Compile Tests _
+1mvninstall107the patch passed
+1compile39the patch passed
+1javac39the patch passed
-1checkstyle88hbase-server: The patch generated 10 new + 51 unchanged - 0 fixed = 61 total (was 51)
+1whitespace0The patch has no whitespace issues.
-1shadedjars12patch has 10 errors when building our shaded downstream artifacts.
+1hadoopcheck275Patch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1javadoc30the patch passed
-1findbugs134hbase-server generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
_ Other Tests _
-1unit1629hbase-server in the patch failed.
-1asflicense20The patch generated 1 ASF License warnings.
3402
ReasonTests
FindBugsmodule:hbase-server
Write to static field org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.ALGORITHNAME from instance method new org.apache.hadoop.hbase.io.hfile.bucket.BucketCache(String, long, int, int[], int, int, String, int, Configuration) At BucketCache.java:from instance method new org.apache.hadoop.hbase.io.hfile.bucket.BucketCache(String, long, int, int[], int, int, String, int, Configuration) At BucketCache.java:[line 297]
Failed junit testshadoop.hbase.io.hfile.bucket.TestVerifyBucketCacheFile
hadoop.hbase.client.TestClientClusterStatus
hadoop.hbase.io.hfile.bucket.TestBucketCache
SubsystemReport/Notes
DockerClient=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/15/artifact/out/Dockerfile
GITHUB PR#528
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 2d6af0e71c7b 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-528/out/precommit/personality/provided.sh
git revisionbranch-1 / 30ab723
Default Java1.8.0_222
shadedjarshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/15/artifact/out/branch-shadedjars.txt
checkstylehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/15/artifact/out/diff-checkstyle-hbase-server.txt
shadedjarshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/15/artifact/out/patch-shadedjars.txt
findbugshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/15/artifact/out/new-findbugs-hbase-server.html
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/15/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/15/testReport/
asflicensehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/15/artifact/out/patch-asflicense-problems.txt
Max. process+thread count781 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/15/console
versionsgit=1.9.1 maven=3.0.5 findbugs=3.1.0-RC1
Powered byApache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec66Docker mode activated.
_ Prechecks _
+1dupname0No case conflicting files found.
+1hbaseanti0Patch does not have any anti-patterns.
+1@author0The patch does not contain any @author tags.
+1test4tests0The patch appears to include 1 new or modified test files.
_ branch-1 Compile Tests _
+1mvninstall512branch-1 passed
+1compile53branch-1 passed
+1checkstyle127branch-1 passed
-1shadedjars15branch has 10 errors when building our shaded downstream artifacts.
+1javadoc44branch-1 passed
0spotbugs181Used deprecated FindBugs config; considering switching to SpotBugs.
+1findbugs178branch-1 passed
_ Patch Compile Tests _
+1mvninstall136the patch passed
+1compile47the patch passed
+1javac47the patch passed
-1checkstyle114hbase-server: The patch generated 10 new + 51 unchanged - 0 fixed = 61 total (was 51)
+1whitespace0The patch has no whitespace issues.
-1shadedjars14patch has 10 errors when building our shaded downstream artifacts.
+1hadoopcheck345Patch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1javadoc35the patch passed
-1findbugs179hbase-server generated 1 new + 0 unchanged - 0 fixed = 1 total (was 0)
_ Other Tests _
-1unit1848hbase-server in the patch failed.
-1asflicense20The patch generated 1 ASF License warnings.
3976
ReasonTests
FindBugsmodule:hbase-server
Write to static field org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.ALGORITHNAME from instance method new org.apache.hadoop.hbase.io.hfile.bucket.BucketCache(String, long, int, int[], int, int, String, int, Configuration) At BucketCache.java:from instance method new org.apache.hadoop.hbase.io.hfile.bucket.BucketCache(String, long, int, int[], int, int, String, int, Configuration) At BucketCache.java:[line 297]
Failed junit testshadoop.hbase.io.hfile.bucket.TestVerifyBucketCacheFile
hadoop.hbase.io.hfile.bucket.TestBucketCache
SubsystemReport/Notes
DockerClient=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/16/artifact/out/Dockerfile
GITHUB PR#528
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux da21a8f0e924 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-528/out/precommit/personality/provided.sh
git revisionbranch-1 / 73e0304
Default Java1.8.0_222
shadedjarshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/16/artifact/out/branch-shadedjars.txt
checkstylehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/16/artifact/out/diff-checkstyle-hbase-server.txt
shadedjarshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/16/artifact/out/patch-shadedjars.txt
findbugshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/16/artifact/out/new-findbugs-hbase-server.html
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/16/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/16/testReport/
asflicensehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/16/artifact/out/patch-asflicense-problems.txt
Max. process+thread count758 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/16/console
versionsgit=1.9.1 maven=3.0.5 findbugs=3.1.0-RC1
Powered byApache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec49Docker mode activated.
_ Prechecks _
+1dupname0No case conflicting files found.
+1hbaseanti0Patch does not have any anti-patterns.
+1@author0The patch does not contain any @author tags.
+1test4tests0The patch appears to include 1 new or modified test files.
_ branch-1 Compile Tests _
+1mvninstall475branch-1 passed
+1compile40branch-1 passed
+1checkstyle96branch-1 passed
-1shadedjars14branch has 10 errors when building our shaded downstream artifacts.
+1javadoc37branch-1 passed
0spotbugs142Used deprecated FindBugs config; considering switching to SpotBugs.
+1findbugs139branch-1 passed
_ Patch Compile Tests _
+1mvninstall109the patch passed
+1compile39the patch passed
+1javac39the patch passed
-1checkstyle89hbase-server: The patch generated 10 new + 51 unchanged - 0 fixed = 61 total (was 51)
+1whitespace0The patch has no whitespace issues.
-1shadedjars12patch has 10 errors when building our shaded downstream artifacts.
+1hadoopcheck275Patch does not cause any errors with Hadoop 2.8.5 2.9.2.
+1javadoc31the patch passed
+1findbugs134the patch passed
_ Other Tests _
-1unit1622hbase-server in the patch failed.
-1asflicense21The patch generated 1 ASF License warnings.
3371
ReasonTests
Failed junit testshadoop.hbase.io.hfile.bucket.TestBucketCache
hadoop.hbase.io.hfile.bucket.TestVerifyBucketCacheFile
SubsystemReport/Notes
DockerClient=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/17/artifact/out/Dockerfile
GITHUB PR#528
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 969edb48aacd 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-528/out/precommit/personality/provided.sh
git revisionbranch-1 / 73e0304
Default Java1.8.0_222
shadedjarshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/17/artifact/out/branch-shadedjars.txt
checkstylehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/17/artifact/out/diff-checkstyle-hbase-server.txt
shadedjarshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/17/artifact/out/patch-shadedjars.txt
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/17/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/17/testReport/
asflicensehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/17/artifact/out/patch-asflicense-problems.txt
Max. process+thread count771 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/17/console
versionsgit=1.9.1 maven=3.0.5 findbugs=3.1.0-RC1
Powered byApache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.


private String[] filePaths;
static final String FILE_VERIFY_ALGORITHM = "hbase.bucketcache.file.verify.algorithm";
static final String DEFAULT_FILE_VERIFY_ALGORITHM = "MD5";

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.

Set them private, unless you use them somewhere outside package.


this.backingMap = new ConcurrentHashMap<BlockCacheKey, BucketEntry>((int) blockNumCapacity);

this.algorithm = conf.get(FILE_VERIFY_ALGORITHM,DEFAULT_FILE_VERIFY_ALGORITHM);

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.

nit, space ,DEFAULT_FILE_VERIFY_ALGORITHM

} catch (NoSuchAlgorithmException e) {
LOG.error("No such algorithm : " + algorithm + "! Failed to persist data on exit",e);
} catch (Exception e) {
LOG.error("persist to file error"+e);

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.

nit, space style "+e)

"Attempt to restore non-persistent cache mappings!");
fis = new FileInputStream(persistencePath);
ois = new ObjectInputStream(fis);
ois.readUTF();

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 breaks backward compatibility. For an upgrading rs, it should read an old persistent file.

public static String getPreFilesKey(String persistencePath) throws IOException {
FileInputStream fis = null;
ObjectInputStream ois = null;
try {

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.

Use try-with-resource style

init();
}

public void init() 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.

this method should be private?

import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;

public class FileIOEngineUtils {

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.

This class can be final

public class FileIOEngineUtils {

private FileIOEngineUtils() {

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.

Useless new line

private FileIOEngineUtils() {

}
/**

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.

There should be a new line.

* @throws IOException something happened like file not exists
* @throws NoSuchAlgorithmException no such algorithm
*/
public static String getFilesKey(String[] filePaths, String algorithmName) throws IOException, NoSuchAlgorithmException {

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.

This line is too long to match code style.

private String[] filePaths;
static final String FILE_VERIFY_ALGORITHM = "hbase.bucketcache.file.verify.algorithm";
static final String DEFAULT_FILE_VERIFY_ALGORITHM = "MD5";
private String algorithm;

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.

Java doc for this new member, what is this algorithm for?

private float memoryFactor;

private String[] filePaths;
static final String FILE_VERIFY_ALGORITHM = "hbase.bucketcache.file.verify.algorithm";

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.

Please rename this parameters, "hbase.bucketcache.persistent.file.integrity.check.algorithm" for your reference.

@ReiddddddReidddddd left a comment

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.

Not a full review, but there're many code style problems(space, new line), please fix.

BTW, there one place breaking backward compatibility, it's a design problem.

@ReiddddddReidddddd left a comment

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.

+1 from me. And please raise a ticket to forward-port master, and branch-2.x.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
💙reexec5m 2sDocker mode activated.
_ Prechecks _
💚dupname0m 0sNo case conflicting files found.
💚hbaseanti0m 0sPatch does not have any anti-patterns.
💚@author0m 0sThe patch does not contain any @author tags.
💚test4tests0m 0sThe patch appears to include 2 new or modified test files.
_ branch-1 Compile Tests _
💚mvninstall8m 54sbranch-1 passed
💚compile0m 58sbranch-1 passed
💚checkstyle2m 10sbranch-1 passed
💔shadedjars0m 16sbranch has 10 errors when building our shaded downstream artifacts.
💚javadoc0m 46sbranch-1 passed
💙spotbugs3m 13sUsed deprecated FindBugs config; considering switching to SpotBugs.
💚findbugs3m 10sbranch-1 passed
💛patch3m 17sUsed diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.
_ Patch Compile Tests _
💚mvninstall2m 21sthe patch passed
💚compile0m 52sthe patch passed
💚javac0m 52sthe patch passed
💔checkstyle1m 56shbase-server: The patch generated 2 new + 46 unchanged - 6 fixed = 48 total (was 52)
💚whitespace0m 0sThe patch has no whitespace issues.
💔shadedjars0m 14spatch has 10 errors when building our shaded downstream artifacts.
💚hadoopcheck5m 37sPatch does not cause any errors with Hadoop 2.8.5 2.9.2.
💚javadoc0m 39sthe patch passed
💔findbugs3m 0shbase-server generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)
_ Other Tests _
💔unit149m 29shbase-server in the patch failed.
💚asflicense0m 25sThe patch does not generate ASF License warnings.
190m 4s
ReasonTests
FindBugsmodule:hbase-server
org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.retrieveFromFile(int[]) ignores result of java.io.ObjectInputStream.read(byte[]) At BucketCache.java: At BucketCache.java:[line 1073]
org.apache.hadoop.hbase.io.hfile.bucket.FileIOEngine.readPersistenceChecksum(String) ignores result of java.io.ObjectInputStream.read(byte[]) At FileIOEngine.java: At FileIOEngine.java:[line 328]
Failed junit testshadoop.hbase.client.TestReplicasClient
SubsystemReport/Notes
DockerClient=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/31/artifact/out/Dockerfile
GITHUB PR#528
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux e80932aa045a 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-528/out/precommit/personality/provided.sh
git revisionbranch-1 / 3f84591
Default Java1.8.0_222
shadedjarshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/31/artifact/out/branch-shadedjars.txt
checkstylehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/31/artifact/out/diff-checkstyle-hbase-server.txt
shadedjarshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/31/artifact/out/patch-shadedjars.txt
findbugshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/31/artifact/out/new-findbugs-hbase-server.html
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/31/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/31/testReport/
Max. process+thread count4553 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/31/console
versionsgit=1.9.1 maven=3.0.5 findbugs=3.1.0-RC1
Powered byApache Yetus 0.11.0 https://yetus.apache.org

This message was automatically generated.

}

@Override
public byte[] readPersistenceChecksum(String persistencePath) {

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.

this can be called readPersistentCheckSum(). But do we need this API. Instead can we just do this internally under verifyCheckSum() or verifyFileIntegrity()?

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.

It has been modified. Thanks for giving advice.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
💙reexec0m 55sDocker mode activated.
_ Prechecks _
💚dupname0m 0sNo case conflicting files found.
💚hbaseanti0m 0sPatch does not have any anti-patterns.
💚@author0m 0sThe patch does not contain any @author tags.
💚test4tests0m 0sThe patch appears to include 2 new or modified test files.
_ branch-1 Compile Tests _
💚mvninstall8m 31sbranch-1 passed
💚compile0m 49sbranch-1 passed
💚checkstyle2m 4sbranch-1 passed
💔shadedjars0m 14sbranch has 10 errors when building our shaded downstream artifacts.
💚javadoc0m 45sbranch-1 passed
💙spotbugs2m 49sUsed deprecated FindBugs config; considering switching to SpotBugs.
💚findbugs2m 46sbranch-1 passed
_ Patch Compile Tests _
💚mvninstall2m 19sthe patch passed
💚compile0m 54sthe patch passed
💚javac0m 54sthe patch passed
💔checkstyle1m 52shbase-server: The patch generated 2 new + 46 unchanged - 6 fixed = 48 total (was 52)
💚whitespace0m 0sThe patch has no whitespace issues.
💔shadedjars0m 13spatch has 10 errors when building our shaded downstream artifacts.
💚hadoopcheck5m 34sPatch does not cause any errors with Hadoop 2.8.5 2.9.2.
💚javadoc0m 38sthe patch passed
💔findbugs2m 53shbase-server generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)
_ Other Tests _
💚unit124m 59shbase-server in the patch passed.
💚asflicense0m 30sThe patch does not generate ASF License warnings.
159m 52s
ReasonTests
FindBugsmodule:hbase-server
org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.retrieveFromFile(int[]) ignores result of java.io.ObjectInputStream.read(byte[]) At BucketCache.java: At BucketCache.java:[line 1073]
org.apache.hadoop.hbase.io.hfile.bucket.FileIOEngine.readPersistenceChecksum(String) ignores result of java.io.ObjectInputStream.read(byte[]) At FileIOEngine.java: At FileIOEngine.java:[line 328]
SubsystemReport/Notes
DockerClient=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/32/artifact/out/Dockerfile
GITHUB PR#528
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 75327fbb7d3e 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-528/out/precommit/personality/provided.sh
git revisionbranch-1 / 3f84591
Default Java1.8.0_222
shadedjarshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/32/artifact/out/branch-shadedjars.txt
checkstylehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/32/artifact/out/diff-checkstyle-hbase-server.txt
shadedjarshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/32/artifact/out/patch-shadedjars.txt
findbugshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/32/artifact/out/new-findbugs-hbase-server.html
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/32/testReport/
Max. process+thread count4733 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/32/console
versionsgit=1.9.1 maven=3.0.5 findbugs=3.1.0-RC1
Powered byApache Yetus 0.11.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
💙reexec0m 43sDocker mode activated.
_ Prechecks _
💚dupname0m 0sNo case conflicting files found.
💚hbaseanti0m 0sPatch does not have any anti-patterns.
💚@author0m 0sThe patch does not contain any @author tags.
💚test4tests0m 0sThe patch appears to include 2 new or modified test files.
_ branch-1 Compile Tests _
💚mvninstall7m 58sbranch-1 passed
💚compile0m 39sbranch-1 passed
💚checkstyle1m 33sbranch-1 passed
💔shadedjars0m 15sbranch has 10 errors when building our shaded downstream artifacts.
💚javadoc0m 37sbranch-1 passed
💙spotbugs2m 19sUsed deprecated FindBugs config; considering switching to SpotBugs.
💚findbugs2m 17sbranch-1 passed
_ Patch Compile Tests _
💚mvninstall1m 46sthe patch passed
💚compile0m 39sthe patch passed
💚javac0m 39sthe patch passed
💔checkstyle1m 30shbase-server: The patch generated 2 new + 46 unchanged - 6 fixed = 48 total (was 52)
💚whitespace0m 0sThe patch has no whitespace issues.
💔shadedjars0m 12spatch has 10 errors when building our shaded downstream artifacts.
💚hadoopcheck4m 35sPatch does not cause any errors with Hadoop 2.8.5 2.9.2.
💚javadoc0m 30sthe patch passed
💔findbugs2m 12shbase-server generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)
_ Other Tests _
💔unit116m 17shbase-server in the patch passed.
💚asflicense0m 29sThe patch does not generate ASF License warnings.
145m 23s
ReasonTests
FindBugsmodule:hbase-server
org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.retrieveFromFile(int[]) ignores result of java.io.ObjectInputStream.read(byte[]) At BucketCache.java: At BucketCache.java:[line 1073]
org.apache.hadoop.hbase.io.hfile.bucket.FileIOEngine.readPersistentChecksum(String) ignores result of java.io.ObjectInputStream.read(byte[]) At FileIOEngine.java: At FileIOEngine.java:[line 328]
Timed out junit testsorg.apache.hadoop.hbase.fs.TestBlockReorderMultiBlocks
SubsystemReport/Notes
DockerClient=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/33/artifact/out/Dockerfile
GITHUB PR#528
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux a7472d5fc164 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-528/out/precommit/personality/provided.sh
git revisionbranch-1 / 3f84591
Default Java1.8.0_222
shadedjarshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/33/artifact/out/branch-shadedjars.txt
checkstylehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/33/artifact/out/diff-checkstyle-hbase-server.txt
shadedjarshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/33/artifact/out/patch-shadedjars.txt
findbugshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/33/artifact/out/new-findbugs-hbase-server.html
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/33/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/33/testReport/
Max. process+thread count4800 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/33/console
versionsgit=1.9.1 maven=3.0.5 findbugs=3.1.0-RC1
Powered byApache Yetus 0.11.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
💙reexec0m 43sDocker mode activated.
_ Prechecks _
💚dupname0m 0sNo case conflicting files found.
💚hbaseanti0m 0sPatch does not have any anti-patterns.
💚@author0m 0sThe patch does not contain any @author tags.
💚test4tests0m 0sThe patch appears to include 2 new or modified test files.
_ branch-1 Compile Tests _
💚mvninstall8m 0sbranch-1 passed
💚compile1m 55sbranch-1 passed
💚checkstyle1m 36sbranch-1 passed
💔shadedjars0m 13sbranch has 10 errors when building our shaded downstream artifacts.
💚javadoc0m 36sbranch-1 passed
💙spotbugs2m 17sUsed deprecated FindBugs config; considering switching to SpotBugs.
💚findbugs2m 16sbranch-1 passed
_ Patch Compile Tests _
💚mvninstall1m 48sthe patch passed
💚compile1m 42sthe patch passed
💔javac1m 42shbase-server generated 1 new + 193 unchanged - 1 fixed = 194 total (was 194)
💔checkstyle1m 29shbase-server: The patch generated 2 new + 46 unchanged - 6 fixed = 48 total (was 52)
💚whitespace0m 0sThe patch has no whitespace issues.
💔shadedjars0m 12spatch has 10 errors when building our shaded downstream artifacts.
💚hadoopcheck4m 38sPatch does not cause any errors with Hadoop 2.8.5 2.9.2.
💚javadoc0m 29sthe patch passed
💔findbugs2m 15shbase-server generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)
_ Other Tests _
💚unit114m 25shbase-server in the patch passed.
💚asflicense0m 32sThe patch does not generate ASF License warnings.
146m 7s
ReasonTests
FindBugsmodule:hbase-server
org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.retrieveFromFile(int[]) ignores result of java.io.ObjectInputStream.read(byte[]) At BucketCache.java: At BucketCache.java:[line 1073]
org.apache.hadoop.hbase.io.hfile.bucket.FileIOEngine.readPersistentChecksum(String) ignores result of java.io.ObjectInputStream.read(byte[]) At FileIOEngine.java: At FileIOEngine.java:[line 328]
SubsystemReport/Notes
DockerClient=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/34/artifact/out/Dockerfile
GITHUB PR#528
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux f74fe17088a8 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-528/out/precommit/personality/provided.sh
git revisionbranch-1 / 99e7f60
Default Java1.8.0_222
shadedjarshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/34/artifact/out/branch-shadedjars.txt
javachttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/34/artifact/out/diff-compile-javac-hbase-server.txt
checkstylehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/34/artifact/out/diff-checkstyle-hbase-server.txt
shadedjarshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/34/artifact/out/patch-shadedjars.txt
findbugshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/34/artifact/out/new-findbugs-hbase-server.html
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/34/testReport/
Max. process+thread count4662 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/34/console
versionsgit=1.9.1 maven=3.0.5 findbugs=3.1.0-RC1
Powered byApache Yetus 0.11.0 https://yetus.apache.org

This message was automatically generated.

@saintstacksaintstack left a comment

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.

Skimmed. LGTM. @ramkrish86 and @anoopsjohn ... is it good by you fellows? I see @Reidddddd gave it his blessing already.

private final long sizePerFile;
private final long capacity;
private final String algorithmName;
private boolean isOldVersion;

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.

s/isOldVersion/oldVersion/

isOldVersion is name you'd use for the method that returns this boolean.


/**
* Whether the persistence file is old version, it's for back compatibility
* @return true if the persistence file is old version

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.

Might say what 'old version' means... means it does not support this feature.

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.

It has been modified. Thanks!

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
💙reexec0m 38sDocker mode activated.
_ Prechecks _
💚dupname0m 0sNo case conflicting files found.
💚hbaseanti0m 0sPatch does not have any anti-patterns.
💚@author0m 0sThe patch does not contain any @author tags.
💚test4tests0m 0sThe patch appears to include 2 new or modified test files.
_ branch-1 Compile Tests _
💚mvninstall8m 0sbranch-1 passed
💚compile2m 5sbranch-1 passed
💚checkstyle1m 44sbranch-1 passed
💔shadedjars0m 12sbranch has 10 errors when building our shaded downstream artifacts.
💚javadoc0m 36sbranch-1 passed
💙spotbugs2m 24sUsed deprecated FindBugs config; considering switching to SpotBugs.
💚findbugs2m 22sbranch-1 passed
_ Patch Compile Tests _
💚mvninstall1m 52sthe patch passed
💚compile1m 48sthe patch passed
💚javac1m 48sthe patch passed
💔checkstyle1m 43shbase-server: The patch generated 2 new + 46 unchanged - 6 fixed = 48 total (was 52)
💚whitespace0m 0sThe patch has no whitespace issues.
💔shadedjars0m 10spatch has 10 errors when building our shaded downstream artifacts.
💚hadoopcheck4m 41sPatch does not cause any errors with Hadoop 2.8.5 2.9.2.
💚javadoc0m 30sthe patch passed
💔findbugs2m 28shbase-server generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)
_ Other Tests _
💔unit113m 12shbase-server in the patch failed.
💚asflicense0m 31sThe patch does not generate ASF License warnings.
145m 52s
ReasonTests
FindBugsmodule:hbase-server
org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.retrieveFromFile(int[]) ignores result of java.io.ObjectInputStream.read(byte[]) At BucketCache.java: At BucketCache.java:[line 1073]
org.apache.hadoop.hbase.io.hfile.bucket.FileIOEngine.readPersistentChecksum(String) ignores result of java.io.ObjectInputStream.read(byte[]) At FileIOEngine.java: At FileIOEngine.java:[line 328]
Failed junit testshadoop.hbase.client.TestReplicasClient
hadoop.hbase.security.token.TestZKSecretWatcher
SubsystemReport/Notes
DockerClient=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/35/artifact/out/Dockerfile
GITHUB PR#528
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux bcb00f4207a5 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-528/out/precommit/personality/provided.sh
git revisionbranch-1 / 99e7f60
Default Java1.8.0_222
shadedjarshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/35/artifact/out/branch-shadedjars.txt
checkstylehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/35/artifact/out/diff-checkstyle-hbase-server.txt
shadedjarshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/35/artifact/out/patch-shadedjars.txt
findbugshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/35/artifact/out/new-findbugs-hbase-server.html
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/35/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/35/testReport/
Max. process+thread count4205 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/35/console
versionsgit=1.9.1 maven=3.0.5 findbugs=3.1.0-RC1
Powered byApache Yetus 0.11.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
💙reexec11m 11sDocker mode activated.
_ Prechecks _
💚dupname0m 0sNo case conflicting files found.
💚hbaseanti0m 0sPatch does not have any anti-patterns.
💚@author0m 0sThe patch does not contain any @author tags.
💚test4tests0m 0sThe patch appears to include 2 new or modified test files.
_ branch-1 Compile Tests _
💚mvninstall8m 0sbranch-1 passed
💚compile1m 53sbranch-1 passed
💚checkstyle1m 34sbranch-1 passed
💔shadedjars0m 14sbranch has 10 errors when building our shaded downstream artifacts.
💚javadoc0m 37sbranch-1 passed
💙spotbugs2m 24sUsed deprecated FindBugs config; considering switching to SpotBugs.
💚findbugs2m 22sbranch-1 passed
_ Patch Compile Tests _
💚mvninstall1m 47sthe patch passed
💚compile1m 45sthe patch passed
💚javac1m 45sthe patch passed
💔checkstyle1m 57shbase-server: The patch generated 2 new + 46 unchanged - 6 fixed = 48 total (was 52)
💚whitespace0m 0sThe patch has no whitespace issues.
💔shadedjars0m 12spatch has 10 errors when building our shaded downstream artifacts.
💚hadoopcheck4m 36sPatch does not cause any errors with Hadoop 2.8.5 2.9.2.
💚javadoc0m 31sthe patch passed
💔findbugs2m 27shbase-server generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)
_ Other Tests _
💚unit114m 44shbase-server in the patch passed.
💚asflicense0m 32sThe patch does not generate ASF License warnings.
157m 41s
ReasonTests
FindBugsmodule:hbase-server
org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.retrieveFromFile(int[]) ignores result of java.io.ObjectInputStream.read(byte[]) At BucketCache.java: At BucketCache.java:[line 1073]
org.apache.hadoop.hbase.io.hfile.bucket.FileIOEngine.readPersistentChecksum(String) ignores result of java.io.ObjectInputStream.read(byte[]) At FileIOEngine.java: At FileIOEngine.java:[line 328]
SubsystemReport/Notes
DockerClient=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/36/artifact/out/Dockerfile
GITHUB PR#528
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux d9eec913af2b 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-528/out/precommit/personality/provided.sh
git revisionbranch-1 / 20d7da5
Default Java1.8.0_222
shadedjarshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/36/artifact/out/branch-shadedjars.txt
checkstylehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/36/artifact/out/diff-checkstyle-hbase-server.txt
shadedjarshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/36/artifact/out/patch-shadedjars.txt
findbugshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/36/artifact/out/new-findbugs-hbase-server.html
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/36/testReport/
Max. process+thread count4420 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/36/console
versionsgit=1.9.1 maven=3.0.5 findbugs=3.1.0-RC1
Powered byApache Yetus 0.11.0 https://yetus.apache.org

This message was automatically generated.

public class FileIOEngine implements PersistentIOEngine {
private static final Log LOG = LogFactory.getLog(FileIOEngine.class);
public static final String FILE_DELIMITER = ",";
private static final DuFileCommand du = new DuFileCommand(new String[] {"du", ""});

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.

Upper case for static final member.

@Override
public byte[] calculateChecksum()
throws IOException, NoSuchAlgorithmException {

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.

Unnecessary empty line.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
💙reexec10m 13sDocker mode activated.
_ Prechecks _
💚dupname0m 0sNo case conflicting files found.
💚hbaseanti0m 0sPatch does not have any anti-patterns.
💚@author0m 0sThe patch does not contain any @author tags.
💚test4tests0m 0sThe patch appears to include 2 new or modified test files.
_ branch-1 Compile Tests _
💚mvninstall8m 1sbranch-1 passed
💚compile2m 3sbranch-1 passed
💚checkstyle1m 44sbranch-1 passed
💔shadedjars0m 11sbranch has 10 errors when building our shaded downstream artifacts.
💚javadoc0m 36sbranch-1 passed
💙spotbugs2m 24sUsed deprecated FindBugs config; considering switching to SpotBugs.
💚findbugs2m 22sbranch-1 passed
_ Patch Compile Tests _
💚mvninstall1m 50sthe patch passed
💚compile1m 47sthe patch passed
💚javac1m 47sthe patch passed
💔checkstyle1m 39shbase-server: The patch generated 2 new + 46 unchanged - 6 fixed = 48 total (was 52)
💚whitespace0m 0sThe patch has no whitespace issues.
💔shadedjars0m 10spatch has 10 errors when building our shaded downstream artifacts.
💚hadoopcheck4m 43sPatch does not cause any errors with Hadoop 2.8.5 2.9.2.
💚javadoc0m 30sthe patch passed
💔findbugs2m 22shbase-server generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)
_ Other Tests _
💚unit110m 35shbase-server in the patch passed.
💚asflicense0m 25sThe patch does not generate ASF License warnings.
152m 31s
ReasonTests
FindBugsmodule:hbase-server
org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.retrieveFromFile(int[]) ignores result of java.io.ObjectInputStream.read(byte[]) At BucketCache.java: At BucketCache.java:[line 1073]
org.apache.hadoop.hbase.io.hfile.bucket.FileIOEngine.readPersistentChecksum(String) ignores result of java.io.ObjectInputStream.read(byte[]) At FileIOEngine.java: At FileIOEngine.java:[line 328]
SubsystemReport/Notes
DockerClient=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/37/artifact/out/Dockerfile
GITHUB PR#528
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux a1f4cc976144 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-528/out/precommit/personality/provided.sh
git revisionbranch-1 / 20d7da5
Default Java1.8.0_222
shadedjarshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/37/artifact/out/branch-shadedjars.txt
checkstylehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/37/artifact/out/diff-checkstyle-hbase-server.txt
shadedjarshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/37/artifact/out/patch-shadedjars.txt
findbugshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/37/artifact/out/new-findbugs-hbase-server.html
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/37/testReport/
Max. process+thread count4157 (vs. ulimit of 10000)
modulesC: hbase-server U: hbase-server
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-528/37/console
versionsgit=1.9.1 maven=3.0.5 findbugs=3.1.0-RC1
Powered byApache Yetus 0.11.0 https://yetus.apache.org

This message was automatically generated.

@Reidddddd
Reidddddd merged commit 5bf60ec into apache:branch-1Sep 16, 2019
}
fos = new FileOutputStream(persistencePath, false);
oos = new ObjectOutputStream(fos);
if (ioEngine instanceof PersistentIOEngine) {

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.

If we are in this persistToFile() , it means it is PersistentIOEngine. May be an assert and direct casting is better way than if check.

fis = new FileInputStream(persistencePath);
ois = new ObjectInputStream(fis);
// for backward compatibility
if (ioEngine instanceof PersistentIOEngine &&

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.

Same as above comment. See above
if (!ioEngine.isPersistent()) throw new IOException().
Just after that line itself you can do the typecast.

bucketAllocator = allocator;
deserialiserMap = deserMap;
backingMap = backingMapFromFile;
blockNumber.set(backingMap.size());

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.

Why this change? Is it related to this jira directly?

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.

When retrieve successfully from file, the "Block Count" in WebUI would be 0 if blockNumber is not changed. But it's have blocks actually.

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.

I see. So this is an existing bug. Its a one liner change. Still can be done as another bug jira may be.

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.

OK

ois.read(PBMagic);
int length = ois.readInt();
byte[] persistenceChecksum = new byte[length];
ois.read(persistenceChecksum);

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.

Actually we are reading persistentChecksum twice in this flow. At FileIOE create time as part of verify call and here too. Here we are doing as a skip way. So why can't we do it here only? We have verifyFileIntegrity() in PersistentIOEngine interface and we can call that from here? It looks bit odd. The oldVersion check can be done here also based on he PBMagic matching.
isOldVersion() API itself not needed in the FileIOE. We process the persisted meta info here and based on that recreate the backingMap etc here in BC. So knowing whether checksum also persisted and if so verify that all can be here. I mean the actual verify imp can be in FileIOE but the call to that should be from here.

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 thought about your thoughts. If we want to read it once, we should pass ObjectInputStream object "ois" to the verifyFileIntegrity() method. If it's an old version persistent file, the ois object should be reset, but reset() method is not support. We can recreate an ObjectInputStream without using try-with-resource statement, but this may be a bit unsightly......

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.

May be we need to close and reopen for the read. My biggest worry is where we do this verify. See my below comment. Now we are doing it while creation of FileIOE. If the verify fails, we are not allowing the FileIOE to be created and do its future work. My point is this. We should create the FileIOE. And then the Bucket Cache is trying to retrieve the already cached data from persistent store and for that its recreating the cache meta. At that step we should be doing the verification right. First see whether the checksum for verify is present already and if so verify. If verify ok and then try to recreate the cache meta data. Or else just forget abt that existing persisted cache data and may be do the necessary cleanup. All these work of Bucket Cache. It can ask the FileIOE to do actual verify. But should be initiated by the BucketCache. You get my mind clearly now? Sorry for not saying in detail at 1st step itself.
Ya may be we need close the file and reopen in case of old style with no pb magic. Or else consider it as 4 bytes and read next 4 bytes and make out the 8 bytes long number. But that may be having challenges wrt the platform. I dont think it is an issue to just reopen the file if no pbmagic. Comments. @Reidddddd

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 got your point already. In fact, if the verification fails, FileIOE can still be created. If verification fails, we would throw IOException, then cache the IOException and do some cleanup, but the creation of FileIOE will continue. Below is the code for the cache:
catch (IOException ioex) { LOG.error("File verification failed because of ", ioex); // delete cache files and backingMap persistent file. deleteCacheDataFile(); new File(persistentPath).delete(); }
However, I totally agree with what you said, I will modify it immediately.

if (!Bytes.equals(persistentChecksum, calculateChecksum)) {
LOG.warn("The persistent checksum is " + Bytes.toString(persistentChecksum) +
", but the calculate checksum is " + Bytes.toString(calculateChecksum));
throw new 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.

Actually if the checksum do not match, we can still continue with RS operation. We can not regain the old cached data. But now as this throw IOE happens while construction of the FileIOEngine, we can no longer use the IOEngine itself. That is wrong. One more reason not to do this verify as part of constructor but at a later time as part of retrieve from persisted meta data.

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.

The IOException will be cached, and then do the delete operation. So the IOEngine can use after that.

}
} else {
// not configure persistent path
deleteCacheDataFile();

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.

Where we will create the cache files again then?

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.

The cache files would be created in init() method. rafs[i] = new RandomAccessFile(filePath, "rw"); will create new file if it not exist.

/**
* Delete bucketcache files
*/
void deleteCacheDataFile();

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.

Even this also not needed in Interface at least as of now. If we verify the checksum in BucketCache (as above comment) and then decide to do this delete, ya then it is needed. But in flow when and where we create it again?

@ZhaoBQ

Copy link
Copy Markdown
ContributorAuthor

Hello, @Reidddddd@anoopsjohn , I have created a new pull request. HBASE-22890

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.

6 participants

@ZhaoBQ@Apache-HBase@Reidddddd@saintstack@ramkrish86@anoopsjohn