如何使用squirrelsql连接到安全的hbase集群

txu3uszq  于 2021-06-03  发布在  Hadoop
关注(0)|答案(0)|浏览(338)

我正在尝试设置squirrelsqlclient以连接到部署在cdh5.4.3上的安全hbase集群。
我复制了kerberos密钥表文件, hbase-site.xml 以及 core-site.xmllib squirrel sql的目录。我正在使用phoenix-4.3.0-client,其中包含所有必需的jar。
使用的连接url格式为:

jdbc:phoenix:[quorum]:[port]:[rootNode]:[principal]:[keytab]

以下是squirrel日志中的错误:

2015-08-19 18:24:57,696 [pool-1-thread-1] INFO  org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation  - getMaster attempt 1 of 35 failed; retrying after sleep of 100, exception=com.google.protobuf.ServiceException: org.apache.hadoop.net.ConnectTimeoutException: 20000 millis timeout while waiting for channel to be ready for connect. ch : java.nio.channels.SocketChannel[connection-pending remote=abc.xyz.com/10.201.15.151:60000]
2015-08-19 18:24:58,386 [pool-1-thread-1] INFO  org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation  - getMaster attempt 2 of 35 failed; retrying after sleep of 200, exception=com.google.protobuf.ServiceException: org.apache.hadoop.hbase.ipc.RpcClient$FailedServerException: This server is in the failed servers list: abc.xyz.com/10.201.15.151:60000
2015-08-19 18:24:59,176 [pool-1-thread-1] INFO  org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation  - getMaster attempt 3 of 35 failed; retrying after sleep of 300, exception=com.google.protobuf.ServiceException: org.apache.hadoop.hbase.ipc.RpcClient$FailedServerException: This server is in the failed servers list: abc.xyz.com/10.201.15.151:60000

我遗漏了什么吗?有人能分享一下设置squirrelsql连接到secure的步骤吗 hbasecluster ?

暂无答案!

目前还没有任何答案,快来回答吧!

相关问题