Support Questions

Find answers, ask questions, and share your expertise

path for zookeeper for ' ActiveStandbyElectorLock' or 'ActiveBreadcrumb


Where can we find (path) the property of ' ActiveStandbyElectorLock' or 'ActiveBreadcrumb' in zookeeper

(path for zookeeper for ' ActiveStandbyElectorLock' or 'ActiveBreadcrumb')


Super Mentor

@Nani Bigdata


1). Connect to your Zookeeper Quorum using "" as following: Please pass your own Zookeeper quorum hostname in the below command.

# /usr/hdp/current/zookeeper-client/bin/  -server,,

2). List the contents of "ls /hadoop-ha"

[zk:,, 2] ls /hadoop-ha

3). If you have configured NameNode HA then in the above command output you should see the NameService name for your Hadoop HA like in my case it is "My-NN-HA". Then list "ls /hadoop-ha/My-NN-HA"

[zk:,, 3] ls /hadoop-ha/My-NN-HA
[ActiveBreadCrumb, ActiveStandbyElectorLock]

4). They you can get those ZNodes.

[zk:,, 4] get /hadoop-ha/My-NN-HA/ActiveBreadCrumb �>(�>
cZxid = 0x2000000a2
ctime = Tue May 22 02:20:06 UTC 2018
mZxid = 0x9000aee8c
mtime = Mon Jun 17 03:24:47 UTC 2019
pZxid = 0x200000eee
cversion = 0
dataVersion = 155
aclVersion = 0
ephemeralOwner = 0x0
dataLength = 42
numChildren = 0


[zk:,, 5]  get /hadoop-ha/My-NN-HA/ActiveStandbyElectorLock �>(�>
cZxid = 0x900081b6e
ctime = Fri Jun 07 13:29:03 UTC 2019
mZxid = 0x900081b6e
mtime = Fri Jun 07 13:29:03 UTC 2019
pZxid = 0x900081bee
cversion = 0
dataVersion = 0
aclVersion = 0
ephemeralOwner = 0x26ab8da9f7fd456
dataLength = 42
numChildren = 0



Super Mentor

@Nani Bigdata

Does it answers your query? Or do you have any additional query in this regard?
If not then please mark this HCC thread as resolved by clicking on the "Accept" Button.

The above quesgtion and the replies below were originally posted in the Hadoop Core. On Tue Jun 18 04:32 UTC 2019, a member of the HCC moderation staff moved it to the Hadoop Core track. The Community Help Track is intended for questions about using the HCC site itself.

Bill Brooks, Community Moderator
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.