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-23195 FSDataInputStreamWrapper unbuffer can NOT invoke the clas… #746

Closed
wants to merge 10 commits into from

Conversation

zhaoyim
Copy link
Contributor

@zhaoyim zhaoyim commented Oct 22, 2019

…ses that NOT implements CanUnbuffer but its parents class implements CanUnbuffer

…ses that NOT implements CanUnbuffer but its parents class implements CanUnbuffer
@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
💙 reexec 0m 32s 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 30s master passed
💚 compile 0m 57s master passed
💚 checkstyle 1m 18s master passed
💚 shadedjars 4m 35s branch has no errors when building our shaded downstream artifacts.
💚 javadoc 0m 39s master passed
💙 spotbugs 4m 10s Used deprecated FindBugs config; considering switching to SpotBugs.
💚 findbugs 4m 8s master passed
_ Patch Compile Tests _
💚 mvninstall 4m 55s the patch passed
💚 compile 0m 57s the patch passed
💚 javac 0m 57s the patch passed
💔 checkstyle 1m 16s hbase-server: The patch generated 1 new + 6 unchanged - 0 fixed = 7 total (was 6)
💔 whitespace 0m 0s The patch has 3 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
💔 shadedjars 3m 44s patch has 10 errors when building our shaded downstream artifacts.
💚 hadoopcheck 15m 51s 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 12s the patch passed
_ Other Tests _
💚 unit 157m 38s hbase-server in the patch passed.
💔 asflicense 0m 29s The patch generated 1 ASF License warnings.
214m 7s
Subsystem Report/Notes
Docker Client=19.03.4 Server=19.03.4 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-746/1/artifact/out/Dockerfile
GITHUB PR #746
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux bc91aeb5799a 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-746/out/precommit/personality/provided.sh
git revision master / 2ad62b0
Default Java 1.8.0_181
checkstyle https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-746/1/artifact/out/diff-checkstyle-hbase-server.txt
whitespace https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-746/1/artifact/out/whitespace-eol.txt
shadedjars https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-746/1/artifact/out/patch-shadedjars.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-746/1/testReport/
asflicense https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-746/1/artifact/out/patch-asflicense-problems.txt
Max. process+thread count 4446 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-746/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.

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.

Minor comment on test. Else LGTM

new FSDataInputStreamWrapper(new FSDataInputStream(pc));
fsdisw1.unbuffer();
// parent class should be true
assertEquals(true, fsdisw1.instanceOfCanUnbuffer);
Copy link
Contributor

Choose a reason for hiding this comment

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

Instead of checking instanceOfCanUnbuffer is set to true once called unbuffer() , you can actually assert whether the unbuffer() in pc is been called or not. Same with ChildClass case also. Can have some boolen there been set on call to unbuffer() and u can assert that here. So no need to even change the visibility of instanceOfCanUnbuffer

Copy link
Contributor Author

@zhaoyim zhaoyim Oct 23, 2019

Choose a reason for hiding this comment

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

