ZookeeperConnectionException in HBase Standalone mode -
i'm using hbase-0.90.0. i'm running in standalone mode. while trying execute commands "hbase shell" giving me following error.
hbase(main):003:0> status 'detailed'
error: org.apache.hadoop.hbase.zookeeperconnectionexception: org.apache.hadoop.hbase.zookeeperconnectionexception: org.apache.zookeeper.keeperexception$connectionlossexception: keepererrorcode = connectionloss /hbase
i'm new hbase. can please me out problem?
thanks in advance
for 1 reason or hbase client not talking zookeeper. had same problem , issue me hbase config (hbase-site.xml) had wrong port zookeeper (the default 2181 , had set 2182 incorrectly). config using zookeeper @ http://hbase.apache.org/book.html#zookeeper.
also checking hbase , zookeeper think names , are. usual suspect /etc/hosts file has entries localhost / 127.0.0.1. make sure localhost has 1 line localhost , put aliases 127.0.0.1 on single line in /etc/hosts
sometimes having ipv4 , ipv6 entries in localhost confuses things, try commenting out ipv6 entries (the ones colons ':' in address.)
Comments
Post a Comment