[
https://issues.apache.org/jira/browse/ZOOKEEPER-1025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13087642#comment-13087642
]
Hudson commented on ZOOKEEPER-1025:
-----------------------------------
Integrated in ZooKeeper-trunk #1270 (See
[https://builds.apache.org/job/ZooKeeper-trunk/1270/])
ZOOKEEPER-1025: zkCli is overly sensitive to to spaces. (Laxman via camille)
camille :
http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1159389
Files :
* /zookeeper/trunk/src/java/main/org/apache/zookeeper/ZooKeeperMain.java
* /zookeeper/trunk/src/java/test/org/apache/zookeeper/ZooKeeperTest.java
* /zookeeper/trunk/CHANGES.txt
> zkCli is overly sensitive to to spaces.
> ---------------------------------------
>
> Key: ZOOKEEPER-1025
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1025
> Project: ZooKeeper
> Issue Type: Improvement
> Components: java client
> Affects Versions: 3.3.3, 3.4.0
> Reporter: Jonathan Hsieh
> Assignee: Laxman
> Fix For: 3.4.0
>
> Attachments: ZOOKEEPER-1025.patch, ZOOKEEPER-1025.patch
>
>
> Here's an example:
> I do an ls to get znode names. I try to stat a znode.
> {code}
> [zk: localhost:3181(CONNECTED) 1] ls /flume-nodes
> [nodes0000000002, nodes0000000001, nodes0000000000, nodes0000000005,
> nodes0000000004, nodes0000000003]
> [zk: localhost:3181(CONNECTED) 3] stat /flume-nodes/nodes0000000002
> cZxid = 0xb
> ctime = Sun Mar 20 23:24:03 PDT 2011
> ... (success)
> {code}
> Here's something that almost looks the same. Notice the extra space infront
> of the znode name.
> {code}
> [zk: localhost:3181(CONNECTED) 2] stat /flume-nodes/nodes0000000002
> Command failed: java.lang.IllegalArgumentException: Path length must be > 0
> {code}
> This seems like unexpected behavior.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira