Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 09-27-2016 06:12 PM
hbase(main):002:0> add_peer '1',"zknode1,zknode2,zknode3:2181/hbase-secure"
ERROR: KeeperErrorCode = NoAuth for /hbase-secure/replication/peers
Here is some help for this command: A peer can either be another HBase cluster or a custom replication endpoint. In either case an id must be specified to identify the peer.
Background:
hbase(Dev Cluster) with service id dev-hbase --> hbase(QA Cluster) with service id qa-hbase.
Created 09-27-2016 06:20 PM
You are probably running into https://issues.apache.org/jira/browse/HBASE-1514.
In secure clusters, you should run the zkcli command with --auth-as-server parameter. Like this:
hbase --auth-as-server zkcli
In newer versions of HDP, the patch should be there. Otherwise, you can get this working with something like:
HBASE_OPTS="$HBASE_OPTS -Djava.security.auth.login.config=/usr/hdp/current/hbase-regionserver/conf/hbase_master_jaas.conf hbase zkcli
Please note that the jaas.conf file that you add to the HBASE_OPTS before running the zkcli command should match what you have for your master and regionservers.
Created 09-27-2016 06:20 PM
You are probably running into https://issues.apache.org/jira/browse/HBASE-1514.
In secure clusters, you should run the zkcli command with --auth-as-server parameter. Like this:
hbase --auth-as-server zkcli
In newer versions of HDP, the patch should be there. Otherwise, you can get this working with something like:
HBASE_OPTS="$HBASE_OPTS -Djava.security.auth.login.config=/usr/hdp/current/hbase-regionserver/conf/hbase_master_jaas.conf hbase zkcli
Please note that the jaas.conf file that you add to the HBASE_OPTS before running the zkcli command should match what you have for your master and regionservers.
Created 09-27-2016 06:31 PM