Hive beeline失败,同时为hdfs配置Azure blob存储

时间:2017-04-26 12:21:42

标签: hadoop hive azure-storage kerberos

我们通过以下链接创建了一个带有azure存储blob的hadoop kerberos集群。 https://hadoop.apache.org/docs/stable/hadoop-azure/index.html

连接hive thirft服务器的beeline shell时遇到问题但是azure blob存储的相同配置对普通集群工作正常。

请查看问题详情:

ERROR org.apache.thrift.server.TThreadPoolServer: Error occurred during processing of message.
java.lang.NullPointerException
                at org.apache.thrift.transport.TSaslTransport$SaslParticipant.isComplete(TSaslTransport.java:547)
                at org.apache.thrift.transport.TSaslTransport.open(TSaslTransport.java:276)
                at org.apache.thrift.transport.TSaslServerTransport.open(TSaslServerTransport.java:41)
                at org.apache.thrift.transport.TSaslServerTransport$Factory.getTransport(TSaslServerTransport.java:216)
                at org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge$Server$TUGIAssumingTransportFactory$1.run(HadoopThriftAuthBridge.java:761)
                at org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge$Server$TUGIAssumingTransportFactory$1.run(HadoopThriftAuthBridge.java:758)
                at java.security.AccessController.doPrivileged(Native Method)
                at javax.security.auth.Subject.doAs(Subject.java:356)
                at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1636)
                at org.apache.hadoop.hive.thrift.HadoopThriftAuthBridge$Server$TUGIAssumingTransportFactory.getTransport(HadoopThriftAuthBridge.java:758)
                at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:269)
                at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
                at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
                at java.lang.Thread.run(Thread.java:744)

任何人都可以帮助我们在kerberos hadoop集群中使用Azure blob存储配置hive server2而不是HDFS吗?

谢谢,
Selva的

0 个答案:

没有答案