Skip to content

HBASE-22271 Implement grant/revoke/delete table acls/delete namespace acls in Procedure - #168

Closed
mymeiyi wants to merge 1 commit into
apache:masterfrom
mymeiyi:acl-pv2
Closed

HBASE-22271 Implement grant/revoke/delete table acls/delete namespace acls in Procedure#168
mymeiyi wants to merge 1 commit into
apache:masterfrom
mymeiyi:acl-pv2

Conversation

@mymeiyi

Copy link
Copy Markdown
Contributor

Use UpdatePermissionProcedure to implement grant/revoke and RemovePermissionProcedure to implement delete namespace or table acls when delete namespace or table.

private void updatePermissionStorage(MasterProcedureEnv env) throws IOException {
try (Table table =
env.getMasterServices().getConnection().getTable(PermissionStorage.ACL_TABLE_NAME)) {
// update permission to acl table

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

whitespace:end of line

switch (state) {
case UPDATE_PERMISSION_STORAGE:
try {
// update permission in acl table and acl znode

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

whitespace:end of line

} catch (KeeperException e) {
LOG.error("Failed deleting acl node '{}'", zkNode, e);
watcher.abort("Failed deleting node " + zkNode, e);
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

whitespace:end of line

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec39Docker mode activated.
_ Prechecks _
+1hbaseanti0Patch does not have any anti-patterns.
+1@author0The patch does not contain any @author tags.
+1test4tests0The patch appears to include 7 new or modified test files.
_ master Compile Tests _
0mvndep33Maven dependency ordering for branch
+1mvninstall300master passed
+1compile113master passed
+1checkstyle91master passed
+1shadedjars370branch has no errors when building our shaded downstream artifacts.
+1findbugs623master passed
+1javadoc63master passed
_ Patch Compile Tests _
0mvndep15Maven dependency ordering for patch
+1mvninstall302the patch passed
+1compile124the patch passed
+1cc124the patch passed
+1javac124the patch passed
-1checkstyle79hbase-server: The patch generated 4 new + 297 unchanged - 4 fixed = 301 total (was 301)
-1whitespace0The patch has 3 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
+1shadedjars349patch has no errors when building our shaded downstream artifacts.
+1hadoopcheck654Patch does not cause any errors with Hadoop 2.7.4 or 3.0.0.
+1hbaseprotoc118the patch passed
+1findbugs506the patch passed
+1javadoc62the patch passed
_ Other Tests _
+1unit47hbase-protocol-shaded in the patch passed.
-1unit20430hbase-server in the patch failed.
+1asflicense59The patch does not generate ASF License warnings.
24502
ReasonTests
Failed junit testshadoop.hbase.client.TestAsyncTableRegionReplicasGet
hadoop.hbase.TestIOFencing
hadoop.hbase.master.balancer.TestStochasticLoadBalancerRegionReplicaLargeCluster
hadoop.hbase.client.TestScannersFromClientSide2
hadoop.hbase.filter.TestFuzzyRowFilterEndToEnd
hadoop.hbase.master.balancer.TestStochasticLoadBalancerRegionReplicaSameHosts
hadoop.hbase.coprocessor.TestMetaTableMetrics
hadoop.hbase.client.TestAsyncTableRegionReplicasScan
hadoop.hbase.client.TestMobSnapshotCloneIndependence
hadoop.hbase.regionserver.TestEncryptionKeyRotation
hadoop.hbase.master.balancer.TestStochasticLoadBalancerRegionReplicaHighReplication
hadoop.hbase.replication.regionserver.TestWALEntryStream
SubsystemReport/Notes
DockerClient=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/1/artifact/out/Dockerfile
GITHUB PR#168
Optional Testsdupname asflicense cc unit hbaseprotoc javac javadoc findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux 3dbf645df018 4.4.0-131-generic #157-Ubuntu SMP Thu Jul 12 15:51:36 UTC 2018 x86_64 GNU/Linux
Build toolmaven
Personality/testptch/patchprocess/precommit/personality/provided.sh
git revisionmaster / 268bcce
mavenversion: Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z)
Default Java1.8.0_181
findbugsv3.1.11
checkstylehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/1/artifact/out/diff-checkstyle-hbase-server.txt
whitespacehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/1/artifact/out/whitespace-eol.txt
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/1/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/1/testReport/
Max. process+thread count4356 (vs. ulimit of 10000)
modulesC: hbase-protocol-shaded hbase-server U: .
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/1/console
Powered byApache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

private void updatePermissionStorage(MasterProcedureEnv env) throws IOException {
try (Table table =
env.getMasterServices().getConnection().getTable(PermissionStorage.ACL_TABLE_NAME)) {
// update permission to acl table

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

whitespace:end of line

switch (state) {
case UPDATE_PERMISSION_STORAGE:
try {
// update permission in acl table and acl znode

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

whitespace:end of line

} catch (KeeperException e) {
LOG.error("Failed deleting acl node '{}'", zkNode, e);
watcher.abort("Failed deleting node " + zkNode, e);
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

whitespace:end of line

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec20Docker mode activated.
_ Prechecks _
+1hbaseanti0Patch does not have any anti-patterns.
+1@author0The patch does not contain any @author tags.
+1test4tests0The patch appears to include 7 new or modified test files.
_ master Compile Tests _
0mvndep26Maven dependency ordering for branch
+1mvninstall294master passed
+1compile104master passed
+1checkstyle95master passed
+1shadedjars302branch has no errors when building our shaded downstream artifacts.
+1findbugs420master passed
+1javadoc47master passed
_ Patch Compile Tests _
0mvndep15Maven dependency ordering for patch
+1mvninstall260the patch passed
+1compile93the patch passed
+1cc93the patch passed
+1javac93the patch passed
-1checkstyle79hbase-server: The patch generated 4 new + 297 unchanged - 4 fixed = 301 total (was 301)
-1whitespace0The patch has 3 line(s) that end in whitespace. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply
+1shadedjars285patch has no errors when building our shaded downstream artifacts.
+1hadoopcheck625Patch does not cause any errors with Hadoop 2.7.4 or 3.0.0.
+1hbaseprotoc82the patch passed
+1findbugs417the patch passed
+1javadoc46the patch passed
_ Other Tests _
+1unit38hbase-protocol-shaded in the patch passed.
-1unit7654hbase-server in the patch failed.
+1asflicense50The patch does not generate ASF License warnings.
11043
ReasonTests
Failed junit testshadoop.hbase.master.replication.TestRegisterPeerWorkerWhenRestarting
hadoop.hbase.wal.TestWALOpenAfterDNRollingStart
SubsystemReport/Notes
DockerClient=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/2/artifact/out/Dockerfile
GITHUB PR#168
Optional Testsdupname asflicense cc unit hbaseprotoc javac javadoc findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux bca70a72b7b5 4.4.0-139-generic #165~14.04.1-Ubuntu SMP Wed Oct 31 10:55:11 UTC 2018 x86_64 GNU/Linux
Build toolmaven
Personality/testptch/patchprocess/precommit/personality/provided.sh
git revisionmaster / f30d6c9
mavenversion: Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z)
Default Java1.8.0_181
findbugsv3.1.11
checkstylehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/2/artifact/out/diff-checkstyle-hbase-server.txt
whitespacehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/2/artifact/out/whitespace-eol.txt
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/2/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/2/testReport/
Max. process+thread count4316 (vs. ulimit of 10000)
modulesC: hbase-protocol-shaded hbase-server U: .
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/2/console
Powered byApache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec39Docker mode activated.
_ Prechecks _
+1hbaseanti0Patch does not have any anti-patterns.
+1@author0The patch does not contain any @author tags.
+1test4tests0The patch appears to include 7 new or modified test files.
_ master Compile Tests _
0mvndep26Maven dependency ordering for branch
+1mvninstall258master passed
+1compile92master passed
+1checkstyle88master passed
+1shadedjars270branch has no errors when building our shaded downstream artifacts.
+1findbugs368master passed
+1javadoc46master passed
_ Patch Compile Tests _
0mvndep17Maven dependency ordering for patch
+1mvninstall256the patch passed
+1compile92the patch passed
+1cc92the patch passed
+1javac92the patch passed
+1checkstyle10The patch passed checkstyle in hbase-protocol-shaded
+1checkstyle80hbase-server: The patch generated 0 new + 297 unchanged - 4 fixed = 297 total (was 301)
+1whitespace0The patch has no whitespace issues.
+1shadedjars275patch has no errors when building our shaded downstream artifacts.
+1hadoopcheck532Patch does not cause any errors with Hadoop 2.7.4 or 3.0.0.
+1hbaseprotoc89the patch passed
+1findbugs427the patch passed
+1javadoc53the patch passed
_ Other Tests _
+1unit40hbase-protocol-shaded in the patch passed.
-1unit14672hbase-server in the patch failed.
+1asflicense55The patch does not generate ASF License warnings.
18230
ReasonTests
Failed junit testshadoop.hbase.client.TestAdmin1
SubsystemReport/Notes
DockerClient=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/3/artifact/out/Dockerfile
GITHUB PR#168
Optional Testsdupname asflicense cc unit hbaseprotoc javac javadoc findbugs shadedjars hadoopcheck hbaseanti checkstyle compile
unameLinux ce0cec451353 3.13.0-153-generic #203-Ubuntu SMP Thu Jun 14 08:52:28 UTC 2018 x86_64 GNU/Linux
Build toolmaven
Personality/testptch/patchprocess/precommit/personality/provided.sh
git revisionmaster / 67c937f
mavenversion: Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z)
Default Java1.8.0_181
findbugsv3.1.11
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/3/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/3/testReport/
Max. process+thread count4601 (vs. ulimit of 10000)
modulesC: hbase-protocol-shaded hbase-server U: .
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/3/console
Powered byApache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

PermissionStorage.addUserPermission(getConfiguration(), perm, table,
mergeExistingPermissions);
}
ProcedurePrepareLatch latch = ProcedurePrepareLatch.createBlockingLatch();

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.

Maybe a better way is to add a proc id field in GrantResponse, and query the result at client side?

ProcedureExecutor<MasterProcedureEnv> masterProcedureExecutor =
((HasMasterServices) c.getEnvironment()).getMasterServices()
.getMasterProcedureExecutor();
ProcedurePrepareLatch latch = ProcedurePrepareLatch.createBlockingLatch();

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.

Do we really need to wait here?

ProcedureExecutor<MasterProcedureEnv> masterProcedureExecutor =
((HasMasterServices) ctx.getEnvironment()).getMasterServices()
.getMasterProcedureExecutor();
ProcedurePrepareLatch latch = ProcedurePrepareLatch.createBlockingLatch();

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.

Ditto.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec22Docker mode activated.
_ Prechecks _
+1hbaseanti0Patch does not have any anti-patterns.
+1@author0The patch does not contain any @author tags.
+1test4tests0The patch appears to include 8 new or modified test files.
_ master Compile Tests _
0mvndep16Maven dependency ordering for branch
+1mvninstall241master passed
+1compile144master passed
+1checkstyle146master passed
+1shadedjars254branch has no errors when building our shaded downstream artifacts.
+1findbugs468master passed
+1javadoc107master passed
_ Patch Compile Tests _
0mvndep13Maven dependency ordering for patch
+1mvninstall226the patch passed
+1compile145the patch passed
+1cc145the patch passed
+1javac145the patch passed
-1checkstyle31hbase-client: The patch generated 3 new + 105 unchanged - 0 fixed = 108 total (was 105)
-1checkstyle64hbase-server: The patch generated 3 new + 300 unchanged - 4 fixed = 303 total (was 304)
+1whitespace0The patch has no whitespace issues.
+1shadedjars260patch has no errors when building our shaded downstream artifacts.
+1hadoopcheck969Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.0.3 3.1.2.
+1hbaseprotoc167the patch passed
+1findbugs536the patch passed
+1javadoc104the patch passed
_ Other Tests _
+1unit31hbase-protocol-shaded in the patch passed.
+1unit194hbase-client in the patch passed.
+1unit204hbase-procedure in the patch passed.
-1unit12586hbase-server in the patch failed.
+1unit308hbase-thrift in the patch passed.
+1asflicense127The patch does not generate ASF License warnings.
17800
ReasonTests
Failed junit testshadoop.hbase.coprocessor.TestMetaTableMetrics
hadoop.hbase.client.TestAsyncTableRegionReplicasScan
hadoop.hbase.regionserver.TestCompactingToCellFlatMapMemStore
SubsystemReport/Notes
DockerClient=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/4/artifact/out/Dockerfile
GITHUB PR#168
Optional Testsdupname asflicense javac javadoc unit findbugs shadedjars hadoopcheck hbaseanti checkstyle compile cc hbaseprotoc
unameLinux 4255f4f8d1d3 4.4.0-145-generic #171-Ubuntu SMP Tue Mar 26 12:43:40 UTC 2019 x86_64 GNU/Linux
Build toolmaven
Personality/testptch/patchprocess/precommit/personality/provided.sh
git revisionmaster / 1c1638f
mavenversion: Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z)
Default Java1.8.0_181
findbugsv3.1.11
checkstylehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/4/artifact/out/diff-checkstyle-hbase-client.txt
checkstylehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/4/artifact/out/diff-checkstyle-hbase-server.txt
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/4/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/4/testReport/
Max. process+thread count3873 (vs. ulimit of 10000)
modulesC: hbase-protocol-shaded hbase-client hbase-procedure hbase-server hbase-thrift U: .
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/4/console
Powered byApache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec92Docker mode activated.
_ Prechecks _
+1hbaseanti0Patch does not have any anti-patterns.
+1@author0The patch does not contain any @author tags.
+1test4tests0The patch appears to include 9 new or modified test files.
_ master Compile Tests _
0mvndep28Maven dependency ordering for branch
+1mvninstall271master passed
+1compile209master passed
+1checkstyle167master passed
+1shadedjars270branch has no errors when building our shaded downstream artifacts.
+1findbugs518master passed
+1javadoc120master passed
_ Patch Compile Tests _
0mvndep11Maven dependency ordering for patch
-1mvninstall211root in the patch failed.
-1compile22hbase-backup in the patch failed.
-1cc22hbase-backup in the patch failed.
-1javac22hbase-backup in the patch failed.
+1checkstyle12The patch passed checkstyle in hbase-protocol-shaded
-1checkstyle31hbase-client: The patch generated 1 new + 105 unchanged - 0 fixed = 106 total (was 105)
+1checkstyle12The patch passed checkstyle in hbase-procedure
+1checkstyle67hbase-server: The patch generated 0 new + 302 unchanged - 4 fixed = 302 total (was 306)
+1checkstyle33The patch passed checkstyle in hbase-thrift
+1checkstyle13The patch passed checkstyle in hbase-backup
+1whitespace1The patch has no whitespace issues.
+1shadedjars264patch has no errors when building our shaded downstream artifacts.
-1hadoopcheck151The patch causes 16 errors with Hadoop v2.8.5.
-1hadoopcheck298The patch causes 16 errors with Hadoop v2.9.2.
-1hadoopcheck477The patch causes 16 errors with Hadoop v3.1.2.
-1hbaseprotoc29hbase-backup in the patch failed.
-1findbugs25hbase-backup in the patch failed.
+1javadoc139the patch passed
_ Other Tests _
+1unit41hbase-protocol-shaded in the patch passed.
+1unit228hbase-client in the patch passed.
+1unit207hbase-procedure in the patch passed.
+1unit11404hbase-server in the patch passed.
-1unit500hbase-thrift in the patch failed.
-1unit34hbase-backup in the patch failed.
+1asflicense151The patch does not generate ASF License warnings.
16764
ReasonTests
Failed junit testshadoop.hbase.thrift.TestThriftServer
hadoop.hbase.thrift2.TestThrift2HttpServer
hadoop.hbase.thrift2.TestThriftHBaseServiceHandlerWithLabels
hadoop.hbase.thrift2.TestThriftHBaseServiceHandlerWithReadOnly
hadoop.hbase.thrift.TestThriftHttpServer
hadoop.hbase.thrift.TestThriftSpnegoHttpServer
hadoop.hbase.thrift2.TestThriftHBaseServiceHandler
hadoop.hbase.thrift2.TestThriftConnection
hadoop.hbase.thrift.TestThriftServerCmdLine
hadoop.hbase.thrift2.TestThrift2ServerCmdLine
SubsystemReport/Notes
DockerClient=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/5/artifact/out/Dockerfile
GITHUB PR#168
Optional Testsdupname asflicense javac javadoc unit findbugs shadedjars hadoopcheck hbaseanti checkstyle compile cc hbaseprotoc
unameLinux 79d38d32469a 4.4.0-145-generic #171-Ubuntu SMP Tue Mar 26 12:43:40 UTC 2019 x86_64 GNU/Linux
Build toolmaven
Personality/testptch/patchprocess/precommit/personality/provided.sh
git revisionmaster / aacacc5
mavenversion: Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z)
Default Java1.8.0_181
findbugsv3.1.11
mvninstallhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/5/artifact/out/patch-mvninstall-root.txt
compilehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/5/artifact/out/patch-compile-hbase-backup.txt
cchttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/5/artifact/out/patch-compile-hbase-backup.txt
javachttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/5/artifact/out/patch-compile-hbase-backup.txt
checkstylehttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/5/artifact/out/diff-checkstyle-hbase-client.txt
hadoopcheckhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/5/artifact/out/patch-javac-2.8.5.txt
hadoopcheckhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/5/artifact/out/patch-javac-2.9.2.txt
hadoopcheckhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/5/artifact/out/patch-javac-3.1.2.txt
hbaseprotochttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/5/artifact/out/patch-hbaseprotoc-hbase-backup.txt
findbugshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/5/artifact/out/patch-findbugs-hbase-backup.txt
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/5/artifact/out/patch-unit-hbase-thrift.txt
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/5/artifact/out/patch-unit-hbase-backup.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/5/testReport/
Max. process+thread count3952 (vs. ulimit of 10000)
modulesC: hbase-protocol-shaded hbase-client hbase-procedure hbase-server hbase-thrift hbase-backup U: .
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/5/console
Powered byApache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

🎊 +1 overall

VoteSubsystemRuntimeComment
0reexec27Docker mode activated.
_ Prechecks _
+1hbaseanti0Patch does not have any anti-patterns.
+1@author0The patch does not contain any @author tags.
+1test4tests0The patch appears to include 9 new or modified test files.
_ master Compile Tests _
0mvndep23Maven dependency ordering for branch
+1mvninstall241master passed
+1compile161master passed
+1checkstyle145master passed
+1shadedjars257branch has no errors when building our shaded downstream artifacts.
+1findbugs510master passed
+1javadoc104master passed
_ Patch Compile Tests _
0mvndep13Maven dependency ordering for patch
+1mvninstall223the patch passed
+1compile158the patch passed
+1cc158the patch passed
+1javac158the patch passed
+1checkstyle8The patch passed checkstyle in hbase-protocol-shaded
+1checkstyle31The patch passed checkstyle in hbase-client
+1checkstyle12The patch passed checkstyle in hbase-procedure
+1checkstyle70hbase-server: The patch generated 0 new + 302 unchanged - 4 fixed = 302 total (was 306)
+1checkstyle28The patch passed checkstyle in hbase-thrift
+1whitespace0The patch has no whitespace issues.
+1shadedjars259patch has no errors when building our shaded downstream artifacts.
+1hadoopcheck704Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1hbaseprotoc134the patch passed
+1findbugs534the patch passed
+1javadoc104the patch passed
_ Other Tests _
+1unit34hbase-protocol-shaded in the patch passed.
+1unit130hbase-client in the patch passed.
+1unit200hbase-procedure in the patch passed.
+1unit8263hbase-server in the patch passed.
+1unit214hbase-thrift in the patch passed.
+1asflicense100The patch does not generate ASF License warnings.
13062
SubsystemReport/Notes
DockerClient=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/6/artifact/out/Dockerfile
GITHUB PR#168
Optional Testsdupname asflicense javac javadoc unit findbugs shadedjars hadoopcheck hbaseanti checkstyle compile cc hbaseprotoc
unameLinux b64b53fa1bae 4.4.0-139-generic #165-Ubuntu SMP Wed Oct 24 10:58:50 UTC 2018 x86_64 GNU/Linux
Build toolmaven
Personality/testptch/patchprocess/precommit/personality/provided.sh
git revisionmaster / 9b23e1d
mavenversion: Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z)
Default Java1.8.0_181
findbugsv3.1.11
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/6/testReport/
Max. process+thread count4583 (vs. ulimit of 10000)
modulesC: hbase-protocol-shaded hbase-client hbase-procedure hbase-server hbase-thrift U: .
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/6/console
Powered byApache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@saintstack

Copy link
Copy Markdown
Contributor

@mymeiyi any update? Thanks.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec178Docker mode activated.
_ Prechecks _
+1hbaseanti0Patch does not have any anti-patterns.
+1@author0The patch does not contain any @author tags.
+1test4tests0The patch appears to include 9 new or modified test files.
_ master Compile Tests _
0mvndep25Maven dependency ordering for branch
+1mvninstall250master passed
+1compile153master passed
+1checkstyle157master passed
+1shadedjars262branch has no errors when building our shaded downstream artifacts.
+1findbugs512master passed
+1javadoc112master passed
_ Patch Compile Tests _
0mvndep15Maven dependency ordering for patch
+1mvninstall235the patch passed
+1compile158the patch passed
+1cc158the patch passed
+1javac158the patch passed
+1checkstyle9The patch passed checkstyle in hbase-protocol-shaded
+1checkstyle32The patch passed checkstyle in hbase-client
+1checkstyle11The patch passed checkstyle in hbase-procedure
+1checkstyle72hbase-server: The patch generated 0 new + 302 unchanged - 4 fixed = 302 total (was 306)
+1checkstyle32The patch passed checkstyle in hbase-thrift
+1whitespace0The patch has no whitespace issues.
+1shadedjars260patch has no errors when building our shaded downstream artifacts.
+1hadoopcheck722Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1hbaseprotoc139the patch passed
+1findbugs544the patch passed
+1javadoc110the patch passed
_ Other Tests _
+1unit35hbase-protocol-shaded in the patch passed.
+1unit198hbase-client in the patch passed.
+1unit215hbase-procedure in the patch passed.
-1unit17926hbase-server in the patch failed.
+1unit354hbase-thrift in the patch passed.
+1asflicense127The patch does not generate ASF License warnings.
23214
ReasonTests
Failed junit testshadoop.hbase.client.TestSnapshotTemporaryDirectoryWithRegionReplicas
hadoop.hbase.client.TestFromClientSide
hadoop.hbase.master.TestSplitWALManager
SubsystemReport/Notes
DockerClient=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/7/artifact/out/Dockerfile
GITHUB PR#168
Optional Testsdupname asflicense javac javadoc unit findbugs shadedjars hadoopcheck hbaseanti checkstyle compile cc hbaseprotoc
unameLinux c0d8b0bfaf2c 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 GNU/Linux
Build toolmaven
Personality/testptch/patchprocess/precommit/personality/provided.sh
git revisionmaster / ada772a
mavenversion: Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z)
Default Java1.8.0_181
findbugsv3.1.11
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/7/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/7/testReport/
Max. process+thread count4994 (vs. ulimit of 10000)
modulesC: hbase-protocol-shaded hbase-client hbase-procedure hbase-server hbase-thrift U: .
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/7/console
Powered byApache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@Apache-HBase

