You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2015/04/15 01:01:03 UTC

[jira] [Commented] (ZOOKEEPER-1853) zkCli.sh can't issue a CREATE command containing spaces in the data

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

Hadoop QA commented on ZOOKEEPER-1853:
--------------------------------------

-1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12725416/ZOOKEEPER-1853.patch
  against trunk revision 1672934.

    +1 @author.  The patch does not contain any @author tags.

    +1 tests included.  The patch appears to include 4 new or modified tests.

    -1 patch.  The patch command could not apply the patch.

Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2633//console

This message is automatically generated.

> 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
>            Priority: Minor
>              Labels: patch
>         Attachments: 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)