@anoopsjohn Thanks for review! Good suggestion! Changed on your comments, please review it again. Thanks!

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
💙 reexec 0m 46s 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 43s master passed
💚 compile 1m 1s master passed
💚 checkstyle 1m 23s master passed
💚 shadedjars 4m 58s branch has no errors when building our shaded downstream artifacts.
💚 javadoc 0m 36s master passed
💙 spotbugs 4m 8s Used deprecated FindBugs config; considering switching to SpotBugs.
💚 findbugs 4m 5s master passed
_ Patch Compile Tests _
💚 mvninstall 4m 54s the patch passed
💚 compile 0m 58s the patch passed
💚 javac 0m 58s the patch passed
💚 checkstyle 1m 21s the patch passed
💚 whitespace 0m 0s The patch has no whitespace issues.
💚 shadedjars 4m 48s patch has no errors when building our shaded downstream artifacts.
💚 hadoopcheck 16m 40s 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 24s the patch passed
_ Other Tests _
💚 unit 165m 1s hbase-server in the patch passed.
💚 asflicense 0m 32s The patch does not generate ASF License warnings.
225m 34s
Subsystem Report/Notes
Docker Client=19.03.4 Server=19.03.4 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-746/2/artifact/out/Dockerfile
GITHUB PR #746
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 59af7edb50f9 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-746/out/precommit/personality/provided.sh
git revision master / 2ad62b0
Default Java 1.8.0_181
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-746/2/testReport/
Max. process+thread count 4303 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-746/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 0m 34s 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 27s master passed
💚 compile 0m 57s master passed
💚 checkstyle 1m 21s master passed
💚 shadedjars 4m 48s branch has no errors when building our shaded downstream artifacts.
💚 javadoc 0m 42s master passed
💙 spotbugs 4m 7s Used deprecated FindBugs config; considering switching to SpotBugs.
💚 findbugs 4m 4s master passed
_ Patch Compile Tests _
💚 mvninstall 4m 59s the patch passed
💚 compile 0m 58s the patch passed
💚 javac 0m 58s the patch passed
💚 checkstyle 1m 18s the patch passed
💚 whitespace 0m 0s The patch has no whitespace issues.
💚 shadedjars 4m 38s patch has no errors when building our shaded downstream artifacts.
💚 hadoopcheck 15m 46s Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
💚 javadoc 0m 37s the patch passed
💚 findbugs 4m 13s the patch passed
_ Other Tests _
💚 unit 156m 31s hbase-server in the patch passed.
💚 asflicense 0m 34s The patch does not generate ASF License warnings.
214m 57s
Subsystem Report/Notes
Docker Client=19.03.4 Server=19.03.4 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-746/3/artifact/out/Dockerfile
GITHUB PR #746
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux bea2d3f491c8 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-746/out/precommit/personality/provided.sh
git revision master / 2ad62b0
Default Java 1.8.0_181
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-746/3/testReport/
Max. process+thread count 4458 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-746/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 0m 33s 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 27s master passed
💚 compile 0m 55s master passed
💚 checkstyle 1m 17s master passed
💚 shadedjars 4m 40s branch has no errors when building our shaded downstream artifacts.
💚 javadoc 0m 37s master passed
💙 spotbugs 4m 4s Used deprecated FindBugs config; considering switching to SpotBugs.
💚 findbugs 4m 1s master passed
_ Patch Compile Tests _
💚 mvninstall 5m 1s the patch passed
💚 compile 0m 54s the patch passed
💚 javac 0m 54s the patch passed
💔 checkstyle 1m 17s hbase-server: The patch generated 1 new + 6 unchanged - 0 fixed = 7 total (was 6)
💚 whitespace 0m 0s The patch has no whitespace issues.
💚 shadedjars 4m 35s patch has no errors when building our shaded downstream artifacts.
💚 hadoopcheck 15m 48s Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
💚 javadoc 0m 37s the patch passed
💚 findbugs 4m 6s the patch passed
_ Other Tests _
💔 unit 33m 32s hbase-server in the patch failed.
💚 asflicense 0m 18s The patch does not generate ASF License warnings.
90m 52s
Reason Tests
Failed junit tests hadoop.hbase.io.hfile.TestPrefetch
hadoop.hbase.regionserver.TestHStoreFile
hadoop.hbase.io.hfile.TestHFile
hadoop.hbase.io.hfile.TestReseekTo
hadoop.hbase.regionserver.TestDataBlockEncodingTool
hadoop.hbase.io.hfile.TestHFilePrettyPrinter
hadoop.hbase.regionserver.TestStoreFileRefresherChore
hadoop.hbase.regionserver.TestWALMonotonicallyIncreasingSeqId
hadoop.hbase.io.hfile.TestSeekTo
hadoop.hbase.regionserver.TestRecoveredEditsReplayAndAbort
Subsystem Report/Notes
Docker Client=19.03.4 Server=19.03.4 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-746/4/artifact/out/Dockerfile
GITHUB PR #746
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 461681d09b27 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-746/out/precommit/personality/provided.sh
git revision master / 42d535a
Default Java 1.8.0_181
checkstyle https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-746/4/artifact/out/diff-checkstyle-hbase-server.txt
unit https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-746/4/artifact/out/patch-unit-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-746/4/testReport/
Max. process+thread count 704 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-746/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.

