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-23017 Verify the file integrity in persistent IOEngine #626

Merged
merged 7 commits into from
Oct 11, 2019

Conversation

ZhaoBQ
Copy link
Contributor

@ZhaoBQ ZhaoBQ commented Sep 14, 2019

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
💙 reexec 3m 18s Docker mode activated.
_ Prechecks _
💚 dupname 0m 0s No case conflicting files found.
💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
💚 @author 0m 0s The patch does not contain any @author tags.
💚 test4tests 0m 0s The patch appears to include 3 new or modified test files.
_ master Compile Tests _
💚 mvninstall 5m 53s master passed
💚 compile 0m 57s master passed
💚 checkstyle 1m 31s master passed
💚 shadedjars 4m 56s branch has no errors when building our shaded downstream artifacts.
💚 javadoc 0m 39s master passed
💙 spotbugs 4m 20s Used deprecated FindBugs config; considering switching to SpotBugs.
💚 findbugs 4m 18s master passed
_ Patch Compile Tests _
💚 mvninstall 5m 25s the patch passed
💚 compile 0m 59s the patch passed
💚 javac 0m 59s the patch passed
💔 checkstyle 1m 29s hbase-server: The patch generated 1 new + 31 unchanged - 0 fixed = 32 total (was 31)
💚 whitespace 0m 0s The patch has no whitespace issues.
💚 shadedjars 4m 56s patch has no errors when building our shaded downstream artifacts.
💚 hadoopcheck 18m 29s Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
💚 javadoc 0m 39s the patch passed
💔 findbugs 4m 46s hbase-server generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)
_ Other Tests _
💚 unit 218m 58s hbase-server in the patch passed.
💚 asflicense 0m 26s The patch does not generate ASF License warnings.
285m 24s
Reason Tests
FindBugs module:hbase-server
org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.retrieveFromFile(int[]) ignores result of java.io.FileInputStream.read(byte[]) At BucketCache.java: At BucketCache.java:[line 1104]
org.apache.hadoop.hbase.io.hfile.bucket.PersistentIOEngine.readPersistentChecksum(String) ignores result of java.io.FileInputStream.read(byte[]) At PersistentIOEngine.java: At PersistentIOEngine.java:[line 89]
Subsystem Report/Notes
Docker Client=19.03.2 Server=19.03.2 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/1/artifact/out/Dockerfile
GITHUB PR #626
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux e71ade7096ef 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-626/out/precommit/personality/provided.sh
git revision master / 3583ef7
Default Java 1.8.0_181
checkstyle https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/1/artifact/out/diff-checkstyle-hbase-server.txt
findbugs https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/1/artifact/out/new-findbugs-hbase-server.html
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/1/testReport/
Max. process+thread count 4488 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/1/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.11.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
💙 reexec 3m 1s Docker mode activated.
_ Prechecks _
💚 dupname 0m 0s No case conflicting files found.
💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
💚 @author 0m 0s The patch does not contain any @author tags.
💚 test4tests 0m 0s The patch appears to include 3 new or modified test files.
_ master Compile Tests _
💚 mvninstall 5m 52s master passed
💚 compile 0m 59s master passed
💚 checkstyle 1m 29s master passed
💚 shadedjars 4m 56s branch has no errors when building our shaded downstream artifacts.
💚 javadoc 0m 37s master passed
💙 spotbugs 4m 31s Used deprecated FindBugs config; considering switching to SpotBugs.
💚 findbugs 4m 29s master passed
_ Patch Compile Tests _
💚 mvninstall 5m 27s the patch passed
💚 compile 0m 56s the patch passed
💚 javac 0m 56s the patch passed
💔 checkstyle 1m 28s hbase-server: The patch generated 1 new + 31 unchanged - 0 fixed = 32 total (was 31)
💚 whitespace 0m 0s The patch has no whitespace issues.
💚 shadedjars 4m 55s patch has no errors when building our shaded downstream artifacts.
💚 hadoopcheck 18m 51s Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
💚 javadoc 0m 36s the patch passed
💔 findbugs 4m 36s hbase-server generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)
_ Other Tests _
💔 unit 227m 51s hbase-server in the patch failed.
💚 asflicense 0m 30s The patch does not generate ASF License warnings.
293m 58s
Reason Tests
FindBugs module:hbase-server
org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.retrieveFromFile(int[]) ignores result of java.io.FileInputStream.read(byte[]) At BucketCache.java: At BucketCache.java:[line 1104]
org.apache.hadoop.hbase.io.hfile.bucket.PersistentIOEngine.readPersistentChecksum(String) ignores result of java.io.FileInputStream.read(byte[]) At PersistentIOEngine.java: At PersistentIOEngine.java:[line 89]
Failed junit tests hadoop.hbase.client.TestSizeFailures
Subsystem Report/Notes
Docker Client=19.03.2 Server=19.03.2 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/2/artifact/out/Dockerfile
GITHUB PR #626
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 5afc131ebe1b 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-626/out/precommit/personality/provided.sh
git revision master / 1cb4f68
Default Java 1.8.0_181
checkstyle https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/2/artifact/out/diff-checkstyle-hbase-server.txt
findbugs https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/2/artifact/out/new-findbugs-hbase-server.html
unit https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/2/artifact/out/patch-unit-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/2/testReport/
Max. process+thread count 4740 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/2/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.11.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
💙 reexec 1m 9s Docker mode activated.
_ Prechecks _
💚 dupname 0m 0s No case conflicting files found.
💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
💚 @author 0m 0s The patch does not contain any @author tags.
💚 test4tests 0m 0s The patch appears to include 3 new or modified test files.
_ master Compile Tests _
💚 mvninstall 7m 8s master passed
💚 compile 0m 58s master passed
💚 checkstyle 1m 29s master passed
💚 shadedjars 4m 56s branch has no errors when building our shaded downstream artifacts.
💚 javadoc 0m 36s master passed
💙 spotbugs 4m 31s Used deprecated FindBugs config; considering switching to SpotBugs.
💚 findbugs 4m 29s master passed
_ Patch Compile Tests _
💚 mvninstall 5m 21s the patch passed
💚 compile 0m 58s the patch passed
💚 javac 0m 58s the patch passed
💚 checkstyle 1m 27s the patch passed
💚 whitespace 0m 0s The patch has no whitespace issues.
💚 shadedjars 4m 54s patch has no errors when building our shaded downstream artifacts.
💚 hadoopcheck 17m 12s Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
💚 javadoc 0m 34s the patch passed
💔 findbugs 4m 26s hbase-server generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)
_ Other Tests _
💔 unit 233m 6s hbase-server in the patch failed.
💚 asflicense 0m 27s The patch does not generate ASF License warnings.
295m 59s
Reason Tests
FindBugs module:hbase-server
org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.retrieveFromFile(int[]) ignores result of java.io.FileInputStream.read(byte[]) At BucketCache.java: At BucketCache.java:[line 1104]
org.apache.hadoop.hbase.io.hfile.bucket.PersistentIOEngine.readPersistentChecksum(String) ignores result of java.io.FileInputStream.read(byte[]) At PersistentIOEngine.java: At PersistentIOEngine.java:[line 89]
Subsystem Report/Notes
Docker Client=19.03.2 Server=19.03.2 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/3/artifact/out/Dockerfile
GITHUB PR #626
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux fbb313774a27 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-626/out/precommit/personality/provided.sh
git revision master / 1cb4f68
Default Java 1.8.0_181
findbugs https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/3/artifact/out/new-findbugs-hbase-server.html
unit https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/3/artifact/out/patch-unit-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/3/testReport/
Max. process+thread count 4538 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/3/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.11.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
💙 reexec 1m 8s Docker mode activated.
_ Prechecks _
💚 dupname 0m 0s No case conflicting files found.
💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
💚 @author 0m 0s The patch does not contain any @author tags.
💚 test4tests 0m 0s The patch appears to include 3 new or modified test files.
_ master Compile Tests _
💚 mvninstall 5m 51s master passed
💚 compile 0m 57s master passed
💚 checkstyle 1m 29s master passed
💚 shadedjars 4m 56s branch has no errors when building our shaded downstream artifacts.
💚 javadoc 0m 36s master passed
💙 spotbugs 4m 32s Used deprecated FindBugs config; considering switching to SpotBugs.
💚 findbugs 4m 29s master passed
_ Patch Compile Tests _
💚 mvninstall 5m 33s the patch passed
💚 compile 0m 57s the patch passed
💚 javac 0m 57s the patch passed
💚 checkstyle 1m 27s the patch passed
💚 whitespace 0m 0s The patch has no whitespace issues.
💚 shadedjars 4m 55s patch has no errors when building our shaded downstream artifacts.
💚 hadoopcheck 17m 7s Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
💚 javadoc 0m 35s the patch passed
💔 findbugs 4m 51s hbase-server generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)
_ Other Tests _
💔 unit 266m 4s hbase-server in the patch failed.
💚 asflicense 0m 28s The patch does not generate ASF License warnings.
329m 0s
Reason Tests
FindBugs module:hbase-server
org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.retrieveFromFile(int[]) ignores result of java.io.FileInputStream.read(byte[]) At BucketCache.java: At BucketCache.java:[line 1104]
org.apache.hadoop.hbase.io.hfile.bucket.PersistentIOEngine.readPersistentChecksum(String) ignores result of java.io.FileInputStream.read(byte[]) At PersistentIOEngine.java: At PersistentIOEngine.java:[line 89]
Failed junit tests hadoop.hbase.client.TestFromClientSide
hadoop.hbase.master.TestMasterShutdown
Subsystem Report/Notes
Docker Client=19.03.2 Server=19.03.2 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/4/artifact/out/Dockerfile
GITHUB PR #626
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 6fb74e7b15d1 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-626/out/precommit/personality/provided.sh
git revision master / 1cb4f68
Default Java 1.8.0_181
findbugs https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/4/artifact/out/new-findbugs-hbase-server.html
unit https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/4/artifact/out/patch-unit-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/4/testReport/
Max. process+thread count 4360 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/4/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.11.0 https://yetus.apache.org

