我正在使用沙盒 HDP 2.2
我做了一个 yum install phoenix (版本是 4.2)
但是当我运行这些时:
./sqlline.py localhost:2181
./sqlline.py localhost
./sqlline.py sandbox.hortonworks.com:2181
./sqlline.py sandbox.hortonworks.com
我得到了错误:
15/07/03 08:26:31 ERROR client.ConnectionManager$HConnectionImplementation:
The node /hbase is not in ZooKeeper. It should have been written by the master.
Check the value configured in 'zookeeper.znode.parent'. There could be a mismatch
with the one configured in the master.
我试图运行:
./sqlline.py sandbox.hortonworks.com:2181:/hbase-unsecure
但它“挂起” - 20 分钟后仍然没有响应
我的 /etc/hbase/conf/hbase-site.xml 中有这个:
<property>
<name>hbase.zookeeper.quorum</name>
<value>sandbox.hortonworks.com</value>
</property>
<property>
<name>zookeeper.znode.parent</name>
<value>/hbase-unsecure</value>
</property>