Skip to content

HBASE-22802 Avoid temp ByteBuffer allocation in FileIOEngine#read - #467

Closed
chenxu14 wants to merge 15 commits into
apache:masterfrom
chenxu14:HBASE-22802
Closed

HBASE-22802 Avoid temp ByteBuffer allocation in FileIOEngine#read#467
chenxu14 wants to merge 15 commits into
apache:masterfrom
chenxu14:HBASE-22802

Conversation

@chenxu14

Copy link
Copy Markdown
Contributor

No description provided.

@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.
_ master Compile Tests _
0mvndep36Maven dependency ordering for branch
+1mvninstall315master passed
+1compile75master passed
+1checkstyle99master passed
+1shadedjars271branch has no errors when building our shaded downstream artifacts.
+1javadoc55master passed
0spotbugs236Used deprecated FindBugs config; considering switching to SpotBugs.
+1findbugs282master passed
_ Patch Compile Tests _
0mvndep15Maven dependency ordering for patch
+1mvninstall295the patch passed
+1compile74the patch passed
+1javac74the patch passed
+1checkstyle95the patch passed
+1whitespace0The patch has no whitespace issues.
+1shadedjars270patch has no errors when building our shaded downstream artifacts.
+1hadoopcheck923Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1javadoc53the patch passed
+1findbugs296the patch passed
_ Other Tests _
+1unit173hbase-common in the patch passed.
-1unit17728hbase-server in the patch failed.
+1asflicense59The patch does not generate ASF License warnings.
21570
ReasonTests
Failed junit testshadoop.hbase.client.TestAsyncTableAdminApi3
hadoop.hbase.client.TestFromClientSide
hadoop.hbase.client.TestSnapshotDFSTemporaryDirectory
hadoop.hbase.client.TestSnapshotTemporaryDirectory
hadoop.hbase.client.TestCloneSnapshotFromClientNormal
SubsystemReport/Notes
DockerClient=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/1/artifact/out/Dockerfile
GITHUB PR#467
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 8d248d82b9e7 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-467/out/precommit/personality/provided.sh
git revisionmaster / 547cec4
Default Java1.8.0_181
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/1/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/1/testReport/
Max. process+thread count5322 (vs. ulimit of 10000)
modulesC: hbase-common hbase-server U: .
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/1/console
versionsgit=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered byApache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec71Docker 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.
_ master Compile Tests _
0mvndep69Maven dependency ordering for branch
+1mvninstall315master passed
+1compile74master passed
+1checkstyle98master passed
+1shadedjars268branch has no errors when building our shaded downstream artifacts.
+1javadoc56master passed
0spotbugs245Used deprecated FindBugs config; considering switching to SpotBugs.
+1findbugs294master passed
_ Patch Compile Tests _
0mvndep14Maven dependency ordering for patch
+1mvninstall299the patch passed
+1compile84the patch passed
+1javac84the patch passed
+1checkstyle102the patch passed
+1whitespace0The patch has no whitespace issues.
+1shadedjars276patch has no errors when building our shaded downstream artifacts.
+1hadoopcheck930Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1javadoc56the patch passed
+1findbugs311the patch passed
_ Other Tests _
+1unit169hbase-common in the patch passed.
-1unit16020hbase-server in the patch failed.
+1asflicense43The patch does not generate ASF License warnings.
19979
ReasonTests
Failed junit testshadoop.hbase.client.TestSnapshotTemporaryDirectory
hadoop.hbase.client.TestFromClientSide
SubsystemReport/Notes
DockerClient=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/2/artifact/out/Dockerfile
GITHUB PR#467
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 89c23a408b61 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-467/out/precommit/personality/provided.sh
git revisionmaster / 9250977
Default Java1.8.0_181
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/2/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/2/testReport/
Max. process+thread count5095 (vs. ulimit of 10000)
modulesC: hbase-common hbase-server U: .
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/2/console
versionsgit=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered byApache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec97Docker 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.
_ master Compile Tests _
0mvndep37Maven dependency ordering for branch
+1mvninstall349master passed
+1compile85master passed
+1checkstyle119master passed
+1shadedjars306branch has no errors when building our shaded downstream artifacts.
+1javadoc60master passed
0spotbugs274Used deprecated FindBugs config; considering switching to SpotBugs.
+1findbugs325master passed
_ Patch Compile Tests _
0mvndep15Maven dependency ordering for patch
+1mvninstall337the patch passed
+1compile83the patch passed
+1javac83the patch passed
+1checkstyle117the patch passed
+1whitespace0The patch has no whitespace issues.
+1shadedjars302patch has no errors when building our shaded downstream artifacts.
+1hadoopcheck1058Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1javadoc60the patch passed
+1findbugs345the patch passed
_ Other Tests _
+1unit180hbase-common in the patch passed.
-1unit14197hbase-server in the patch failed.
+1asflicense49The patch does not generate ASF License warnings.
18565
ReasonTests
Failed junit testshadoop.hbase.client.TestSnapshotTemporaryDirectory
hadoop.hbase.client.TestZKAsyncRegistry
SubsystemReport/Notes
DockerClient=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/3/artifact/out/Dockerfile
GITHUB PR#467
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux c7b977667f8f 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-467/out/precommit/personality/provided.sh
git revisionmaster / 9250977
Default Java1.8.0_181
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/3/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/3/testReport/
Max. process+thread count5014 (vs. ulimit of 10000)
modulesC: hbase-common hbase-server U: .
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/3/console
versionsgit=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered byApache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec77Docker 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.
_ master Compile Tests _
0mvndep36Maven dependency ordering for branch
+1mvninstall323master passed
+1compile77master passed
+1checkstyle111master passed
+1shadedjars275branch has no errors when building our shaded downstream artifacts.
+1javadoc55master passed
0spotbugs263Used deprecated FindBugs config; considering switching to SpotBugs.
+1findbugs308master passed
_ Patch Compile Tests _
0mvndep16Maven dependency ordering for patch
+1mvninstall313the patch passed
+1compile83the patch passed
+1javac83the patch passed
+1checkstyle111the patch passed
+1whitespace0The patch has no whitespace issues.
+1shadedjars279patch has no errors when building our shaded downstream artifacts.
+1hadoopcheck958Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1javadoc56the patch passed
+1findbugs330the patch passed
_ Other Tests _
+1unit172hbase-common in the patch passed.
-1unit13553hbase-server in the patch failed.
+1asflicense48The patch does not generate ASF License warnings.
17574
SubsystemReport/Notes
DockerClient=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/4/artifact/out/Dockerfile
GITHUB PR#467
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 054be957354c 4.15.0-48-generic #51-Ubuntu SMP Wed Apr 3 08:28:49 UTC 2019 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-467/out/precommit/personality/provided.sh
git revisionmaster / eb92b25
Default Java1.8.0_181
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/4/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/4/testReport/
Max. process+thread count4684 (vs. ulimit of 10000)
modulesC: hbase-common hbase-server U: .
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/4/console
versionsgit=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered byApache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@Apache9
Apache9 requested a review from openinxAugust 9, 2019 06:36
@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
0reexec40Docker 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.
_ master Compile Tests _
0mvndep39Maven dependency ordering for branch
+1mvninstall328master passed
+1compile74master passed
+1checkstyle108master passed
+1shadedjars283branch has no errors when building our shaded downstream artifacts.
+1javadoc57master passed
0spotbugs255Used deprecated FindBugs config; considering switching to SpotBugs.
+1findbugs306master passed
_ Patch Compile Tests _
0mvndep15Maven dependency ordering for patch
+1mvninstall304the patch passed
+1compile73the patch passed
+1javac73the patch passed
+1checkstyle94the patch passed
+1whitespace0The patch has no whitespace issues.
+1shadedjars281patch has no errors when building our shaded downstream artifacts.
+1hadoopcheck1034Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1javadoc54the patch passed
+1findbugs316the patch passed
_ Other Tests _
+1unit175hbase-common in the patch passed.
+1unit8967hbase-server in the patch passed.
+1asflicense46The patch does not generate ASF License warnings.
12992
SubsystemReport/Notes
DockerClient=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/5/artifact/out/Dockerfile
GITHUB PR#467
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux fb4b99969a41 4.4.0-157-generic #185-Ubuntu SMP Tue Jul 23 09:17:01 UTC 2019 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-467/out/precommit/personality/provided.sh
git revisionmaster / c05ee7c
Default Java1.8.0_181
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/5/testReport/
Max. process+thread count4582 (vs. ulimit of 10000)
modulesC: hbase-common hbase-server U: .
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/5/console
versionsgit=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
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.
_ master Compile Tests _
0mvndep63Maven dependency ordering for branch
+1mvninstall315master passed
+1compile82master passed
+1checkstyle103master passed
+1shadedjars299branch has no errors when building our shaded downstream artifacts.
+1javadoc61master passed
0spotbugs285Used deprecated FindBugs config; considering switching to SpotBugs.
+1findbugs337master passed
_ Patch Compile Tests _
0mvndep17Maven dependency ordering for patch
+1mvninstall339the patch passed
+1compile76the patch passed
+1javac76the patch passed
+1checkstyle98the patch passed
+1whitespace0The patch has no whitespace issues.
+1shadedjars295patch has no errors when building our shaded downstream artifacts.
+1hadoopcheck1063Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1javadoc54the patch passed
+1findbugs346the patch passed
_ Other Tests _
+1unit172hbase-common in the patch passed.
-1unit20629hbase-server in the patch failed.
+1asflicense98The patch does not generate ASF License warnings.
24932
ReasonTests
Failed junit testshadoop.hbase.client.TestSnapshotTemporaryDirectory
hadoop.hbase.replication.TestReplicationKillSlaveRSWithSeparateOldWALs
hadoop.hbase.security.access.TestSnapshotScannerHDFSAclController
hadoop.hbase.master.procedure.TestSCPWithReplicasWithoutZKCoordinated
hadoop.hbase.client.TestSnapshotDFSTemporaryDirectory
hadoop.hbase.master.procedure.TestRestoreSnapshotProcedure
hadoop.hbase.tool.TestBulkLoadHFiles
hadoop.hbase.client.TestFromClientSide
hadoop.hbase.replication.TestReplicationSmallTests
hadoop.hbase.client.TestAsyncRegionAdminApi2
hadoop.hbase.tool.TestSecureBulkLoadHFiles
hadoop.hbase.master.TestAssignmentManagerMetrics
hadoop.hbase.replication.TestReplicationKillSlaveRS
hadoop.hbase.client.TestAsyncTableAdminApi
hadoop.hbase.client.TestCloneSnapshotFromClientNormal
hadoop.hbase.replication.TestSerialSyncReplication
hadoop.hbase.master.assignment.TestMergeTableRegionsProcedure
hadoop.hbase.namespace.TestNamespaceAuditor
hadoop.hbase.master.procedure.TestProcedurePriority
SubsystemReport/Notes
DockerClient=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/6/artifact/out/Dockerfile
GITHUB PR#467
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 27973664ba36 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-467/out/precommit/personality/provided.sh
git revisionmaster / 989e09a
Default Java1.8.0_181
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/6/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/6/testReport/
Max. process+thread count4755 (vs. ulimit of 10000)
modulesC: hbase-common hbase-server U: .
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/6/console
versionsgit=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered byApache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
0reexec41Docker 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.
_ master Compile Tests _
0mvndep65Maven dependency ordering for branch
+1mvninstall319master passed
+1compile76master passed
+1checkstyle96master passed
+1shadedjars272branch has no errors when building our shaded downstream artifacts.
+1javadoc52master passed
0spotbugs254Used deprecated FindBugs config; considering switching to SpotBugs.
+1findbugs300master passed
_ Patch Compile Tests _
0mvndep16Maven dependency ordering for patch
+1mvninstall305the patch passed
+1compile77the patch passed
+1javac77the patch passed
+1checkstyle99the patch passed
+1whitespace0The patch has no whitespace issues.
+1shadedjars290patch has no errors when building our shaded downstream artifacts.
+1hadoopcheck953Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1javadoc49the patch passed
+1findbugs311the patch passed
_ Other Tests _
+1unit177hbase-common in the patch passed.
+1unit8824hbase-server in the patch passed.
+1asflicense50The patch does not generate ASF License warnings.
12762
SubsystemReport/Notes
DockerClient=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/7/artifact/out/Dockerfile
GITHUB PR#467
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 632e634135b2 4.4.0-157-generic #185-Ubuntu SMP Tue Jul 23 09:17:01 UTC 2019 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-467/out/precommit/personality/provided.sh
git revisionmaster / 0136b98
Default Java1.8.0_181
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/7/testReport/
Max. process+thread count4570 (vs. ulimit of 10000)
modulesC: hbase-common hbase-server U: .
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/7/console
versionsgit=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered byApache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec40Docker 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.
_ master Compile Tests _
0mvndep35Maven dependency ordering for branch
+1mvninstall315master passed
+1compile75master passed
+1checkstyle100master passed
+1shadedjars272branch has no errors when building our shaded downstream artifacts.
+1javadoc56master passed
0spotbugs242Used deprecated FindBugs config; considering switching to SpotBugs.
+1findbugs286master passed
_ Patch Compile Tests _
0mvndep17Maven dependency ordering for patch
+1mvninstall296the patch passed
+1compile81the patch passed
+1javac81the patch passed
+1checkstyle99the patch passed
+1whitespace0The patch has no whitespace issues.
+1shadedjars271patch has no errors when building our shaded downstream artifacts.
+1hadoopcheck923Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1javadoc56the patch passed
+1findbugs305the patch passed
_ Other Tests _
+1unit184hbase-common in the patch passed.
-1unit8280hbase-server in the patch failed.
+1asflicense60The patch does not generate ASF License warnings.
12132
SubsystemReport/Notes
DockerClient=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/8/artifact/out/Dockerfile
GITHUB PR#467
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux c3b71fb20e9b 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-467/out/precommit/personality/provided.sh
git revisionmaster / c8f57bf
Default Java1.8.0_181
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/8/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/8/testReport/
Max. process+thread count4413 (vs. ulimit of 10000)
modulesC: hbase-common hbase-server U: .
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/8/console
versionsgit=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered byApache Yetus 0.10.0 http://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. Looks great to me. Get someone closer in to review I'd say. Nice work.

return;
}
LOG.trace("Caching key={}, item={}", cacheKey, cachedItem);
if (LOG.isTraceEnabled()) {

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.

Don't need this if LOG.isTraceEnabled when using this logging form with the '{}' (Internally it does this test).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Correct

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
0reexec41Docker 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.
_ master Compile Tests _
0mvndep36Maven dependency ordering for branch
+1mvninstall309master passed
+1compile76master passed
+1checkstyle102master passed
+1shadedjars267branch has no errors when building our shaded downstream artifacts.
+1javadoc56master passed
0spotbugs240Used deprecated FindBugs config; considering switching to SpotBugs.
+1findbugs286master passed
_ Patch Compile Tests _
0mvndep14Maven dependency ordering for patch
+1mvninstall299the patch passed
+1compile77the patch passed
+1javac77the patch passed
+1checkstyle100the patch passed
+1whitespace0The patch has no whitespace issues.
+1shadedjars272patch has no errors when building our shaded downstream artifacts.
+1hadoopcheck935Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1javadoc55the patch passed
+1findbugs313the patch passed
_ Other Tests _
+1unit184hbase-common in the patch passed.
+1unit8383hbase-server in the patch passed.
+1asflicense51The patch does not generate ASF License warnings.
12239
SubsystemReport/Notes
DockerClient=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/9/artifact/out/Dockerfile
GITHUB PR#467
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux d8653ea606f0 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-467/out/precommit/personality/provided.sh
git revisionmaster / 15c903b
Default Java1.8.0_181
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/9/testReport/
Max. process+thread count4600 (vs. ulimit of 10000)
modulesC: hbase-common hbase-server U: .
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/9/console
versionsgit=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered byApache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

return (nBytes > 0) ? nBytes : ret;
}

public static int fileRead(FileChannel channel, ByteBuffer buf, long offset)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks like we could make some abstraction between the existed channelRead(...) and the newly introduced fileRead (...) ? Similar with the ByteBufferArray#read & ByteBufferArray#write.. Please take a look.

break;
}
} finally {
buf.limit(originalLimit);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Only reset the limit ? should we also reset the position ?

}

@Override
public int read(FileChannel channel, long offset) throws IOException {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should also make the abstraction between MultiByteBuff#read and MultiByteBuff#write ? As said above.

return;
}
LOG.trace("Caching key={}, item={}", cacheKey, cachedItem);
if (LOG.isTraceEnabled()) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Correct

Cacheable cachedBlock = ioEngine.read(bucketEntry);
// RPC start to reference, so retain here.
cachedBlock.retain();
if (ioEngine.usesSharedMemory()) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

One big concern here: now for exclusive memory IOEngine, the refCnt value of all bucketEntry will be 1, means the reference from BucketCache, no RPC reference. Then I think the BucketCache's eviction policy would always evict those blocks despite that the RPC is still using the block, not say the memory leak issue , but the eviction policy is evicting those RPC referring blocks (violate the LRU ? )....

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 eviction policy will compare BucketEntry with it’s accessCounter, so this will not violate the LRU?

return wrapAsCacheable(ByteBuff.wrap(buffers, this.refCnt));
}

Cacheable wrapAsCacheable(ByteBuff buf) throws IOException {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

That's a good thing, make the wrapAsCacheable into two methods. the SharedIOEngine use the former one, and the ExclusiveIOEngine use the later one. Good.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec65Docker 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.
_ master Compile Tests _
0mvndep34Maven dependency ordering for branch
+1mvninstall339master passed
+1compile80master passed
+1checkstyle117master passed
+1shadedjars292branch has no errors when building our shaded downstream artifacts.
+1javadoc55master passed
0spotbugs240Used deprecated FindBugs config; considering switching to SpotBugs.
+1findbugs288master passed
_ Patch Compile Tests _
0mvndep16Maven dependency ordering for patch
+1mvninstall325the patch passed
+1compile79the patch passed
+1javac79the patch passed
+1checkstyle112the patch passed
+1whitespace0The patch has no whitespace issues.
+1shadedjars298patch has no errors when building our shaded downstream artifacts.
+1hadoopcheck1011Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1javadoc55the patch passed
+1findbugs327the patch passed
_ Other Tests _
+1unit176hbase-common in the patch passed.
-1unit13548hbase-server in the patch failed.
+1asflicense56The patch does not generate ASF License warnings.
17690
SubsystemReport/Notes
DockerClient=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/10/artifact/out/Dockerfile
GITHUB PR#467
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux a949804a27ce 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-467/out/precommit/personality/provided.sh
git revisionmaster / e938215
Default Java1.8.0_181
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/10/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/10/testReport/
Max. process+thread count4711 (vs. ulimit of 10000)
modulesC: hbase-common hbase-server U: .
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/10/console
versionsgit=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered byApache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
0reexec51Docker 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.
_ master Compile Tests _
0mvndep59Maven dependency ordering for branch
+1mvninstall306master passed
+1compile76master passed
+1checkstyle101master passed
+1shadedjars259branch has no errors when building our shaded downstream artifacts.
+1javadoc51master passed
0spotbugs234Used deprecated FindBugs config; considering switching to SpotBugs.
+1findbugs279master passed
_ Patch Compile Tests _
0mvndep16Maven dependency ordering for patch
+1mvninstall280the patch passed
+1compile73the patch passed
+1javac73the patch passed
+1checkstyle91the patch passed
+1whitespace0The patch has no whitespace issues.
+1shadedjars467patch has no errors when building our shaded downstream artifacts.
+1hadoopcheck892Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1javadoc52the patch passed
+1findbugs302the patch passed
_ Other Tests _
+1unit177hbase-common in the patch passed.
+1unit8517hbase-server in the patch passed.
+1asflicense39The patch does not generate ASF License warnings.
12459
SubsystemReport/Notes
DockerClient=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/11/artifact/out/Dockerfile
GITHUB PR#467
Optional Testsdupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 5c1d53a4a919 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018 x86_64 GNU/Linux
Build toolmaven
Personality/home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-467/out/precommit/personality/provided.sh
git revisionmaster / 3867fae
Default Java1.8.0_181
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/11/testReport/
Max. process+thread count4551 (vs. ulimit of 10000)
modulesC: hbase-common hbase-server U: .
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/11/console
versionsgit=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered byApache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

mymeiyiand others added 14 commits August 12, 2019 23:37
…sabled table (#465)
Signed-off-by: Stack <stack@apache.org>
…ck chore (#466)
Signed-off-by: Guanghao Zhang <zghao@apache.org>
Signed-off-by: Wellington Chevreuil <wchevreuil@apache.org>
)
Signed-off-by: Andrew Purtell <apurtell@apache.org>
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Jan Hentschel <jan.hentschel@ultratendency.com>
Signed-off-by: stack <stack@apache.org>
Signed-off-by: Duo Zhang <zhangduo@apache.org>
@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec0Docker mode activated.
-1patch16#467 does not apply to master. Rebase required? Wrong Branch? See https://yetus.apache.org/documentation/in-progress/precommit-patchnames for help.
SubsystemReport/Notes
GITHUB PR#467
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/13/console
versionsgit=2.7.4
Powered byApache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@chenxu14

Copy link
Copy Markdown
ContributorAuthor

sorry, do the wrong rebase, close this pr first

@chenxu14
chenxu14 deleted the HBASE-22802 branch August 12, 2019 15:57
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.

12 participants

@chenxu14@Apache-HBase@saintstack@openinx@mymeiyi@infraio@the-sakthi@daisukebe@gjacoby126@HorizonNet@murtazahassan123@ArthurSXL8