zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Travis Crawford <traviscrawf...@gmail.com>
Subject Identify ephemeral node owner
Date Tue, 29 Mar 2011 21:29:24 GMT
Hey zookeepers -

Is there a way to map the ephemeral node owner session back to the
process holding that node open? For example, given the following znode
stat output from the python client I'm interested in finding who has
this open.

{'pzxid': 17302254734L, 'ctime': 1301279980630L, 'aversion': 0,
'mzxid': 17302254734L, 'numChildren': 0, 'ephemeralOwner':
301083794498035291L, 'version': 0, 'dataLength': 0, 'mtime':
1301279980630L, 'cversion': 0, 'czxid': 17302254734L}

Grep'ing through zookeeper.log I found lines like follows referencing
the ephemeralOwner number, however, nothing useful in tracking down
the process holding it open.

2011-03-29 13:12:50,083 - INFO
[NIOServerCxn.Factory:] - Revalidating
client: 301083794498035291


View raw message