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

为开发者提供学习成长、分享交流、生态实践、资源工具等服务,帮助开发者快速成长。

更多推荐