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-22802 Avoid temp ByteBuffer allocation in FileIOEngine#read #467

Closed
wants to merge 15 commits into from

Conversation

chenxu14
Copy link
Contributor

@chenxu14 chenxu14 commented Aug 8, 2019

No description provided.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 66 Docker mode activated.
_ Prechecks _
+1 dupname 0 No case conflicting files found.
+1 hbaseanti 0 Patch does not have any anti-patterns.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 1 new or modified test files.
_ master Compile Tests _
0 mvndep 36 Maven dependency ordering for branch
+1 mvninstall 315 master passed
+1 compile 75 master passed
+1 checkstyle 99 master passed
+1 shadedjars 271 branch has no errors when building our shaded downstream artifacts.
+1 javadoc 55 master passed
0 spotbugs 236 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 282 master passed
_ Patch Compile Tests _
0 mvndep 15 Maven dependency ordering for patch
+1 mvninstall 295 the patch passed
+1 compile 74 the patch passed
+1 javac 74 the patch passed
+1 checkstyle 95 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedjars 270 patch has no errors when building our shaded downstream artifacts.
+1 hadoopcheck 923 Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 javadoc 53 the patch passed
+1 findbugs 296 the patch passed
_ Other Tests _
+1 unit 173 hbase-common in the patch passed.
-1 unit 17728 hbase-server in the patch failed.
+1 asflicense 59 The patch does not generate ASF License warnings.
21570
Reason Tests
Failed junit tests hadoop.hbase.client.TestAsyncTableAdminApi3
hadoop.hbase.client.TestFromClientSide
hadoop.hbase.client.TestSnapshotDFSTemporaryDirectory
hadoop.hbase.client.TestSnapshotTemporaryDirectory
hadoop.hbase.client.TestCloneSnapshotFromClientNormal
Subsystem Report/Notes
Docker Client=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 Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 8d248d82b9e7 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-467/out/precommit/personality/provided.sh
git revision master / 547cec4
Default Java 1.8.0_181
unit https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/1/artifact/out/patch-unit-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/1/testReport/
Max. process+thread count 5322 (vs. ulimit of 10000)
modules C: hbase-common hbase-server U: .
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/1/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 71 Docker mode activated.
_ Prechecks _
+1 dupname 0 No case conflicting files found.
+1 hbaseanti 0 Patch does not have any anti-patterns.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 1 new or modified test files.
_ master Compile Tests _
0 mvndep 69 Maven dependency ordering for branch
+1 mvninstall 315 master passed
+1 compile 74 master passed
+1 checkstyle 98 master passed
+1 shadedjars 268 branch has no errors when building our shaded downstream artifacts.
+1 javadoc 56 master passed
0 spotbugs 245 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 294 master passed
_ Patch Compile Tests _
0 mvndep 14 Maven dependency ordering for patch
+1 mvninstall 299 the patch passed
+1 compile 84 the patch passed
+1 javac 84 the patch passed
+1 checkstyle 102 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedjars 276 patch has no errors when building our shaded downstream artifacts.
+1 hadoopcheck 930 Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 javadoc 56 the patch passed
+1 findbugs 311 the patch passed
_ Other Tests _
+1 unit 169 hbase-common in the patch passed.
-1 unit 16020 hbase-server in the patch failed.
+1 asflicense 43 The patch does not generate ASF License warnings.
19979
Reason Tests
Failed junit tests hadoop.hbase.client.TestSnapshotTemporaryDirectory
hadoop.hbase.client.TestFromClientSide
Subsystem Report/Notes
Docker Client=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 Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 89c23a408b61 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-467/out/precommit/personality/provided.sh
git revision master / 9250977
Default Java 1.8.0_181
unit https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/2/artifact/out/patch-unit-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/2/testReport/
Max. process+thread count 5095 (vs. ulimit of 10000)
modules C: hbase-common hbase-server U: .
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/2/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 97 Docker mode activated.
_ Prechecks _
+1 dupname 0 No case conflicting files found.
+1 hbaseanti 0 Patch does not have any anti-patterns.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 1 new or modified test files.
_ master Compile Tests _
0 mvndep 37 Maven dependency ordering for branch
+1 mvninstall 349 master passed
+1 compile 85 master passed
+1 checkstyle 119 master passed
+1 shadedjars 306 branch has no errors when building our shaded downstream artifacts.
+1 javadoc 60 master passed
0 spotbugs 274 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 325 master passed
_ Patch Compile Tests _
0 mvndep 15 Maven dependency ordering for patch
+1 mvninstall 337 the patch passed
+1 compile 83 the patch passed
+1 javac 83 the patch passed
+1 checkstyle 117 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedjars 302 patch has no errors when building our shaded downstream artifacts.
+1 hadoopcheck 1058 Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 javadoc 60 the patch passed
+1 findbugs 345 the patch passed
_ Other Tests _
+1 unit 180 hbase-common in the patch passed.
-1 unit 14197 hbase-server in the patch failed.
+1 asflicense 49 The patch does not generate ASF License warnings.
18565
Reason Tests
Failed junit tests hadoop.hbase.client.TestSnapshotTemporaryDirectory
hadoop.hbase.client.TestZKAsyncRegistry
Subsystem Report/Notes
Docker Client=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 Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux c7b977667f8f 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-467/out/precommit/personality/provided.sh
git revision master / 9250977
Default Java 1.8.0_181
unit https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/3/artifact/out/patch-unit-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/3/testReport/
Max. process+thread count 5014 (vs. ulimit of 10000)
modules C: hbase-common hbase-server U: .
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/3/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 77 Docker mode activated.
_ Prechecks _
+1 dupname 0 No case conflicting files found.
+1 hbaseanti 0 Patch does not have any anti-patterns.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 1 new or modified test files.
_ master Compile Tests _
0 mvndep 36 Maven dependency ordering for branch
+1 mvninstall 323 master passed
+1 compile 77 master passed
+1 checkstyle 111 master passed
+1 shadedjars 275 branch has no errors when building our shaded downstream artifacts.
+1 javadoc 55 master passed
0 spotbugs 263 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 308 master passed
_ Patch Compile Tests _
0 mvndep 16 Maven dependency ordering for patch
+1 mvninstall 313 the patch passed
+1 compile 83 the patch passed
+1 javac 83 the patch passed
+1 checkstyle 111 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedjars 279 patch has no errors when building our shaded downstream artifacts.
+1 hadoopcheck 958 Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 javadoc 56 the patch passed
+1 findbugs 330 the patch passed
_ Other Tests _
+1 unit 172 hbase-common in the patch passed.
-1 unit 13553 hbase-server in the patch failed.
+1 asflicense 48 The patch does not generate ASF License warnings.
17574
Subsystem Report/Notes
Docker Client=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 Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 054be957354c 4.15.0-48-generic #51-Ubuntu SMP Wed Apr 3 08:28:49 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-467/out/precommit/personality/provided.sh
git revision master / eb92b25
Default Java 1.8.0_181
unit https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/4/artifact/out/patch-unit-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/4/testReport/
Max. process+thread count 4684 (vs. ulimit of 10000)
modules C: hbase-common hbase-server U: .
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/4/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@Apache9 Apache9 requested a review from openinx August 9, 2019 06:36
@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
0 reexec 40 Docker mode activated.
_ Prechecks _
+1 dupname 0 No case conflicting files found.
+1 hbaseanti 0 Patch does not have any anti-patterns.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 1 new or modified test files.
_ master Compile Tests _
0 mvndep 39 Maven dependency ordering for branch
+1 mvninstall 328 master passed
+1 compile 74 master passed
+1 checkstyle 108 master passed
+1 shadedjars 283 branch has no errors when building our shaded downstream artifacts.
+1 javadoc 57 master passed
0 spotbugs 255 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 306 master passed
_ Patch Compile Tests _
0 mvndep 15 Maven dependency ordering for patch
+1 mvninstall 304 the patch passed
+1 compile 73 the patch passed
+1 javac 73 the patch passed
+1 checkstyle 94 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedjars 281 patch has no errors when building our shaded downstream artifacts.
+1 hadoopcheck 1034 Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 javadoc 54 the patch passed
+1 findbugs 316 the patch passed
_ Other Tests _
+1 unit 175 hbase-common in the patch passed.
+1 unit 8967 hbase-server in the patch passed.
+1 asflicense 46 The patch does not generate ASF License warnings.
12992
Subsystem Report/Notes
Docker Client=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 Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux fb4b99969a41 4.4.0-157-generic #185-Ubuntu SMP Tue Jul 23 09:17:01 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-467/out/precommit/personality/provided.sh
git revision master / c05ee7c
Default Java 1.8.0_181
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/5/testReport/
Max. process+thread count 4582 (vs. ulimit of 10000)
modules C: hbase-common hbase-server U: .
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/5/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 78 Docker mode activated.
_ Prechecks _
+1 dupname 0 No case conflicting files found.
+1 hbaseanti 0 Patch does not have any anti-patterns.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 1 new or modified test files.
_ master Compile Tests _
0 mvndep 63 Maven dependency ordering for branch
+1 mvninstall 315 master passed
+1 compile 82 master passed
+1 checkstyle 103 master passed
+1 shadedjars 299 branch has no errors when building our shaded downstream artifacts.
+1 javadoc 61 master passed
0 spotbugs 285 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 337 master passed
_ Patch Compile Tests _
0 mvndep 17 Maven dependency ordering for patch
+1 mvninstall 339 the patch passed
+1 compile 76 the patch passed
+1 javac 76 the patch passed
+1 checkstyle 98 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedjars 295 patch has no errors when building our shaded downstream artifacts.
+1 hadoopcheck 1063 Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 javadoc 54 the patch passed
+1 findbugs 346 the patch passed
_ Other Tests _
+1 unit 172 hbase-common in the patch passed.
-1 unit 20629 hbase-server in the patch failed.
+1 asflicense 98 The patch does not generate ASF License warnings.
24932
Reason Tests
Failed junit tests hadoop.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
Subsystem Report/Notes
Docker Client=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 Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 27973664ba36 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-467/out/precommit/personality/provided.sh
git revision master / 989e09a
Default Java 1.8.0_181
unit https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/6/artifact/out/patch-unit-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/6/testReport/
Max. process+thread count 4755 (vs. ulimit of 10000)
modules C: hbase-common hbase-server U: .
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/6/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
0 reexec 41 Docker mode activated.
_ Prechecks _
+1 dupname 0 No case conflicting files found.
+1 hbaseanti 0 Patch does not have any anti-patterns.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 1 new or modified test files.
_ master Compile Tests _
0 mvndep 65 Maven dependency ordering for branch
+1 mvninstall 319 master passed
+1 compile 76 master passed
+1 checkstyle 96 master passed
+1 shadedjars 272 branch has no errors when building our shaded downstream artifacts.
+1 javadoc 52 master passed
0 spotbugs 254 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 300 master passed
_ Patch Compile Tests _
0 mvndep 16 Maven dependency ordering for patch
+1 mvninstall 305 the patch passed
+1 compile 77 the patch passed
+1 javac 77 the patch passed
+1 checkstyle 99 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedjars 290 patch has no errors when building our shaded downstream artifacts.
+1 hadoopcheck 953 Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 javadoc 49 the patch passed
+1 findbugs 311 the patch passed
_ Other Tests _
+1 unit 177 hbase-common in the patch passed.
+1 unit 8824 hbase-server in the patch passed.
+1 asflicense 50 The patch does not generate ASF License warnings.
12762
Subsystem Report/Notes
Docker Client=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 Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 632e634135b2 4.4.0-157-generic #185-Ubuntu SMP Tue Jul 23 09:17:01 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-467/out/precommit/personality/provided.sh
git revision master / 0136b98
Default Java 1.8.0_181
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/7/testReport/
Max. process+thread count 4570 (vs. ulimit of 10000)
modules C: hbase-common hbase-server U: .
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/7/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 40 Docker mode activated.
_ Prechecks _
+1 dupname 0 No case conflicting files found.
+1 hbaseanti 0 Patch does not have any anti-patterns.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 1 new or modified test files.
_ master Compile Tests _
0 mvndep 35 Maven dependency ordering for branch
+1 mvninstall 315 master passed
+1 compile 75 master passed
+1 checkstyle 100 master passed
+1 shadedjars 272 branch has no errors when building our shaded downstream artifacts.
+1 javadoc 56 master passed
0 spotbugs 242 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 286 master passed
_ Patch Compile Tests _
0 mvndep 17 Maven dependency ordering for patch
+1 mvninstall 296 the patch passed
+1 compile 81 the patch passed
+1 javac 81 the patch passed
+1 checkstyle 99 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedjars 271 patch has no errors when building our shaded downstream artifacts.
+1 hadoopcheck 923 Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 javadoc 56 the patch passed
+1 findbugs 305 the patch passed
_ Other Tests _
+1 unit 184 hbase-common in the patch passed.
-1 unit 8280 hbase-server in the patch failed.
+1 asflicense 60 The patch does not generate ASF License warnings.
12132
Subsystem Report/Notes
Docker Client=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 Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux c3b71fb20e9b 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-467/out/precommit/personality/provided.sh
git revision master / c8f57bf
Default Java 1.8.0_181
unit https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/8/artifact/out/patch-unit-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/8/testReport/
Max. process+thread count 4413 (vs. ulimit of 10000)
modules C: hbase-common hbase-server U: .
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/8/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

