Ready created ZOOKEEPER-4389: -------------------------------- Summary: Cannot create a data node whose value starts with "-" Key: ZOOKEEPER-4389 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4389 Project: ZooKeeper Issue Type: Bug Components: scripts Affects Versions: 3.7 Environment: OS: CentOS 8.4
zookeeper: 3.7.0 Reporter: Ready I connect to ZooKeeper server via zkCli. I want to create a Znode using the following command: {code:java} // "-1" is data set /seata/server.maxCommitRetryTimeout -1 {code} However, it threw an exception as follows: {code:java} org.apache.commons.cli.UnrecognizedOptionException: Unrecognized option: -1 {code} I tried to use character " ( double-quote ) , ' ( single-quote ) or \ ( backslash ) to escape, but it still did NOT work. I want to know, how should this special character be escaped in zookeeper? -- This message was sent by Atlassian Jira (v8.3.4#803005)