我正在尝试使用R软件包rhbase
连接到HBase。按照https://github.com/RevolutionAnalytics/RHadoop/wiki/user-rhbase-Home上的说明,我已经安装了所有东西,包括HBase Thrift Server。
我可以使用hb.init()
确认连接:
[1] "hb.client.connection"
尝试仅列出表时会出现异常:
2018-12-14 09:55:40,563 ERROR org.apache.hadoop.hbase.thrift.TBoundedThreadPoolServer: Error occurred during processing of message.
java.lang.RuntimeException: org.apache.thrift.transport.TTransportException: Invalid status -128
at org.apache.thrift.transport.TSaslServerTransport$Factory.getTransport(TSaslServerTransport.java:219)
at org.apache.hadoop.hbase.thrift.TBoundedThreadPoolServer$ClientConnnection.run(TBoundedThreadPoolServer.java:283)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
经过谷歌搜索后,我发现了这个GitHub线程:https://github.com/RevolutionAnalytics/rhbase/issues/10,它似乎有相同的问题,但是没有解决方案。
rhbase
是否支持Kerberos HBase Thirft Server?