hbase-docker icon indicating copy to clipboard operation
hbase-docker copied to clipboard

Note about /etc/hosts/ changes

Open atfire opened this issue 7 years ago • 1 comments

Not an issue - just a question: are you sure you need to make changes to /etc/hosts to be able to connect to hbase in container? I created an hbase image some time ago and I'm able to connect to it just using localhost:2181

I suggest to try following properties in hbase-site.xml:

<configuration>
<property>
    <name>hbase.cluster.distributed</name>
    <value>true</value>
</property>
<property>
    <name>hbase.regionserver.ipc.address</name>
    <value>0.0.0.0</value>
</property>
<property>
    <name>hbase.master.ipc.address</name>
    <value>0.0.0.0</value>
</property>

(see my comment here too: https://stackoverflow.com/questions/43524733/how-to-specify-rpc-server-port-for-hbase/43540376)

Anyway, this worked for me so I just wanted to help :)

atfire avatar Apr 26 '18 21:04 atfire

Hbase is quite fussy about DNS working but I admit I haven't re-confirmed this in some years

dajobe avatar Sep 06 '18 16:09 dajobe