get “ERROR: Can't get master address from ZooKeeper; znode data == null” when using Hbase shell

前端 未结 8 776
醉梦人生
醉梦人生 2020-12-09 11:27

I installed Hadoop2.2.0 and Hbase0.98.0 and here is what I do :

$ ./bin/start-hbase.sh 

$ ./bin/hbase shell

2.0.0-p353 :001 > list

the

8条回答
  •  时光说笑
    2020-12-09 12:10

    You need to start zookeeper and then run Hbase-shell

    {HBASE_HOME}/bin/hbase-daemons.sh {start,stop} zookeeper
    

    and you may want to check this property in hbase-env.sh

    # Tell HBase whether it should manage its own instance of Zookeeper or not.
    export HBASE_MANAGES_ZK=false
    

    Refer to Source - Zookeeper

提交回复
热议问题