Copy link
Copy Markdown

💔 -1 overall

VoteSubsystemRuntimeComment
0reexec30Docker mode activated.
_ Prechecks _
+1hbaseanti0Patch does not have any anti-patterns.
+1@author0The patch does not contain any @author tags.
+1test4tests0The patch appears to include 9 new or modified test files.
_ master Compile Tests _
0mvndep15Maven dependency ordering for branch
+1mvninstall237master passed
+1compile142master passed
+1checkstyle148master passed
+1shadedjars261branch has no errors when building our shaded downstream artifacts.
+1findbugs514master passed
+1javadoc108master passed
_ Patch Compile Tests _
0mvndep11Maven dependency ordering for patch
+1mvninstall247the patch passed
+1compile158the patch passed
+1cc158the patch passed
+1javac158the patch passed
+1checkstyle10The patch passed checkstyle in hbase-protocol-shaded
+1checkstyle30The patch passed checkstyle in hbase-client
+1checkstyle14The patch passed checkstyle in hbase-procedure
+1checkstyle66hbase-server: The patch generated 0 new + 302 unchanged - 4 fixed = 302 total (was 306)
+1checkstyle31The patch passed checkstyle in hbase-thrift
+1whitespace0The patch has no whitespace issues.
+1shadedjars268patch has no errors when building our shaded downstream artifacts.
+1hadoopcheck707Patch does not cause any errors with Hadoop 2.8.5 2.9.2 or 3.1.2.
+1hbaseprotoc143the patch passed
+1findbugs519the patch passed
+1javadoc103the patch passed
_ Other Tests _
+1unit32hbase-protocol-shaded in the patch passed.
+1unit201hbase-client in the patch passed.
+1unit207hbase-procedure in the patch passed.
-1unit10818hbase-server in the patch failed.
+1unit228hbase-thrift in the patch passed.
+1asflicense122The patch does not generate ASF License warnings.
15734
ReasonTests
Failed junit testshadoop.hbase.client.TestFastFail
SubsystemReport/Notes
DockerClient=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/8/artifact/out/Dockerfile
GITHUB PR#168
Optional Testsdupname asflicense javac javadoc unit findbugs shadedjars hadoopcheck hbaseanti checkstyle compile cc hbaseprotoc
unameLinux 630b17db8fd4 4.4.0-145-generic #171-Ubuntu SMP Tue Mar 26 12:43:40 UTC 2019 x86_64 GNU/Linux
Build toolmaven
Personality/testptch/patchprocess/precommit/personality/provided.sh
git revisionmaster / ada772a
mavenversion: Apache Maven 3.5.4 (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T18:33:14Z)
Default Java1.8.0_181
findbugsv3.1.11
unithttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/8/artifact/out/patch-unit-hbase-server.txt
Test Resultshttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/8/testReport/
Max. process+thread count4460 (vs. ulimit of 10000)
modulesC: hbase-protocol-shaded hbase-client hbase-procedure hbase-server hbase-thrift U: .
Console outputhttps://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-168/8/console
Powered byApache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

@saintstack

Copy link
Copy Markdown
Contributor

Will close this PR in next week or so unless it comes back to life. Thanks.

@mymeiyi

Copy link
Copy Markdown
ContributorAuthor

Close this PR and will split this task into several minor tasks. Thanks for all comments.

@mymeiyimymeiyi closed this Jun 26, 2019
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.

4 participants

@mymeiyi@Apache-HBase@saintstack@Apache9