【问题标题】:Can't get master address from ZooKeeper. I am getting this error on Creating Hbase table无法从 ZooKeeper 获取主地址。我在创建 Hbase 表时收到此错误
【发布时间】:2017-02-12 03:18:21
【问题描述】:

following is the error, i'm getting when creating the table. ERROR: Can't get master address from ZooKeeper; znode data == null (Image)

以下是错误,我在创建表时遇到了错误。 错误:无法从 ZooKeeper 获取主地址; znode 数据 == null

services running (Image)

以下是hbase-site.xml配置-

<configuration>
<property>
   <name>hbase.cluster.distributed</name>
   <value>true</value>
</property>

<property>
<name>hbase.rootdir</name>
<value>hdfs://127.0.0.1:8020/hadoop/supported/hbaseData</value>
  </property>
  
  <property>
    <name>hbase.zookeeper.property.clientPort</name>
    <value>2181</value>
    <description>Property from ZooKeeper's config zoo.cfg.
                 The port at which the clients will connect.</description>
</property>

</configuration>

【问题讨论】:

    标签: hadoop hbase apache-zookeeper


    【解决方案1】:

    hbase.zookeeper.quorum 可能有问题。您可以尝试如下所示。

    <property>
        <name>hbase.zookeeper.quorum</name>
        <!__<value>localhost</value> NOT OK!-->
        <!--<value>127.0.0.1</value> NOT OK!-->
        <!--<value>192.168.31.66</value> OK!-->
        <value>zss</value> 
    </property>
    

    zss 是我 MAC 的主机名!

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-03-07
      • 1970-01-01
      • 2011-07-04
      • 2021-12-02
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多