Ubuntu Hbase群集错误:节点/Hbase不在ZooKeeper中

Ubuntu Hbase群集错误:节点/Hbase不在ZooKeeper中,ubuntu,hadoop,hbase,Ubuntu,Hadoop,Hbase,我在3台Ubuntu机器上配置了Hadoop集群,运行良好 HadoopMaster HadoopSlave1 HadoopSlave2 我需要在这些机器上设置Hbase群集 我配置了 1)HadoopMaster as namenode,ResourceManager, secondary namenode and HQuorumPeer and HMaster 2)HadoopSlave1 and HadoopSlave2 as datanode,NodeManager and Reg

我在3台Ubuntu机器上配置了Hadoop集群,运行良好

HadoopMaster
HadoopSlave1
HadoopSlave2
我需要在这些机器上设置Hbase群集

我配置了

 1)HadoopMaster as namenode,ResourceManager, secondary namenode and HQuorumPeer and HMaster
 2)HadoopSlave1 and HadoopSlave2 as datanode,NodeManager and RegionServer
这是我的hbase-site.xml,在所有3台机器中都是相同的

<configuration>
  <property>
    <name>hbase.master</name>
    <value>HadoopMaster:60000</value>
  </property>
  <property>
    <name>hbase.rootdir</name>
    <value>hdfs://HadoopMaster:9000/hbase</value>
  </property>
  <property>
    <name>hbase.cluster.distributed</name>
    <value>true</value>
  </property>
</configuration>
这是我的hbase-env.sh文件,在所有计算机中都是相同的

 HadoopSlave1
 HadoopSlave2
export JAVA_HOME=/usr/lib/jvm/java-8-oracle/jre/
export HBASE_MANAGES_ZK=true
当我启动hbase.sh时,每个进程都在运行,但当我在hbase shell中创建表时。它抛出这样的错误

ERROR: 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.

如何解决此问题。请提前感谢

您使用的是哪个版本的hadoop和hbase?嗨,Anju,我使用的是hbase 1.0.1.1和hadoop 2.6.0。它兼容吗?嗨,你能检查主日志文件并粘贴错误吗?你使用的是哪个版本的hadoop和hbase?嗨,Anju,Iam使用的是hbase 1.0.1.1和hadoop 2.6.0。它兼容吗?嗨,你能检查主日志文件并粘贴错误吗?