Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Note about /etc/hosts/ changes #24

Open
atfire opened this issue Apr 26, 2018 · 1 comment
Open

Note about /etc/hosts/ changes #24

atfire opened this issue Apr 26, 2018 · 1 comment

Comments

@atfire
Copy link

atfire commented Apr 26, 2018

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 :)

@dajobe
Copy link
Owner

dajobe commented Sep 6, 2018

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants