hbase-docker
hbase-docker copied to clipboard
Note about /etc/hosts/ changes
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 :)
Hbase is quite fussy about DNS working but I admit I haven't re-confirmed this in some years