hbase多节点中的web浏览器上未显示从属服务器

y1aodyip  于 2021-05-30  发布在  Hadoop
关注(0)|答案(1)|浏览(396)

我已经在1个主节点和2个从节点上安装了hadoop(1.2.1)multinode。现在我正在尝试在上面安装hbase。问题是,当我在主服务器上启动hbase时,它只显示一个regionserver(主服务器本身),而从服务器没有显示在web浏览器上。在终端上,每个从属服务器都有自己的regionserver,但这不会反映在浏览器上。有人能告诉我问题出在哪里吗?

yhived7q

yhived7q1#

我也遇到了同样的问题,我通过添加端口号来解决 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>

相关问题