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

How to connect hbase in OSX? #7

Open
morefreeze opened this issue Dec 1, 2015 · 1 comment
Open

How to connect hbase in OSX? #7

morefreeze opened this issue Dec 1, 2015 · 1 comment

Comments

@morefreeze
Copy link

I change 'hbase.zookeeper.quorum' of hbase-site.xml to $(docker-machine ip default):2181, but when I join hbase shell and type list, it output following:

2015-12-01 16:40:43,538 INFO  [main] ipc.RpcClient: Retrying connect to server: 61f329846777/61.50.248.117:44555 after sleeping 100ms. Already tried 0 time(s).
2015-12-01 16:41:03,648 INFO  [main] ipc.RpcClient: Retrying connect to server: 61f329846777/61.50.248.117:44555 after sleeping 100ms. Already tried 1 time(s).

61f3 is container id. And I try python code which has same problem. How to connect zk correctly?

@morefreeze
Copy link
Author

I actually add docker-machine ip to /etc/hosts as dockerhost and use it in hbase-site.xml

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

1 participant