@zhaoyim zhaoyim requested a review from Apache9 October 25, 2019 02:42
this.unbuffer.invoke(wrappedStream);
} catch (IllegalAccessException | IllegalArgumentException | InvocationTargetException e) {
this.unbuffer.unbuffer();
} catch (IllegalArgumentException | UnsupportedOperationException e){
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I added the try catch here, because some UT failed such as TestHFile. The failed message is "this stream org.apache.hadoop.fs.BufferedFSInputStream does not support unbuffering." check the code the BufferedFSInputStream is not implements the unbuffer, through FSDataInputStream implements unbuffer but the InputStream paramenter maybe NOT, so we should catch it.

Copy link
Contributor

Choose a reason for hiding this comment

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

The unbuffer here is an CanUnbuffer instance so why we could still get this exception? And for BufferedFSInputStream, it is not a sub class of CanUnbuffer? Could you please check the UT again?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Apache9 My fault! We do NOT need catch the IllegalAccessException. Yes, the BufferedFSInputStream is NOT a sub class of CanUnbuffer, checked in the hadoop-common project. So need to catch the UnsupportedOperationException, because the BufferedFSInputStream is NOT a sub class of CanUnbuffer. Commit a change remove catch IllegalAccessException. Thanks for your review and point out my fault.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Apache9 Could you help review again? Thanks!

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
💙 reexec 0m 36s 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 37s master passed
💚 compile 1m 4s master passed
💚 checkstyle 1m 23s master passed
💚 shadedjars 4m 46s branch has no errors when building our shaded downstream artifacts.
💚 javadoc 0m 40s master passed
💙 spotbugs 4m 16s Used deprecated FindBugs config; considering switching to SpotBugs.
💚 findbugs 4m 14s master passed
_ Patch Compile Tests _
💚 mvninstall 5m 6s the patch passed
💚 compile 0m 55s the patch passed
💚 javac 0m 55s the patch passed
💚 checkstyle 1m 18s the patch passed
💚 whitespace 0m 0s The patch has no whitespace issues.
💚 shadedjars 4m 39s patch has no errors when building our shaded downstream artifacts.
💚 hadoopcheck 16m 4s Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
💚 javadoc 0m 37s the patch passed
💚 findbugs 4m 5s the patch passed
_ Other Tests _
💔 unit 33m 38s hbase-server in the patch failed.
💚 asflicense 0m 19s The patch does not generate ASF License warnings.
92m 24s
Reason Tests
Failed junit tests hadoop.hbase.regionserver.TestHStoreFile
hadoop.hbase.regionserver.TestDataBlockEncodingTool
hadoop.hbase.regionserver.TestRecoveredEditsReplayAndAbort
hadoop.hbase.io.hfile.TestSeekTo
hadoop.hbase.regionserver.TestStoreFileRefresherChore
hadoop.hbase.io.hfile.TestHFile
hadoop.hbase.regionserver.TestWALMonotonicallyIncreasingSeqId
hadoop.hbase.io.hfile.TestReseekTo
hadoop.hbase.io.hfile.TestHFilePrettyPrinter
hadoop.hbase.io.hfile.TestPrefetch
Subsystem Report/Notes
Docker Client=19.03.4 Server=19.03.4 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-746/5/artifact/out/Dockerfile
GITHUB PR #746
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 7a8b60dbada6 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-746/out/precommit/personality/provided.sh
git revision master / 8f92a14
Default Java 1.8.0_181
unit https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-746/5/artifact/out/patch-unit-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-746/5/testReport/
Max. process+thread count 704 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-746/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 35s 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 41s master passed
💚 compile 0m 58s master passed
💚 checkstyle 1m 19s master passed
💚 shadedjars 4m 46s branch has no errors when building our shaded downstream artifacts.
💚 javadoc 0m 37s master passed
💙 spotbugs 4m 10s Used deprecated FindBugs config; considering switching to SpotBugs.
💚 findbugs 4m 7s master passed
_ Patch Compile Tests _
💚 mvninstall 5m 10s the patch passed
💚 compile 0m 58s the patch passed
💚 javac 0m 58s the patch passed
💚 checkstyle 1m 16s the patch passed
💚 whitespace 0m 0s The patch has no whitespace issues.
💚 shadedjars 4m 51s patch has no errors when building our shaded downstream artifacts.
💚 hadoopcheck 16m 42s 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 28s the patch passed
_ Other Tests _
💚 unit 170m 45s hbase-server in the patch passed.
💚 asflicense 0m 33s The patch does not generate ASF License warnings.
231m 8s
Subsystem Report/Notes
Docker Client=19.03.4 Server=19.03.4 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-746/6/artifact/out/Dockerfile
GITHUB PR #746
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 1225152996cb 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-746/out/precommit/personality/provided.sh
git revision master / 8f92a14
Default Java 1.8.0_181
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-746/6/testReport/
Max. process+thread count 4427 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-746/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.

@jojochuang
Copy link
Contributor

LGTM +1
@Apache9 what do you say

this.unbuffer.invoke(wrappedStream);
} catch (IllegalAccessException | IllegalArgumentException | InvocationTargetException e) {
this.unbuffer.unbuffer();
} catch (IllegalArgumentException | UnsupportedOperationException e){
Copy link
Contributor

Choose a reason for hiding this comment

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

The unbuffer here is an CanUnbuffer instance so why we could still get this exception? And for BufferedFSInputStream, it is not a sub class of CanUnbuffer? Could you please check the UT again?

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
💙 reexec 0m 33s 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 32s master passed
💚 compile 0m 55s master passed
💚 checkstyle 1m 19s master passed
💚 shadedjars 4m 41s branch has no errors when building our shaded downstream artifacts.
💚 javadoc 0m 37s master passed
💙 spotbugs 4m 5s Used deprecated FindBugs config; considering switching to SpotBugs.
💚 findbugs 4m 3s master passed
_ Patch Compile Tests _
💚 mvninstall 5m 1s the patch passed
💚 compile 0m 56s the patch passed
💚 javac 0m 56s the patch passed
💚 checkstyle 1m 16s the patch passed
💚 whitespace 0m 0s The patch has no whitespace issues.
💚 shadedjars 4m 36s patch has no errors when building our shaded downstream artifacts.
💚 hadoopcheck 15m 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 10s the patch passed
_ Other Tests _
💚 unit 161m 55s hbase-server in the patch passed.
💚 asflicense 0m 35s The patch does not generate ASF License warnings.
219m 6s
Subsystem Report/Notes
Docker Client=19.03.4 Server=19.03.4 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-746/7/artifact/out/Dockerfile
GITHUB PR #746
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 31939d4f7bc4 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-746/out/precommit/personality/provided.sh
git revision master / 9a80618
Default Java 1.8.0_181
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-746/7/testReport/
Max. process+thread count 4477 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-746/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.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 40s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 1 new or modified test files.
_ master Compile Tests _
+1 💚 mvninstall 5m 30s master passed
+1 💚 compile 0m 56s master passed
+1 💚 checkstyle 1m 20s master passed
+1 💚 shadedjars 4m 37s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 0m 37s master passed
+0 🆗 spotbugs 4m 11s Used deprecated FindBugs config; considering switching to SpotBugs.
+1 💚 findbugs 4m 10s master passed
_ Patch Compile Tests _
+1 💚 mvninstall 5m 17s the patch passed
+1 💚 compile 1m 5s the patch passed
+1 💚 javac 1m 5s the patch passed
+1 💚 checkstyle 1m 30s the patch passed
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 shadedjars 5m 49s patch has no errors when building our shaded downstream artifacts.
+1 💚 hadoopcheck 18m 44s Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 💚 javadoc 0m 37s the patch passed
+1 💚 findbugs 4m 9s the patch passed
_ Other Tests _
+1 💚 unit 166m 9s hbase-server in the patch passed.
+1 💚 asflicense 0m 38s The patch does not generate ASF License warnings.
228m 32s
Subsystem Report/Notes
Docker Client=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-746/8/artifact/out/Dockerfile
GITHUB PR #746
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux c69d451a97c8 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-746/out/precommit/personality/provided.sh
git revision master / 73f3e1d
Default Java 1.8.0_181
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-746/8/testReport/
Max. process+thread count 4431 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-746/8/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 31s Docker mode activated.
_ Prechecks _
+1 💚 dupname 0m 0s No case conflicting files found.
+1 💚 hbaseanti 0m 0s Patch does not have any anti-patterns.
+1 💚 @author 0m 0s The patch does not contain any @author tags.
+1 💚 test4tests 0m 0s The patch appears to include 1 new or modified test files.
_ master Compile Tests _
+1 💚 mvninstall 5m 35s master passed
+1 💚 compile 1m 0s master passed
+1 💚 checkstyle 1m 31s master passed
+1 💚 shadedjars 5m 56s branch has no errors when building our shaded downstream artifacts.
+1 💚 javadoc 0m 41s master passed
+0 🆗 spotbugs 5m 24s Used deprecated FindBugs config; considering switching to SpotBugs.
+1 💚 findbugs 5m 21s master passed
_ Patch Compile Tests _
+1 💚 mvninstall 5m 39s the patch passed
+1 💚 compile 0m 59s the patch passed
+1 💚 javac 0m 59s the patch passed
+1 💚 checkstyle 1m 19s the patch passed
+1 💚 whitespace 0m 0s The patch has no whitespace issues.
+1 💚 shadedjars 4m 50s patch has no errors when building our shaded downstream artifacts.
+1 💚 hadoopcheck 16m 36s Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 💚 javadoc 0m 35s the patch passed
+1 💚 findbugs 4m 47s the patch passed
_ Other Tests _
+1 💚 unit 152m 44s hbase-server in the patch passed.
+1 💚 asflicense 0m 36s The patch does not generate ASF License warnings.
215m 14s
Subsystem Report/Notes
Docker Client=19.03.5 Server=19.03.5 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-746/9/artifact/out/Dockerfile
GITHUB PR #746
Optional Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux dbe2b61fe6a1 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-746/out/precommit/personality/provided.sh
git revision master / fbf660c
Default Java 1.8.0_181
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-746/9/testReport/
Max. process+thread count 4643 (vs. ulimit of 10000)
modules C: hbase-server U: hbase-server
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-746/9/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@saintstack
Copy link
Contributor

Can those who requested changes ok this last PR if they agree so we can get it in? Thanks.

@joshelser
Copy link
Member

I think Duo's request https://github.com/apache/hbase/pull/746/files#r341146952 still wasn't addressed (just use instanceof). I resolved the other outstanding request to do something different than catch the UnsupportedOperationException (extends RuntimeException) because I can't see anything else we can effectively do.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 0s Docker mode activated.
-1 ❌ patch 0m 4s #746 does not apply to master. Rebase required? Wrong Branch? See https://yetus.apache.org/documentation/in-progress/precommit-patchnames for help.
Subsystem Report/Notes
GITHUB PR #746
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-746/1/console
versions git=2.17.1
Powered by Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 0s Docker mode activated.
-1 ❌ patch 0m 3s #746 does not apply to master. Rebase required? Wrong Branch? See https://yetus.apache.org/documentation/in-progress/precommit-patchnames for help.
Subsystem Report/Notes
GITHUB PR #746
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-746/1/console
versions git=2.17.1
Powered by Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

1 similar comment
@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 0s Docker mode activated.
-1 ❌ patch 0m 3s #746 does not apply to master. Rebase required? Wrong Branch? See https://yetus.apache.org/documentation/in-progress/precommit-patchnames for help.
Subsystem Report/Notes
GITHUB PR #746
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-746/1/console
versions git=2.17.1
Powered by Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 0s Docker mode activated.
-1 ❌ patch 0m 2s #746 does not apply to master. Rebase required? Wrong Branch? See https://yetus.apache.org/documentation/in-progress/precommit-patchnames for help.
Subsystem Report/Notes
GITHUB PR #746
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-746/1/console
versions git=2.17.1
Powered by Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 0s Docker mode activated.
-1 ❌ patch 0m 3s #746 does not apply to master. Rebase required? Wrong Branch? See https://yetus.apache.org/documentation/in-progress/precommit-patchnames for help.
Subsystem Report/Notes
GITHUB PR #746
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-746/1/console
versions git=2.17.1
Powered by Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

1 similar comment
@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 0s Docker mode activated.
-1 ❌ patch 0m 3s #746 does not apply to master. Rebase required? Wrong Branch? See https://yetus.apache.org/documentation/in-progress/precommit-patchnames for help.
Subsystem Report/Notes
GITHUB PR #746
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-746/1/console
versions git=2.17.1
Powered by Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@saintstack
Copy link
Contributor

@zhaoyim mind addressing the conflicts and the last comment by Duo? Thanks.

@zhaoyim
Copy link
Contributor Author

zhaoyim commented Jun 8, 2020

@saintstack Sorry! I missed this issue. Sure! I will go through the commit then do the update based on Dou's comments This week. Thanks for reminder!

@zhaoyim
Copy link
Contributor Author

zhaoyim commented Jun 8, 2020

@saintstack @Apache9 I updated the commit use the instanceof replaced the isAssignableFrom, please help review again, Thanks!

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 0s Docker mode activated.
-1 ❌ patch 0m 3s #746 does not apply to master. Rebase required? Wrong Branch? See https://yetus.apache.org/documentation/in-progress/precommit-patchnames for help.
Subsystem Report/Notes
GITHUB PR #746
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-746/2/console
versions git=2.17.1
Powered by Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

2 similar comments
@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 0s Docker mode activated.
-1 ❌ patch 0m 3s #746 does not apply to master. Rebase required? Wrong Branch? See https://yetus.apache.org/documentation/in-progress/precommit-patchnames for help.
Subsystem Report/Notes
GITHUB PR #746
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-746/2/console
versions git=2.17.1
Powered by Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
+0 🆗 reexec 0m 0s Docker mode activated.
-1 ❌ patch 0m 3s #746 does not apply to master. Rebase required? Wrong Branch? See https://yetus.apache.org/documentation/in-progress/precommit-patchnames for help.
Subsystem Report/Notes
GITHUB PR #746
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-746/2/console
versions git=2.17.1
Powered by Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

Copy link
Member

@joshelser joshelser left a comment

Choose a reason for hiding this comment

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

One trivial change, otherwise lgtm.

Copy link
Member

@joshelser joshelser left a comment

Choose a reason for hiding this comment

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

LGTM

@joshelser
Copy link
Member

@Apache9 shout if you have any issues, please. Otherwise, I'll come back and merge this.

asfgit pushed a commit that referenced this pull request Jun 12, 2020
…ses that NOT implements CanUnbuffer but its parents class implements CanUnbuffer

Closes #746

Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
asfgit pushed a commit that referenced this pull request Jun 12, 2020
…ses that NOT implements CanUnbuffer but its parents class implements CanUnbuffer

Closes #746

Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
asfgit pushed a commit that referenced this pull request Jun 12, 2020
…ses that NOT implements CanUnbuffer but its parents class implements CanUnbuffer

Closes #746

Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
@asfgit asfgit closed this in 21fe873 Jun 12, 2020
clarax pushed a commit to clarax/hbase that referenced this pull request Nov 15, 2020
…ses that NOT implements CanUnbuffer but its parents class implements CanUnbuffer

Closes apache#746

Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
wchevreuil pushed a commit to wchevreuil/hbase that referenced this pull request May 24, 2021
…ses that NOT implements CanUnbuffer but its parents class implements CanUnbuffer

Closes apache#746

Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Josh Elser <elserj@apache.org>
(cherry picked from commit 0b73497)

Change-Id: Ic9c953930b69bf76f3d651b69a4c10896d1502b7
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.

7 participants