You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2012/11/22 01:32:58 UTC
[jira] [Created] (ZOOKEEPER-1587) Provide simple way to determine
IP address of an ephemeral znode's owner
Todd Lipcon created ZOOKEEPER-1587:
--------------------------------------
Summary: Provide simple way to determine IP address of an ephemeral znode's owner
Key: ZOOKEEPER-1587
URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1587
Project: ZooKeeper
Issue Type: Improvement
Affects Versions: 3.4.3
Reporter: Todd Lipcon
Occasionally I've run into operational cases where an ephemeral znode exists, and is held by some client, but it's not clear which client is the holder. By getting the znode from the shell, one can find the session ID, but as far as I'm aware the only way to reverse that to an IP is by grepping logs, etc.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (ZOOKEEPER-1587) Provide simple way to determine
IP address of an ephemeral znode's owner
Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13503322#comment-13503322 ]
Todd Lipcon commented on ZOOKEEPER-1587:
----------------------------------------
Sure - and most apps do. But, in many cases, it's stored in some kind of encoded form which isn't straight-forward to decode when you're an operator sitting at the shell. (eg several apps store the data using protobuf or thrift)
> Provide simple way to determine IP address of an ephemeral znode's owner
> ------------------------------------------------------------------------
>
> Key: ZOOKEEPER-1587
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1587
> Project: ZooKeeper
> Issue Type: Improvement
> Affects Versions: 3.4.3
> Reporter: Todd Lipcon
>
> Occasionally I've run into operational cases where an ephemeral znode exists, and is held by some client, but it's not clear which client is the holder. By getting the znode from the shell, one can find the session ID, but as far as I'm aware the only way to reverse that to an IP is by grepping logs, etc.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (ZOOKEEPER-1587) Provide simple way to determine
IP address of an ephemeral znode's owner
Posted by "Ivan Kelly (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13502733#comment-13502733 ]
Ivan Kelly commented on ZOOKEEPER-1587:
---------------------------------------
Would it not make sense for the application in question to put their hostname/port into the znode data for the ephemeral node.
> Provide simple way to determine IP address of an ephemeral znode's owner
> ------------------------------------------------------------------------
>
> Key: ZOOKEEPER-1587
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1587
> Project: ZooKeeper
> Issue Type: Improvement
> Affects Versions: 3.4.3
> Reporter: Todd Lipcon
>
> Occasionally I've run into operational cases where an ephemeral znode exists, and is held by some client, but it's not clear which client is the holder. By getting the znode from the shell, one can find the session ID, but as far as I'm aware the only way to reverse that to an IP is by grepping logs, etc.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira