Hbase: How to specify hostname for Hbase master

后端 未结 4 997
夕颜
夕颜 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:25

    There are two things that fix this class of problem for me:

    1) Remove all "localhost" names, only have 127.0.0.1 pointing to the name of the hmaster node.

    2) run "hostname X" on your hbase master node, to make sure the hostname matches what is in /etc/hosts.

    Not being a networking expert, I can't say why this is important, but it is :)

提交回复
热议问题