Hbase can't get master address from zookeeper - even though zkcli shows hbase directories -
we have been repeatedly running issues zookeeper , hbase interworking. typical error is:
hbase(main):001:0> list table error: can't master address zookeeper; znode data == null
we have checked nodes exist in zookeeper using hbase zkcli ls command:
[zk: localhost.localdomain:2181(connected) 1] ls /hbase [meta-region-server, backup-masters, table, draining, region-in-transition, table-lock, running, namespace, hbaseid, online-snapshot, replication, splitwal, recovering-regions, rs]
in particular let @ /hbase/hbaseid:
[zk: localhost.localdomain:2181(connected) 5] ls /hbase/hbaseid [] czxid = 0x89 ctime = mon may 12 01:42:49 pdt 2014 mzxid = 0x11dc mtime = tue jul 01 17:51:13 pdt 2014 pzxid = 0x89 cversion = 0 dataversion = 5 aclversion = 0 ephemeralowner = 0x0 datalength = 67 numchildren = 0
from limited understanding of zookeeper/hbase interaction seems healthy. there znodes/features check? other diagnostics or repair method hints appreciated.
stop zookeeper , hbase. delete contents zookeeper dir. start zookeeper , hbase again. solve problem.
Comments
Post a Comment