You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Timothy Potter (JIRA)" <ji...@apache.org> on 2014/03/07 04:47:47 UTC

[jira] [Updated] (ZOOKEEPER-849) Provide Path class

     [ https://issues.apache.org/jira/browse/ZOOKEEPER-849?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Timothy Potter updated ZOOKEEPER-849:
-------------------------------------

    Attachment: SOLR-5823.patch

Here's a quick patch with a happy path assert added to the ZkControllerTest.

This solution currently is doing some parsing of the znode data retrieved from ZK to isolate the node name. Looks like the ZooKeeper folks are planning to introduce a Path class to help with parsing in 3.5 (see: https://issues.apache.org/jira/browse/ZOOKEEPER-849) but not available yet so I'm just parsing out the node name from the znode sequence id.

> Provide Path class
> ------------------
>
>                 Key: ZOOKEEPER-849
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-849
>             Project: ZooKeeper
>          Issue Type: Sub-task
>          Components: java client
>            Reporter: Thomas Koch
>            Assignee: Thomas Koch
>             Fix For: 3.5.0
>
>         Attachments: ZOOKEEPER-849.patch, ZOOKEEPER-849.patch, ZOOKEEPER-849.patch, ZOOKEEPER-849.patch, ZOOKEEPER-849.patch, ZOOKEEPER-849.patch, ZOOKEEPER-849.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.2#6252)