未在hbase多节点中的Web浏览器上显示从站

时间:2014-12-07 17:34:07

标签: hadoop hbase

我在1个主设备和2个从设备上安装了hadoop(1.2.1)多节点。现在我试图在它上面安装hbase。问题是当我在主服务器上启动hbase时,它只显示一个regionserver(主服务器本身),而从服务器上没有显示从服务器。在终端上,每个从站都有自己的区域服务器,但不会在浏览器上反映出来。谁能告诉我这个问题是什么?

1 个答案:

答案 0 :(得分:0)

我有同样的问题,我通过在hbase.rootdir

中添加端口号来解决它

您的hbase-site.xml应该是这样的

    <property>
    <name>hbase.zookeeper.quorum</name>
    <value>master-IP-Adress,slave1-IP,slave2-IP</value>
    <description>The directory shared by RegionServers.
    </description>
  </property>
  <property>
    <name>hbase.zookeeper.property.dataDir</name>
    <value>/home/ravi/zookeeper-data</value>
    <description>Property from ZooKeeper config zoo.cfg.
    The directory where the snapshot is stored.
    </description>
  </property>
  <property>
    <name>hbase.rootdir</name>
    <value>hdfs://master-IP:50000/hbase</value>
    <description>The directory shared by RegionServers.
    </description>
  </property>
  <property>
    <name>hbase.cluster.distributed</name>
    <value>true</value>
    <description>The mode the cluster will be in. Possible values are
      false: standalone and pseudo-distributed setups with managed Zookeeper
      true: fully-distributed with unmanaged Zookeeper Quorum (see hbase-env.sh)
    </description>
  </property>