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

时间:2015-08-19 13:03:54

标签: security hadoop hbase squirrel-sql phoenix

我正在尝试设置SQuirreL SQL客户端以连接到CDH5.4.3上部署的安全hbase集群。

我在SQuirreL SQL的hbase-site.xml目录中复制了kerberos keytab文件core-site.xmllib。我正在使用包含所有必需罐子的phoenix-4.3.0-client。

使用的连接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

我错过了什么吗?任何人都可以共享设置SQuirreL SQL以连接到安全hbasecluster的步骤吗?

0 个答案:

没有答案