Zookeeper.znode.parent mismatch exception

I installed hadoop 2.2.0 and hbase-0.94.18 on ubuntu 12.04. When I try to run a command

create 't1','c1'

in hbase shell, I get the following error:

ERROR client.HConnectionManager$HConnectionImplementation: 
Check the value configured in 'zookeeper.znode.parent'. 
There could be a mismatch with the one configured in the master.

What's wrong?

+4
source share
3 answers

A few things in a specific order:

  • To get started, show the error message. He will try 7 times and then exit. Before it exits, it will show the name of the exception. Try to see it. He probably says MasterNotRunningException.
  • Make sure that the wizard really works by completing $sudo jps. You should see the entry for HMaster. If not, start the hbase-master service.
  • , , /etc/hosts, , 127.0.0.1, 127.0.1.1.
  • cloudera HBase . hbase-master zookeeper.
+2

, hbase-site.xml zookeeper.znode.parent, . /hbase

+2

Mine was set by default as /hbase-unsecure(hbase-site.xml)

+1
source

Source: https://habr.com/ru/post/1537383/


All Articles