Reputation: 33
I want to create table in HBase for hadoop in Ubuntu os .For that i dowloaded hbase-0.94.11 to run in localmode and able to start master and hbase shell command.But while i give this command 'list' throws exception as "org.apache.hadoop.hbase.zookeeperconnectionexception:an error is preventing HBase from connecting to zookeeper" .If anyone knows solution please help me in solving this issue -Thanks
Upvotes: 0
Views: 862
Reputation: 34184
The log looks incomplete. But most probably the cause is java.net.BindException:Problem binding to virtual machine Cannot assign requested address
This signifies that an error occurred while attempting to bind a socket to a local address and port. Perhaps, the port is in use, or the requested local address could not be assigned. As a quick fix you can try this :
Change the line which contains 127.0.1.1 in your /etc/hosts file to 127.0.0.1 and restart HBase. If it still doesn't work please show me your complete logs.
Upvotes: 1