You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "sekine coulibaly (JIRA)" <ji...@apache.org> on 2013/12/28 23:39:50 UTC

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

sekine coulibaly created ZOOKEEPER-1853:
-------------------------------------------

             Summary: 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
            Reporter: sekine coulibaly
            Priority: Minor


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.1.5#6160)