Copy link
Contributor

@saintstack saintstack left a comment

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.

@@ -429,7 +429,9 @@ private void cacheBlockWithWaitInternal(BlockCacheKey cacheKey, Cacheable cached
if (!cacheEnabled) {
return;
}
LOG.trace("Caching key={}, item={}", cacheKey, cachedItem);
if (LOG.isTraceEnabled()) {
Copy link
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
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

🎊 +1 overall

Vote Subsystem Runtime Comment
0 reexec 41 Docker mode activated.
_ Prechecks _
+1 dupname 0 No case conflicting files found.
+1 hbaseanti 0 Patch does not have any anti-patterns.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 1 new or modified test files.
_ master Compile Tests _
0 mvndep 36 Maven dependency ordering for branch
+1 mvninstall 309 master passed
+1 compile 76 master passed
+1 checkstyle 102 master passed
+1 shadedjars 267 branch has no errors when building our shaded downstream artifacts.
+1 javadoc 56 master passed
0 spotbugs 240 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 286 master passed
_ Patch Compile Tests _
0 mvndep 14 Maven dependency ordering for patch
+1 mvninstall 299 the patch passed
+1 compile 77 the patch passed
+1 javac 77 the patch passed
+1 checkstyle 100 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedjars 272 patch has no errors when building our shaded downstream artifacts.
+1 hadoopcheck 935 Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 javadoc 55 the patch passed
+1 findbugs 313 the patch passed
_ Other Tests _
+1 unit 184 hbase-common in the patch passed.
+1 unit 8383 hbase-server in the patch passed.
+1 asflicense 51 The patch does not generate ASF License warnings.
12239
Subsystem Report/Notes
Docker Client=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 Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux d8653ea606f0 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-467/out/precommit/personality/provided.sh
git revision master / 15c903b
Default Java 1.8.0_181
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/9/testReport/
Max. process+thread count 4600 (vs. ulimit of 10000)
modules C: hbase-common hbase-server U: .
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/9/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@@ -475,6 +486,32 @@ public static int channelRead(ReadableByteChannel channel, ByteBuffer buf) throw
return (nBytes > 0) ? nBytes : ret;
}

public static int fileRead(FileChannel channel, ByteBuffer buf, long offset)
Copy link
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
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 ?

@@ -1086,6 +1087,48 @@ public int read(ReadableByteChannel channel) throws IOException {
return total;
}

@Override
public int read(FileChannel channel, long offset) throws IOException {
Copy link
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.

@@ -429,7 +429,9 @@ private void cacheBlockWithWaitInternal(BlockCacheKey cacheKey, Cacheable cached
if (!cacheEnabled) {
return;
}
LOG.trace("Caching key={}, item={}", cacheKey, cachedItem);
if (LOG.isTraceEnabled()) {
Copy link
Member

Choose a reason for hiding this comment

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

Correct

@@ -502,8 +504,10 @@ public Cacheable getBlock(BlockCacheKey key, boolean caching, boolean repeat,
// block will use the refCnt of bucketEntry, which means if two HFileBlock mapping to
// the same BucketEntry, then all of the three will share the same refCnt.
Cacheable cachedBlock = ioEngine.read(bucketEntry);
// RPC start to reference, so retain here.
cachedBlock.retain();
if (ioEngine.usesSharedMemory()) {
Copy link
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
Contributor Author

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

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 65 Docker mode activated.
_ Prechecks _
+1 dupname 0 No case conflicting files found.
+1 hbaseanti 0 Patch does not have any anti-patterns.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 1 new or modified test files.
_ master Compile Tests _
0 mvndep 34 Maven dependency ordering for branch
+1 mvninstall 339 master passed
+1 compile 80 master passed
+1 checkstyle 117 master passed
+1 shadedjars 292 branch has no errors when building our shaded downstream artifacts.
+1 javadoc 55 master passed
0 spotbugs 240 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 288 master passed
_ Patch Compile Tests _
0 mvndep 16 Maven dependency ordering for patch
+1 mvninstall 325 the patch passed
+1 compile 79 the patch passed
+1 javac 79 the patch passed
+1 checkstyle 112 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedjars 298 patch has no errors when building our shaded downstream artifacts.
+1 hadoopcheck 1011 Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 javadoc 55 the patch passed
+1 findbugs 327 the patch passed
_ Other Tests _
+1 unit 176 hbase-common in the patch passed.
-1 unit 13548 hbase-server in the patch failed.
+1 asflicense 56 The patch does not generate ASF License warnings.
17690
Subsystem Report/Notes
Docker Client=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 Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux a949804a27ce 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-467/out/precommit/personality/provided.sh
git revision master / e938215
Default Java 1.8.0_181
unit https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/10/artifact/out/patch-unit-hbase-server.txt
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/10/testReport/
Max. process+thread count 4711 (vs. ulimit of 10000)
modules C: hbase-common hbase-server U: .
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/10/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase
Copy link

🎊 +1 overall

Vote Subsystem Runtime Comment
0 reexec 51 Docker mode activated.
_ Prechecks _
+1 dupname 0 No case conflicting files found.
+1 hbaseanti 0 Patch does not have any anti-patterns.
+1 @author 0 The patch does not contain any @author tags.
+1 test4tests 0 The patch appears to include 1 new or modified test files.
_ master Compile Tests _
0 mvndep 59 Maven dependency ordering for branch
+1 mvninstall 306 master passed
+1 compile 76 master passed
+1 checkstyle 101 master passed
+1 shadedjars 259 branch has no errors when building our shaded downstream artifacts.
+1 javadoc 51 master passed
0 spotbugs 234 Used deprecated FindBugs config; considering switching to SpotBugs.
+1 findbugs 279 master passed
_ Patch Compile Tests _
0 mvndep 16 Maven dependency ordering for patch
+1 mvninstall 280 the patch passed
+1 compile 73 the patch passed
+1 javac 73 the patch passed
+1 checkstyle 91 the patch passed
+1 whitespace 0 The patch has no whitespace issues.
+1 shadedjars 467 patch has no errors when building our shaded downstream artifacts.
+1 hadoopcheck 892 Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1 javadoc 52 the patch passed
+1 findbugs 302 the patch passed
_ Other Tests _
+1 unit 177 hbase-common in the patch passed.
+1 unit 8517 hbase-server in the patch passed.
+1 asflicense 39 The patch does not generate ASF License warnings.
12459
Subsystem Report/Notes
Docker Client=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 Tests dupname asflicense javac javadoc unit spotbugs findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
uname Linux 5c1d53a4a919 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018 x86_64 GNU/Linux
Build tool maven
Personality /home/jenkins/jenkins-slave/workspace/HBase-PreCommit-GitHub-PR_PR-467/out/precommit/personality/provided.sh
git revision master / 3867fae
Default Java 1.8.0_181
Test Results https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/11/testReport/
Max. process+thread count 4551 (vs. ulimit of 10000)
modules C: hbase-common hbase-server U: .
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/11/console
versions git=2.11.0 maven=2018-06-17T18:33:14Z) findbugs=3.1.11
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

mymeiyi and others added 14 commits August 12, 2019 23:37
…sabled table (apache#465)

Signed-off-by: Stack <stack@apache.org>
…ck chore (apache#466)

Signed-off-by: Guanghao Zhang <zghao@apache.org>
Signed-off-by: Wellington Chevreuil <wchevreuil@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

💔 -1 overall

Vote Subsystem Runtime Comment
0 reexec 0 Docker mode activated.
-1 patch 16 #467 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 #467
Console output https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-467/13/console
versions git=2.7.4
Powered by Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@chenxu14
Copy link
Contributor Author

sorry, do the wrong rebase, close this pr first

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