[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=15006553#comment-15006553 ] Edward Ribeiro commented on ZOOKEEPER-1853: --- Hi [~rgs], While testing 3.4.7 release I have seen that some space separated data works as below: {code} [zk: localhost:2181(CONNECTED) 5] create /concepts "Hello world" Created /concepts [zk: localhost:2181(CONNECTED) 6] get /concepts Hello world cZxid = 0x3 ctime = Mon Nov 16 09:17:37 BRST 2015 mZxid = 0x3 mtime = Mon Nov 16 09:17:37 BRST 2015 pZxid = 0x3 cversion = 0 dataVersion = 0 aclVersion = 0 ephemeralOwner = 0x0 dataLength = 11 numChildren = 0 {code} OTOH, the json example on the description of this issue returns incomplete data on GET, as below: {code} [zk: localhost:2181(CONNECTED) 7] create /contacts '{"country":"CA","name":"De La Salle"}' Node already exists: /contacts [zk: localhost:2181(CONNECTED) 8] get /contacts {"country":"CA","name":"De cZxid = 0x2 ctime = Mon Nov 16 09:16:34 BRST 2015 mZxid = 0x2 mtime = Mon Nov 16 09:16:34 BRST 2015 pZxid = 0x2 cversion = 0 dataVersion = 0 aclVersion = 0 ephemeralOwner = 0x0 dataLength = 26 numChildren = 0 {code} Is this the expected behaviour of GET? Should we open a new JIRA to address it? Best regards, Ed > 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)
[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=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)
[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=14969276#comment-14969276 ] Jun Gong commented on ZOOKEEPER-1853: - I came across this problem too today, I rebased [~ryanlamore] 's patch to branch-3.4 since there is no response for a long time, and attach the patch for brach-3.4. Kindly review it please. > 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)
[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=14969284#comment-14969284 ] Hadoop QA commented on ZOOKEEPER-1853: -- -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12768046/ZOOKEEPER-1853-branch-3.4.patch against trunk revision 1709293. +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 3 new or modified tests. -1 patch. The patch command could not apply the patch. Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2923//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 >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)
[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=14957977#comment-14957977 ] Hadoop QA commented on ZOOKEEPER-1853: -- +1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12725465/ZOOKEEPER-1853.patch against trunk revision 1706631. +1 @author. The patch does not contain any @author tags. +1 tests included. The patch appears to include 4 new or modified tests. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs (version 2.0.3) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. +1 core tests. The patch passed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2919//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2919//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2919//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 >Assignee: Ryan Lamore >Priority: Minor > Labels: patch > Fix For: 3.4.7, 3.5.2, 3.6.0 > > Attachments: 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)
[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=14957748#comment-14957748 ] Jay Taylor commented on ZOOKEEPER-1853: --- Any updates as to when this will be merged? > 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.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)
[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=14708521#comment-14708521 ] Raul Gutierrez Segales commented on ZOOKEEPER-1853: --- [~ryanlamore]: could you generate a patch for the 3.4 branch please? Thanks! > 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.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)
[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=14522531#comment-14522531 ] Raul Gutierrez Segales commented on ZOOKEEPER-1853: --- Thanks for the patch [~ryanlamore]! Though, could you generate one against the 3.4 branch, the one you uploaded seems to be against trunk. Other than that, lgtm +1 > 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 > > Attachments: 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)
[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=14496236#comment-14496236 ] Ryan Lamore commented on ZOOKEEPER-1853: This is my first commit to this project. What's the process from this point on? Thanks! > 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 > > Attachments: 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)
[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=14495651#comment-14495651 ] Hadoop QA commented on ZOOKEEPER-1853: -- +1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12725465/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 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs (version 2.0.3) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. +1 core tests. The patch passed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2635//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2635//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2635//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, 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)
[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=14495544#comment-14495544 ] Hadoop QA commented on ZOOKEEPER-1853: -- -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12725445/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 javadoc. The javadoc tool did not generate any warning messages. -1 javac. The applied patch generated 10 javac compiler warnings (more than the trunk's current 6 warnings). +1 findbugs. The patch does not introduce any new Findbugs (version 2.0.3) warnings. +1 release audit. The applied patch does not increase the total number of release audit warnings. +1 core tests. The patch passed core unit tests. +1 contrib tests. The patch passed contrib unit tests. Test results: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2634//testReport/ Findbugs warnings: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2634//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Console output: https://builds.apache.org/job/PreCommit-ZOOKEEPER-Build/2634//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, 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)
[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=14495496#comment-14495496 ] Ryan Lamore commented on ZOOKEEPER-1853: looks like I didn't do the diff correctly.. Let me try again > 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)
[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)
[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=14238280#comment-14238280 ] Gus Heck commented on ZOOKEEPER-1853: - Same issue when using set commands by the way. > 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 > Attachments: 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)
[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=14079768#comment-14079768 ] sekine coulibaly commented on ZOOKEEPER-1853: - Hi Flavio, Using 3.4.5 atm. Will Check versus trunk after august 10th ! Thank you for the investigation! Br Sekine Le dimanche 27 juillet 2014, Flavio Junqueira (JIRA) a > 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 > Attachments: 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.2#6252)
[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=14075629#comment-14075629 ] Flavio Junqueira commented on ZOOKEEPER-1853: - Which version are you using? 3.4.* or out of trunk? There are differences in the cli implementation. > 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 > Attachments: 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.2#6252)