Hbase: How to specify hostname for Hbase master

后端 未结 4 1004
夕颜
夕颜 2021-02-09 00:00

I\'m struggling to setup a Hbase distributed cluster with 2 nodes, one is my machine and one is the VM, using the \"host-only\" Adapter in VirtualBox.

My problem is that

4条回答
  •  臣服心动
    2021-02-09 00:24

    Most of the time the error is coming from Zookeeper that send a wrong hostname.

    You can check what Zookeeper sends as HBase master host:

    Find Zookeeper bin folder:

    bin/zkCli.sh -server 127.0.0.1:2181
    get /hbase/master
    

    This should give you the HBase master IP that answer Zookeeper, so this IP must be accessible.

提交回复
热议问题