[
https://issues.apache.org/jira/browse/ZOOKEEPER-2568?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15481040#comment-15481040
]
Prabhunath Yadav edited comment on ZOOKEEPER-2568 at 9/11/16 4:56 AM:
----------------------------------------------------------------------
Ok just need to use updated version to use such command . Thank you!!
I would like to know is there is any documents for naming convention of node
etc..
was (Author: prabhunath):
Ok just need to use updated version to use such command . Thank you!!
> Node created having name with space is not deleted with delete command
> ----------------------------------------------------------------------
>
> Key: ZOOKEEPER-2568
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2568
> Project: ZooKeeper
> Issue Type: Bug
> Components: java client, server
> Affects Versions: 3.4.6
> Environment: In java using
> Reporter: Prabhunath Yadav
> Priority: Minor
>
> For Example :
> String myNode="/MyNode"+new Date() ;
> connector.createNode(newNode, new Date().toString().getBytes());
> and createNode is defined as:
> public void createNode(String path, byte[] data) throws Exception
> {
> zk.create(path, data, Ids.OPEN_ACL_UNSAFE, CreateMode.PERSISTENT);
> }
> if we delete the node from command
> delete /MyNodeFri Aug 12 09:42:16 GMT+05:30 2016
> then we get exception saying
> Command failed:java.lang.NumberFormatException: for input string : "Aug"
> How to delete such node ? may rmr command can remove but why delete command
> not working ?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)