This message was automatically generated.

@ZhaoBQ ZhaoBQ force-pushed the HBASE-23017 branch 2 times, most recently from 5ca09dc to b797c16 Compare September 23, 2019 03:35
@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
💙 reexec 0m 29s Docker mode activated.
_ Prechecks _
💚 dupname 0m 0s No case conflicting files found.
💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
💚 @author 0m 0s The patch does not contain any @author tags.
💚 test4tests 0m 0s The patch appears to include 1 new or modified test files.
_ master Compile Tests _
💚 mvninstall 5m 55s master passed
💚 compile 0m 57s master passed
💚 checkstyle 1m 30s master passed
💚 shadedjars 4m 55s branch has no errors when building our shaded downstream artifacts.
💚 javadoc 0m 37s master passed
💙 spotbugs 4m 26s Used deprecated FindBugs config; considering switching to SpotBugs.
💚 findbugs 4m 23s master passed
_ Patch Compile Tests _
💚 mvninstall 5m 22s the patch passed
💚 compile 0m 56s the patch passed
💚 javac 0m 56s the patch passed
💚 checkstyle 1m 28s the patch passed
💚 whitespace 0m 0s The patch has no whitespace issues.
💚 shadedjars 4m 58s patch has no errors when building our shaded downstream artifacts.
💚 hadoopcheck 17m 1s Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
💚 javadoc 0m 35s the patch passed
💔 findbugs 4m 52s hbase-server generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)
_ Other Tests _
💔 unit 167m 34s hbase-server in the patch failed.
💚 asflicense 0m 28s The patch does not generate ASF License warnings.
228m 53s
Reason Tests
FindBugs module:hbase-server
Invocation of toString on length in org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.retrieveFromFile(int[]) At BucketCache.java:in org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.retrieveFromFile(int[]) At BucketCache.java:[line 1118]
org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.retrieveFromFile(int[]) ignores result of java.io.FileInputStream.read(byte[]) At BucketCache.java: At BucketCache.java:[line 1114]
Failed junit tests hadoop.hbase.io.hfile.bucket.TestBucketCache
hadoop.hbase.tool.TestSecureBulkLoadHFilesSplitRecovery
hadoop.hbase.tool.TestBulkLoadHFilesSplitRecovery
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/5/artifact/out/Dockerfile
GITHUB PR #626
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 68722e81aac3 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-626/out/precommit/personality/provided.sh
git revision master / 537c5f0
Default Java 1.8.0_181
findbugs https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/5/artifact/out/new-findbugs-hbase-server.html
unit https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/5/artifact/out/patch-unit-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/5/testReport/
Max. process+thread count 4375 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/5/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.11.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
💙 reexec 0m 31s Docker mode activated.
_ Prechecks _
💚 dupname 0m 0s No case conflicting files found.
💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
💚 @author 0m 0s The patch does not contain any @author tags.
💚 test4tests 0m 0s The patch appears to include 1 new or modified test files.
_ master Compile Tests _
💚 mvninstall 6m 1s master passed
💚 compile 1m 3s master passed
💚 checkstyle 1m 31s master passed
💚 shadedjars 5m 4s branch has no errors when building our shaded downstream artifacts.
💚 javadoc 0m 41s master passed
💙 spotbugs 5m 10s Used deprecated FindBugs config; considering switching to SpotBugs.
💚 findbugs 5m 7s master passed
_ Patch Compile Tests _
💚 mvninstall 5m 47s the patch passed
💚 compile 0m 59s the patch passed
💚 javac 0m 59s the patch passed
💚 checkstyle 1m 37s the patch passed
💚 whitespace 0m 0s The patch has no whitespace issues.
💚 shadedjars 5m 10s patch has no errors when building our shaded downstream artifacts.
💚 hadoopcheck 17m 28s Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
💚 javadoc 0m 38s the patch passed
💔 findbugs 4m 49s hbase-server generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)
_ Other Tests _
💔 unit 181m 14s hbase-server in the patch failed.
💚 asflicense 0m 28s The patch does not generate ASF License warnings.
244m 49s
Reason Tests
FindBugs module:hbase-server
Invocation of toString on length in org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.retrieveFromFile(int[]) At BucketCache.java:in org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.retrieveFromFile(int[]) At BucketCache.java:[line 1118]
org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.retrieveFromFile(int[]) ignores result of java.io.FileInputStream.read(byte[]) At BucketCache.java: At BucketCache.java:[line 1114]
Failed junit tests hadoop.hbase.io.hfile.bucket.TestBucketCache
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/6/artifact/out/Dockerfile
GITHUB PR #626
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 3f76ae59ade4 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-626/out/precommit/personality/provided.sh
git revision master / a8e3d23
Default Java 1.8.0_181
findbugs https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/6/artifact/out/new-findbugs-hbase-server.html
unit https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/6/artifact/out/patch-unit-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/6/testReport/
Max. process+thread count 4366 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/6/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.11.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
💙 reexec 1m 9s Docker mode activated.
_ Prechecks _
💚 dupname 0m 0s No case conflicting files found.
💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
💚 @author 0m 0s The patch does not contain any @author tags.
💚 test4tests 0m 0s The patch appears to include 1 new or modified test files.
_ master Compile Tests _
💚 mvninstall 5m 54s master passed
💚 compile 0m 57s master passed
💚 checkstyle 1m 30s master passed
💚 shadedjars 5m 1s branch has no errors when building our shaded downstream artifacts.
💚 javadoc 0m 37s master passed
💙 spotbugs 4m 38s Used deprecated FindBugs config; considering switching to SpotBugs.
💚 findbugs 4m 37s master passed
_ Patch Compile Tests _
💚 mvninstall 5m 23s the patch passed
💚 compile 0m 57s the patch passed
💚 javac 0m 57s the patch passed
💚 checkstyle 1m 28s the patch passed
💚 whitespace 0m 0s The patch has no whitespace issues.
💚 shadedjars 4m 57s patch has no errors when building our shaded downstream artifacts.
💚 hadoopcheck 17m 31s Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
💚 javadoc 0m 35s the patch passed
💔 findbugs 4m 37s hbase-server generated 2 new + 0 unchanged - 0 fixed = 2 total (was 0)
_ Other Tests _
💔 unit 220m 40s hbase-server in the patch failed.
💚 asflicense 0m 25s The patch does not generate ASF License warnings.
283m 4s
Reason Tests
FindBugs module:hbase-server
Invocation of toString on length in org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.retrieveFromFile(int[]) At BucketCache.java:in org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.retrieveFromFile(int[]) At BucketCache.java:[line 1118]
org.apache.hadoop.hbase.io.hfile.bucket.BucketCache.retrieveFromFile(int[]) ignores result of java.io.FileInputStream.read(byte[]) At BucketCache.java: At BucketCache.java:[line 1114]
Subsystem Report/Notes
Docker Client=19.03.2 Server=19.03.2 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/7/artifact/out/Dockerfile
GITHUB PR #626
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux b023fa8fe8a8 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-626/out/precommit/personality/provided.sh
git revision master / 5648981
Default Java 1.8.0_181
findbugs https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/7/artifact/out/new-findbugs-hbase-server.html
unit https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/7/artifact/out/patch-unit-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/7/testReport/
Max. process+thread count 4709 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/7/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.11.0 https://yetus.apache.org

