HBase报错

443 ERROR [main] client.ConnectionManager$HConnectionImplementation: Can’t get connection to ZooKeeper: KeeperErrorCode = ConnectionLoss for /hbase

在启动Hbase Shell之前,请确保正确设置JAVA_HOME和属性。您必须在hbase-site.xml文件中设置以下给定属性

<configuration>
  <property>
    <name>hbase.tmp.dir</name>
    <value>tmp</value>
  </property>
</configuration>
export JAVA_HOME=/usr/jdk64/jdk1.8.18
Logo

华为开发者空间,是为全球开发者打造的专属开发空间,汇聚了华为优质开发资源及工具,致力于让每一位开发者拥有一台云主机,基于华为根生态开发、创新。

更多推荐