[
https://issues.apache.org/jira/browse/HBASE-25700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17379371#comment-17379371
]
Hudson commented on HBASE-25700:
--------------------------------
Results for branch master
[build #341 on
builds.a.o|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/master/341/]:
(x) *{color:red}-1 overall{color}*
----
details (if available):
(/) {color:green}+1 general checks{color}
-- For more information [see general
report|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/master/341/General_20Nightly_20Build_20Report/]
(x) {color:red}-1 jdk8 hadoop3 checks{color}
-- For more information [see jdk8 (hadoop3)
report|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/master/341/JDK8_20Nightly_20Build_20Report_20_28Hadoop3_29/]
(x) {color:red}-1 jdk11 hadoop3 checks{color}
-- Something went wrong running this stage, please [check relevant console
output|https://ci-hadoop.apache.org/job/HBase/job/HBase%20Nightly/job/master/341//console].
(/) {color:green}+1 source release artifact{color}
-- See build output for details.
(/) {color:green}+1 client integration test{color}
> Enhance znode parent validation when add_peer
> ---------------------------------------------
>
> Key: HBASE-25700
> URL: https://issues.apache.org/jira/browse/HBASE-25700
> Project: HBase
> Issue Type: Improvement
> Components: Replication
> Affects Versions: 2.2.3, 2.4.2
> Reporter: mokai
> Assignee: mokai
> Priority: Minor
>
> If the znode parent end with empty string, add_peer command has no
> validation. It should be enhanced.
> Command example: add_peer '1', CLUSTER_KEY => "10.244.225.186:2181:/hbase ",
> STATE => "ENABLED"
> It causes enable_table_replication execute failed with folloing error.
> {quote}2021-03-27 09:59:47,738 DEBUG
> [ReadOnlyZKClient-10.244.225.186:2181@0x5817f1ca-SendThread(10.244.225.186:2181)]
> zookeeper.ClientCnxn: Reading reply sessionid:0x106fe808733000a, packet::
> clientPath:/hbase /hbaseid serverPath:/hbase /hbaseid finished:false header::
> 1,4 replyHeader:: 1,44,-101 request:: '/hbase /hbaseid,F
> response::2021-03-27 09:59:47,738 DEBUG
> [ReadOnlyZKClient-10.244.225.186:2181@0x5817f1ca-SendThread(10.244.225.186:2181)]
> zookeeper.ClientCnxn: Reading reply sessionid:0x106fe808733000a, packet::
> clientPath:/hbase /hbaseid serverPath:/hbase /hbaseid finished:false header::
> 1,4 replyHeader:: 1,44,-101 request:: '/hbase /hbaseid,F
> response::2021-03-27 09:59:47,755 WARN [main]
> client.ConnectionImplementation: Retrieve cluster id
> failedjava.util.concurrent.ExecutionException:
> org.apache.zookeeper.KeeperException$NoNodeException: KeeperErrorCode =
> NoNode for /hbase /hbaseid at
> java.util.concurrent.CompletableFuture.reportGet(CompletableFuture.java:357)
> at java.util.concurrent.CompletableFuture.get(CompletableFuture.java:1908) at
> org.apache.hadoop.hbase.client.ConnectionImplementation.retrieveClusterId(ConnectionImplementation.java:603)
> at
> org.apache.hadoop.hbase.client.ConnectionImplementation.<init>(ConnectionImplementation.java:313)
> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at
> sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
> at
> sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
> at java.lang.reflect.Constructor.newInstance(Constructor.java:423) at
> org.apache.hadoop.hbase.client.ConnectionFactory.lambda$createConnection$0(ConnectionFactory.java:230)
> at java.security.AccessController.doPrivileged(Native Method) at
> javax.security.auth.Subject.doAs(Subject.java:422)
> {quote}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)