This message was automatically generated.

@@ -1053,6 +1065,12 @@ private void persistToFile() throws IOException {
}
try (FileOutputStream fos = new FileOutputStream(persistencePath, false)) {
fos.write(ProtobufMagic.PB_MAGIC);
byte[] checksum = ((PersistentIOEngine) ioEngine).calculateChecksum(algorithm);
Copy link
Contributor

Choose a reason for hiding this comment

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

This is not correct.
In master we already have the PB_MAGIC and we are writing the meta info into the persisting file in protobuf way. We can change the PB proto message to include optional checksum also. If the checksum is there, write those bytes. Marking it as optional so retrieving it back as bytes and check whether it was there or not, all these work PB will help us. We dont have to have any extra logic.

@@ -1081,8 +1101,47 @@ private void retrieveFromFile(int[] bucketSizes) throws IOException {
throw new IOException("Persistence file does not start with protobuf magic number. " +
persistencePath);
}
byte[] pbuf2 = new byte[pblen];
Copy link
Contributor

Choose a reason for hiding this comment

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

All these logic will go away. From the PB message we can get.. So getting back the checksum should be included as part of parsePB()

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Has been modified to use PB persistent checksum. But I have not designed how to maintain backward compatibility.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
💙 reexec 1m 30s Docker mode activated.
_ Prechecks _
💚 dupname 0m 0s No case conflicting files found.
💙 prototool 0m 0s prototool was not available.
💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
💚 @author 0m 0s The patch does not contain any @author tags.
💚 test4tests 0m 0s The patch appears to include 1 new or modified test files.
_ master Compile Tests _
💙 mvndep 0m 33s Maven dependency ordering for branch
💚 mvninstall 5m 46s master passed
💚 compile 1m 36s master passed
💚 checkstyle 1m 41s master passed
💚 shadedjars 5m 0s branch has no errors when building our shaded downstream artifacts.
💚 javadoc 0m 48s master passed
💙 spotbugs 4m 12s Used deprecated FindBugs config; considering switching to SpotBugs.
💚 findbugs 6m 52s master passed
_ Patch Compile Tests _
💙 mvndep 0m 14s Maven dependency ordering for patch
💚 mvninstall 5m 26s the patch passed
💚 compile 1m 37s the patch passed
💚 cc 1m 37s the patch passed
💚 javac 1m 37s the patch passed
💔 checkstyle 1m 25s hbase-server: The patch generated 4 new + 30 unchanged - 0 fixed = 34 total (was 30)
💚 whitespace 0m 0s The patch has no whitespace issues.
💚 shadedjars 4m 59s patch has no errors when building our shaded downstream artifacts.
💚 hadoopcheck 17m 2s Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
💚 hbaseprotoc 1m 32s the patch passed
💚 javadoc 0m 47s the patch passed
💚 findbugs 7m 16s the patch passed
_ Other Tests _
💚 unit 0m 42s hbase-protocol-shaded in the patch passed.
💚 unit 154m 20s hbase-server in the patch passed.
💚 asflicense 0m 48s The patch does not generate ASF License warnings.
227m 4s
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/8/artifact/out/Dockerfile
GITHUB PR #626
Optional Tests dupname asflicense cc unit hbaseprotoc prototool javac javadoc spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 65b244606de3 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-626/out/precommit/personality/provided.sh
git revision master / ea24ea7
Default Java 1.8.0_181
checkstyle https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/8/artifact/out/diff-checkstyle-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/8/testReport/
Max. process+thread count 4418 (vs. ulimit of 10000)
modules C: hbase-protocol-shaded hbase-server U: .
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/8/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.11.0 https://yetus.apache.org

This message was automatically generated.

required string map_class = 3;
map<int32, string> deserializers = 4;
required BackingMap backing_map = 5;
optional bytes checksum = 1;
Copy link
Contributor

Choose a reason for hiding this comment

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

Put checksum bytes as the last entry. Do not change the existing order.

@@ -1067,7 +1081,9 @@ private void retrieveFromFile(int[] bucketSizes) throws IOException {
}
assert !cacheEnabled;

try (FileInputStream in = deleteFileOnClose(persistenceFile)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why this change?

* persistent file integrity, default algorithm is MD5
* */
private String algorithm;
private byte[] checksum;
Copy link
Contributor

Choose a reason for hiding this comment

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

Why to keep this as state in BC?

@@ -1053,6 +1066,7 @@ private void persistToFile() throws IOException {
}
try (FileOutputStream fos = new FileOutputStream(persistencePath, false)) {
fos.write(ProtobufMagic.PB_MAGIC);
checksum = ((PersistentIOEngine) ioEngine).calculateChecksum(algorithm);
BucketProtoUtils.toPB(this).writeDelimitedTo(fos);
Copy link
Contributor

Choose a reason for hiding this comment

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

The checksum can be passed as an argument. Keeping checksum as a state var in BC does not look correct.

@@ -1131,6 +1155,8 @@ private void verifyCapacityAndClasses(long capacitySize, String ioclass, String
}

private void parsePB(BucketCacheProtos.BucketCacheEntry proto) throws IOException {
((PersistentIOEngine) ioEngine).verifyFileIntegrity(proto.getChecksum().toByteArray(),
Copy link
Contributor

Choose a reason for hiding this comment

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

For compatibility, u need to check whether the checksum is there or not. Use proto.hasChecksum() before calling the getter.

@@ -1525,6 +1551,10 @@ float getMemoryFactor() {
return memoryFactor;
}

public byte[] getChecksum() {
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this public getter needed then?

private static final DuFileCommand DU = new DuFileCommand(new String[] {"du", ""});
protected final String[] filePaths;

public PersistentIOEngine(String[] filePaths) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Why the arg not using String... ? U can just call super(filePath); from FileMmapIOEngine ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because FileIOEngine can use multiple files as cache file.

Copy link
Contributor

Choose a reason for hiding this comment

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

I dont mean used String type. Strings only but as in FileIOE.. String... filePaths
If so in FileMmapIOEngine we can just call super(filePath)?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK, I see.

* Verify cache files's integrity
* @param algorithm the backingMap persistence path
*/
protected void verifyFileIntegrity(byte[] persistentChecksum, String algorithm)
Copy link
Contributor

Choose a reason for hiding this comment

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

Whether this in line with the branch-1 patch now?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

In branch-1 the method verifyFileIntegrity() return boolean type to indicate whether the verification is successful. Here we throw IOE if verification failed. Because the method parsePB() use this way.

Copy link
Contributor

Choose a reason for hiding this comment

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

Fine. The IOE is handled in BC.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
💙 reexec 0m 31s Docker mode activated.
_ Prechecks _
💚 dupname 0m 0s No case conflicting files found.
💙 prototool 0m 0s prototool was not available.
💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
💚 @author 0m 0s The patch does not contain any @author tags.
💚 test4tests 0m 0s The patch appears to include 1 new or modified test files.
_ master Compile Tests _
💙 mvndep 0m 34s Maven dependency ordering for branch
💚 mvninstall 5m 43s master passed
💚 compile 1m 37s master passed
💚 checkstyle 1m 34s master passed
💚 shadedjars 4m 55s branch has no errors when building our shaded downstream artifacts.
💚 javadoc 0m 48s master passed
💙 spotbugs 4m 33s Used deprecated FindBugs config; considering switching to SpotBugs.
💚 findbugs 7m 11s master passed
_ Patch Compile Tests _
💙 mvndep 0m 14s Maven dependency ordering for patch
💚 mvninstall 5m 25s the patch passed
💚 compile 1m 37s the patch passed
💚 cc 1m 37s the patch passed
💚 javac 1m 37s the patch passed
💔 checkstyle 1m 28s hbase-server: The patch generated 1 new + 30 unchanged - 0 fixed = 31 total (was 30)
💚 whitespace 0m 0s The patch has no whitespace issues.
💚 shadedjars 4m 55s patch has no errors when building our shaded downstream artifacts.
💚 hadoopcheck 17m 5s Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
💚 hbaseprotoc 1m 32s the patch passed
💚 javadoc 0m 47s the patch passed
💚 findbugs 7m 21s the patch passed
_ Other Tests _
💚 unit 0m 41s hbase-protocol-shaded in the patch passed.
💚 unit 153m 36s hbase-server in the patch passed.
💚 asflicense 0m 49s The patch does not generate ASF License warnings.
225m 20s
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/9/artifact/out/Dockerfile
GITHUB PR #626
Optional Tests dupname asflicense cc unit hbaseprotoc prototool javac javadoc spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 960d5ad52845 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-626/out/precommit/personality/provided.sh
git revision master / 3250a80
Default Java 1.8.0_181
checkstyle https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/9/artifact/out/diff-checkstyle-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/9/testReport/
Max. process+thread count 4365 (vs. ulimit of 10000)
modules C: hbase-protocol-shaded hbase-server U: .
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/9/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.11.0 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
💙 reexec 1m 13s Docker mode activated.
_ Prechecks _
💚 dupname 0m 0s No case conflicting files found.
💙 prototool 0m 0s prototool was not available.
💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
💚 @author 0m 0s The patch does not contain any @author tags.
💚 test4tests 0m 0s The patch appears to include 1 new or modified test files.
_ master Compile Tests _
💙 mvndep 0m 34s Maven dependency ordering for branch
💚 mvninstall 5m 42s master passed
💚 compile 1m 39s master passed
💚 checkstyle 1m 38s master passed
💚 shadedjars 5m 22s branch has no errors when building our shaded downstream artifacts.
💚 javadoc 0m 55s master passed
💙 spotbugs 4m 44s Used deprecated FindBugs config; considering switching to SpotBugs.
💚 findbugs 7m 43s master passed
_ Patch Compile Tests _
💙 mvndep 0m 13s Maven dependency ordering for patch
💚 mvninstall 5m 30s the patch passed
💚 compile 1m 38s the patch passed
💚 cc 1m 38s the patch passed
💚 javac 1m 38s the patch passed
💔 checkstyle 1m 27s hbase-server: The patch generated 1 new + 30 unchanged - 0 fixed = 31 total (was 30)
💚 whitespace 0m 0s The patch has no whitespace issues.
💚 shadedjars 5m 11s patch has no errors when building our shaded downstream artifacts.
💚 hadoopcheck 17m 33s Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
💚 hbaseprotoc 1m 31s the patch passed
💚 javadoc 0m 48s the patch passed
💚 findbugs 7m 38s the patch passed
_ Other Tests _
💚 unit 0m 41s hbase-protocol-shaded in the patch passed.
💔 unit 234m 26s hbase-server in the patch failed.
💚 asflicense 0m 48s The patch does not generate ASF License warnings.
309m 16s
Reason Tests
Failed junit tests hadoop.hbase.replication.regionserver.TestRegionReplicaReplicationEndpoint
hadoop.hbase.client.TestFromClientSide
hadoop.hbase.client.TestFromClientSideWithCoprocessor
Subsystem Report/Notes
Docker Client=19.03.2 Server=19.03.2 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/10/artifact/out/Dockerfile
GITHUB PR #626
Optional Tests dupname asflicense cc unit hbaseprotoc prototool javac javadoc spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 94dc90271eb5 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-626/out/precommit/personality/provided.sh
git revision master / c1a476c
Default Java 1.8.0_181
checkstyle https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/10/artifact/out/diff-checkstyle-hbase-server.txt
unit https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/10/artifact/out/patch-unit-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/10/testReport/
Max. process+thread count 4745 (vs. ulimit of 10000)
modules C: hbase-protocol-shaded hbase-server U: .
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/10/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.11.0 https://yetus.apache.org

This message was automatically generated.

algorithm);
} else {
// if has not checksum, it means the persistence file is old format
LOG.warn("Persistence file is old format, it does not support verifying file integrity!");
Copy link
Contributor

Choose a reason for hiding this comment

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

This needs to be a Warn? It can be just Info right?

@@ -1235,6 +1253,10 @@ public long getCurrentSize() {
return this.bucketAllocator.getUsedSize();
}

public String getAlgorithm() {
Copy link
Contributor

Choose a reason for hiding this comment

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

This is needed now?

.putAllDeserializers(CacheableDeserializerIdManager.save())
.setBackingMap(BucketProtoUtils.toPB(cache.backingMap))
.setChecksum(ByteString.copyFrom(((PersistentIOEngine) cache.ioEngine).
calculateChecksum(cache.getAlgorithm()))).build();
Copy link
Contributor

Choose a reason for hiding this comment

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

Ok used here. Fine. It could be have been just package protected only not public?

private static final DuFileCommand DU = new DuFileCommand(new String[] {"du", ""});
protected final String[] filePaths;

public PersistentIOEngine(String[] filePaths) {
Copy link
Contributor

Choose a reason for hiding this comment

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

I dont mean used String type. Strings only but as in FileIOE.. String... filePaths
If so in FileMmapIOEngine we can just call super(filePath)?

* Verify cache files's integrity
* @param algorithm the backingMap persistence path
*/
protected void verifyFileIntegrity(byte[] persistentChecksum, String algorithm)
Copy link
Contributor

Choose a reason for hiding this comment

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

Fine. The IOE is handled in BC.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
💙 reexec 0m 35s Docker mode activated.
_ Prechecks _
💚 dupname 0m 0s No case conflicting files found.
💙 prototool 0m 0s prototool was not available.
💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
💚 @author 0m 0s The patch does not contain any @author tags.
💚 test4tests 0m 0s The patch appears to include 1 new or modified test files.
_ master Compile Tests _
💙 mvndep 1m 3s Maven dependency ordering for branch
💚 mvninstall 6m 44s master passed
💚 compile 1m 44s master passed
💚 checkstyle 1m 39s master passed
💚 shadedjars 5m 0s branch has no errors when building our shaded downstream artifacts.
💚 javadoc 0m 49s master passed
💙 spotbugs 4m 25s Used deprecated FindBugs config; considering switching to SpotBugs.
💚 findbugs 7m 6s master passed
_ Patch Compile Tests _
💙 mvndep 0m 14s Maven dependency ordering for patch
💚 mvninstall 5m 28s the patch passed
💚 compile 1m 36s the patch passed
💚 cc 1m 36s the patch passed
💚 javac 1m 36s the patch passed
💔 checkstyle 1m 27s hbase-server: The patch generated 1 new + 30 unchanged - 0 fixed = 31 total (was 30)
💚 whitespace 0m 0s The patch has no whitespace issues.
💚 shadedjars 4m 56s patch has no errors when building our shaded downstream artifacts.
💚 hadoopcheck 16m 58s Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
💚 hbaseprotoc 1m 33s the patch passed
💚 javadoc 0m 46s the patch passed
💚 findbugs 7m 21s the patch passed
_ Other Tests _
💚 unit 0m 44s hbase-protocol-shaded in the patch passed.
💚 unit 174m 4s hbase-server in the patch passed.
💚 asflicense 0m 54s The patch does not generate ASF License warnings.
247m 57s
Subsystem Report/Notes
Docker Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/11/artifact/out/Dockerfile
GITHUB PR #626
Optional Tests dupname asflicense cc unit hbaseprotoc prototool javac javadoc spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux a0a0f8934a25 4.15.0-60-generic #67-Ubuntu SMP Thu Aug 22 16:55:30 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-626/out/precommit/personality/provided.sh
git revision master / ca0d9f3
Default Java 1.8.0_181
checkstyle https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/11/artifact/out/diff-checkstyle-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/11/testReport/
Max. process+thread count 4282 (vs. ulimit of 10000)
modules C: hbase-protocol-shaded hbase-server U: .
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/11/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.11.0 https://yetus.apache.org

This message was automatically generated.

@ZhaoBQ ZhaoBQ requested a review from anoopsjohn October 2, 2019 11:11
Copy link
Contributor

@anoopsjohn anoopsjohn left a comment

Choose a reason for hiding this comment

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

+1
@Reidddddd Can u also review once and if looks good, commit?

algorithm);
} else {
// if has not checksum, it means the persistence file is old format
LOG.info("Persistence file is old format, it does not support verifying file integrity!");
Copy link
Contributor

Choose a reason for hiding this comment

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

Persistent? Adjective instead of noun?

.setMapClass(cache.backingMap.getClass().getName())
.putAllDeserializers(CacheableDeserializerIdManager.save())
.setBackingMap(BucketProtoUtils.toPB(cache.backingMap))
.setChecksum(ByteString.copyFrom(((PersistentIOEngine) cache.ioEngine).
Copy link
Contributor

Choose a reason for hiding this comment

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

Not sure here, since i don't read the code. What if the cache is not PersistentIOEngine? Will here throw cast exception?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Calling this method has shown that ioEngine is persistent, and all the persistent ioEngine extend PersistentIOEngine. So it won't throw cast exception.

Copy link
Contributor

@Reidddddd Reidddddd left a comment

Choose a reason for hiding this comment

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

Nit, and a question.

Copy link
Contributor

@Reidddddd Reidddddd left a comment

Choose a reason for hiding this comment

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

+1

@Reidddddd Reidddddd merged commit 16da123 into apache:master Oct 11, 2019
@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
💙 reexec 0m 37s Docker mode activated.
_ Prechecks _
💚 dupname 0m 0s No case conflicting files found.
💙 prototool 0m 0s prototool was not available.
💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
💚 @author 0m 0s The patch does not contain any @author tags.
💚 test4tests 0m 0s The patch appears to include 1 new or modified test files.
_ master Compile Tests _
💙 mvndep 0m 39s Maven dependency ordering for branch
💚 mvninstall 5m 49s master passed
💚 compile 1m 41s master passed
💚 checkstyle 1m 28s master passed
💚 shadedjars 4m 50s branch has no errors when building our shaded downstream artifacts.
💚 javadoc 0m 51s master passed
💙 spotbugs 3m 47s Used deprecated FindBugs config; considering switching to SpotBugs.
💚 findbugs 6m 20s master passed
_ Patch Compile Tests _
💙 mvndep 0m 15s Maven dependency ordering for patch
💚 mvninstall 4m 55s the patch passed
💚 compile 1m 37s the patch passed
💚 cc 1m 37s the patch passed
💚 javac 1m 37s the patch passed
💔 checkstyle 1m 27s hbase-server: The patch generated 1 new + 30 unchanged - 0 fixed = 31 total (was 30)
💚 whitespace 0m 0s The patch has no whitespace issues.
💚 shadedjars 5m 0s patch has no errors when building our shaded downstream artifacts.
💚 hadoopcheck 16m 8s Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
💚 hbaseprotoc 1m 30s the patch passed
💚 javadoc 0m 49s the patch passed
💚 findbugs 6m 45s the patch passed
_ Other Tests _
💚 unit 0m 42s hbase-protocol-shaded in the patch passed.
💔 unit 160m 46s hbase-server in the patch failed.
💚 asflicense 1m 6s The patch does not generate ASF License warnings.
230m 2s
Reason Tests
Failed junit tests hadoop.hbase.regionserver.TestBulkLoadReplication
Subsystem Report/Notes
Docker Client=19.03.3 Server=19.03.3 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/12/artifact/out/Dockerfile
GITHUB PR #626
Optional Tests dupname asflicense cc unit hbaseprotoc prototool javac javadoc spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux b2e713798b0a 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-626/out/precommit/personality/provided.sh
git revision master / fd9cfd7
Default Java 1.8.0_181
checkstyle https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/12/artifact/out/diff-checkstyle-hbase-server.txt
unit https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/12/artifact/out/patch-unit-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/12/testReport/
Max. process+thread count 4799 (vs. ulimit of 10000)
modules C: hbase-protocol-shaded hbase-server U: .
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-626/12/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.11.0 https://yetus.apache.org

This message was automatically generated.

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