You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Thijs Terlouw (JIRA)" <ji...@apache.org> on 2011/04/08 08:16:05 UTC
[jira] [Commented] (ZOOKEEPER-995) C Client exposing chroot
information
[ https://issues.apache.org/jira/browse/ZOOKEEPER-995?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13017308#comment-13017308 ]
Thijs Terlouw commented on ZOOKEEPER-995:
-----------------------------------------
This is indeed the same issue as https://issues.apache.org/jira/browse/ZOOKEEPER-1027, which has a patch available.
> C Client exposing chroot information
> ------------------------------------
>
> Key: ZOOKEEPER-995
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-995
> Project: ZooKeeper
> Issue Type: Bug
> Components: c client
> Environment: $ uname -a
> Linux kaizen 2.6.35-25-generic #44-Ubuntu SMP Fri Jan 21 17:40:48 UTC 2011 i686 GNU/Linux
> $ java -version
> java version "1.6.0_22"
> Java(TM) SE Runtime Environment (build 1.6.0_22-b04)
> Java HotSpot(TM) Server VM (build 17.1-b03, mixed mode)
> $ python -c "import zookeeper;print zookeeper.__version__"
> 3.4.0
> (latest zookeeper from the trunk)
> Reporter: Andrei Savu
> Attachments: ZOOKEEPER-995.patch
>
>
> When creating a new node while using a chrooted connection the client function returns the full path (no chroot prefix). I've encountered this while using zkpython and that's why I suppose it's a problem related to the C bindings. It seems like the java client it's not affected by the same issue (only tested using the command line interface). I will also attach a patch with failing test.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira