zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-1853) zkCli.sh can't issue a CREATE command containing spaces in the data
Date Sun, 08 Nov 2015 22:31:11 GMT

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-1853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14995847#comment-14995847
] 

Hudson commented on ZOOKEEPER-1853:
-----------------------------------

FAILURE: Integrated in ZooKeeper-trunk #2811 (See [https://builds.apache.org/job/ZooKeeper-trunk/2811/])
ZOOKEEPER-1853: zkCli.sh can't issue a CREATE command containing
spaces in the data (Ryan Lamore via rgs) (rgs: [http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1713303])
* trunk/.gitignore
* trunk/CHANGES.txt
* trunk/src/java/main/org/apache/zookeeper/ZooKeeperMain.java
* trunk/src/java/test/org/apache/zookeeper/ZooKeeperTest.java


> zkCli.sh can't issue a CREATE command containing spaces in the data
> -------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-1853
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1853
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: java client
>    Affects Versions: 3.4.6, 3.5.0
>            Reporter: sekine coulibaly
>            Assignee: Ryan Lamore
>            Priority: Minor
>              Labels: patch
>             Fix For: 3.4.7, 3.5.2, 3.6.0
>
>         Attachments: ZOOKEEPER-1853-branch-3.4.patch, ZOOKEEPER-1853.patch, ZOOKEEPER-1853.patch,
ZOOKEEPER-1853.patch, ZkSpaceMan.java
>
>
> Execute the following command in zkCli.sh :
> create /contacts/1  {"country":"CA","name":"De La Salle"}
> The results is that only {"id":1,"fullname":"De is stored.
> The expected result is to have the full JSON payload stored.
> The CREATE command seems to be croped after the first space of the data payload. When
issuing a create command, all arguments not being -s nor -e shall be treated as the actual
data.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message