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

前端 未结 8 815
醉梦人生
醉梦人生 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:00

    I had the exact same error. The Linux firewall was blocking connectivity. One can test ports via telnet. A quick fix is to turn off the firewall and see if it fixes it:

    Completely disable the firewall on all of your nodes. Note: this command will not survive a reboot of your machines.

    systemctl stop firewalld
    

    Long term fix is that you must configure the firewall to allow the hbase ports.

    Note, your version of hbase may use different ports: https://issues.apache.org/jira/browse/HBASE-10123

提交回复
热议问题