Ambari hbase默认配置,java调用api后zookeeper日志出现EndOfStreamException

EndOfStreamException: Unable to read additional data from client

主要原因为Ambari中hbase的默认配置中zookeeper.znode.parent=/hbase-unsecure,但api中默认该属性为/hbase,导致zookeeper访问错误,需要修改zookeeper.znode.parent=/hbase,或者api中指定zookeeper.znode.parent=/hbase-unsecure

猜你喜欢

转载自wf42988.iteye.com/blog/2338281