so you need to start the server with java system
property zookeeper.extendedTypesEnabled set to true.

Best,
tison.


Zili Chen <wander4...@gmail.com> 于2019年10月11日周五 下午1:35写道:

> From the document it says
>
> # create the ttl node.
> # set zookeeper.extendedTypesEnabled=true
> # Otherwise:KeeperErrorCode = Unimplemented for /ttl_node
> [zkshell: 20] create -t 3000 /ttl_node mydata
>    Created /ttl_node
>
> Best,
> tison.
>
>
> 一直以来 <279377...@qq.com> 于2019年10月11日周五 下午1:28写道:
>
>> [ghy@localhost bin]$ ps -ef|grep java
>> ghy&nbsp; &nbsp; &nbsp; &nbsp;14773&nbsp; &nbsp; &nbsp; 1&nbsp; 0 12:43
>> pts/0&nbsp; &nbsp; 00:00:02 java
>> -Dzookeeper.log.dir=/home/ghy/T/z1/bin/../logs
>> -Dzookeeper.log.file=zookeeper-ghy-server-localhost.localdomain.log
>> -Dzookeeper.root.logger=INFO,CONSOLE -XX:+HeapDumpOnOutOfMemoryError
>> -XX:OnOutOfMemoryError=kill -9 %p -cp
>> /home/ghy/T/z1/bin/../zookeeper-server/target/classes:/home/ghy/T/z1/bin/../build/classes:/home/ghy/T/z1/bin/../zookeeper-server/target/lib/*.jar:/home/ghy/T/z1/bin/../build/lib/*.jar:/home/ghy/T/z1/bin/../lib/zookeeper-jute-3.5.5.jar:/home/ghy/T/z1/bin/../lib/zookeeper-3.5.5.jar:/home/ghy/T/z1/bin/../lib/slf4j-log4j12-1.7.25.jar:/home/ghy/T/z1/bin/../lib/slf4j-api-1.7.25.jar:/home/ghy/T/z1/bin/../lib/netty-all-4.1.29.Final.jar:/home/ghy/T/z1/bin/../lib/log4j-1.2.17.jar:/home/ghy/T/z1/bin/../lib/json-simple-1.1.1.jar:/home/ghy/T/z1/bin/../lib/jline-2.11.jar:/home/ghy/T/z1/bin/../lib/jetty-util-9.4.17.v20190418.jar:/home/ghy/T/z1/bin/../lib/jetty-servlet-9.4.17.v20190418.jar:/home/ghy/T/z1/bin/../lib/jetty-server-9.4.17.v20190418.jar:/home/ghy/T/z1/bin/../lib/jetty-security-9.4.17.v20190418.jar:/home/ghy/T/z1/bin/../lib/jetty-io-9.4.17.v20190418.jar:/home/ghy/T/z1/bin/../lib/jetty-http-9.4.17.v20190418.jar:/home/ghy/T/z1/bin/../lib/javax.servlet-api-3.1.0.jar:/home/ghy/T/z1/bin/../lib/jackson-databind-2.9.8.jar:/home/ghy/T/z1/bin/../lib/jackson-core-2.9.8.jar:/home/ghy/T/z1/bin/../lib/jackson-annotations-2.9.0.jar:/home/ghy/T/z1/bin/../lib/commons-cli-1.2.jar:/home/ghy/T/z1/bin/../lib/audience-annotations-0.5.0.jar:/home/ghy/T/z1/bin/../zookeeper-*.jar:/home/ghy/T/z1/bin/../zookeeper-server/src/main/resources/lib/*.jar:/home/ghy/T/z1/bin/../conf:
>> -Xmx1000m -Dcom.sun.management.jmxremote
>> -Dcom.sun.management.jmxremote.local.only=false
>> org.apache.zookeeper.server.quorum.QuorumPeerMain
>> /home/ghy/T/z1/bin/../conf/zoo.cfg
>> ghy&nbsp; &nbsp; &nbsp; &nbsp;14816&nbsp; 14810&nbsp; 0 12:44 pts/1&nbsp;
>> &nbsp; 00:00:02 java -Dzookeeper.log.dir=/home/ghy/T/z1/bin/../logs
>> -Dzookeeper.root.logger=INFO,CONSOLE
>> -Dzookeeper.log.file=zookeeper-ghy-cli-localhost.localdomain.log -cp
>> /home/ghy/T/z1/bin/../zookeeper-server/target/classes:/home/ghy/T/z1/bin/../build/classes:/home/ghy/T/z1/bin/../zookeeper-server/target/lib/*.jar:/home/ghy/T/z1/bin/../build/lib/*.jar:/home/ghy/T/z1/bin/../lib/zookeeper-jute-3.5.5.jar:/home/ghy/T/z1/bin/../lib/zookeeper-3.5.5.jar:/home/ghy/T/z1/bin/../lib/slf4j-log4j12-1.7.25.jar:/home/ghy/T/z1/bin/../lib/slf4j-api-1.7.25.jar:/home/ghy/T/z1/bin/../lib/netty-all-4.1.29.Final.jar:/home/ghy/T/z1/bin/../lib/log4j-1.2.17.jar:/home/ghy/T/z1/bin/../lib/json-simple-1.1.1.jar:/home/ghy/T/z1/bin/../lib/jline-2.11.jar:/home/ghy/T/z1/bin/../lib/jetty-util-9.4.17.v20190418.jar:/home/ghy/T/z1/bin/../lib/jetty-servlet-9.4.17.v20190418.jar:/home/ghy/T/z1/bin/../lib/jetty-server-9.4.17.v20190418.jar:/home/ghy/T/z1/bin/../lib/jetty-security-9.4.17.v20190418.jar:/home/ghy/T/z1/bin/../lib/jetty-io-9.4.17.v20190418.jar:/home/ghy/T/z1/bin/../lib/jetty-http-9.4.17.v20190418.jar:/home/ghy/T/z1/bin/../lib/javax.servlet-api-3.1.0.jar:/home/ghy/T/z1/bin/../lib/jackson-databind-2.9.8.jar:/home/ghy/T/z1/bin/../lib/jackson-core-2.9.8.jar:/home/ghy/T/z1/bin/../lib/jackson-annotations-2.9.0.jar:/home/ghy/T/z1/bin/../lib/commons-cli-1.2.jar:/home/ghy/T/z1/bin/../lib/audience-annotations-0.5.0.jar:/home/ghy/T/z1/bin/../zookeeper-*.jar:/home/ghy/T/z1/bin/../zookeeper-server/src/main/resources/lib/*.jar:/home/ghy/T/z1/bin/../conf:
>> -Xmx256m org.apache.zookeeper.ZooKeeperMain -server 127.0.0.1:2181
>> ghy&nbsp; &nbsp; &nbsp; &nbsp;15498&nbsp; &nbsp;9162&nbsp; 0 13:20
>> pts/0&nbsp; &nbsp; 00:00:00 grep --color=auto java
>> [ghy@localhost bin]$&nbsp;
>>
>>
>>
>>
>>
>> 3.5.5 version!!
>>
>>
>>
>>
>> ------------------&nbsp;原始邮件&nbsp;------------------
>> 发件人:&nbsp;"Zili Chen"<wander4...@gmail.com&gt;;
>> 发送时间:&nbsp;2019年10月11日(星期五) 中午1:04
>> 收件人:&nbsp;"user"<user@zookeeper.apache.org&gt;;
>>
>> 主题:&nbsp;Re: use 3.5.5 version ,,run command : create -t 15000 /1 value
>> return err
>>
>>
>>
>> Do you connect to a server running in version 3.4.x?
>>
>> Best,
>> tison.
>>
>>
>> 一直以来 <279377...@qq.com&gt; 于2019年10月11日周五 下午12:46写道:
>>
>> &gt; [zk: 127.0.0.1:2181(CONNECTED) 0] ls /
>> &gt; [zookeeper]
>> &gt; [zk: 127.0.0.1:2181(CONNECTED) 1] create -t 15000 /1 value
>> &gt; KeeperErrorCode = Unimplemented for /1
>> &gt; [zk: 127.0.0.1:2181(CONNECTED) 2]&amp;nbsp;
>> &gt;
>> &gt;
>> &gt;
>> &gt;
>> &gt;
>> &gt;
>> &gt;
>> &gt; why??
>> &gt;
>> &gt;
>> &gt; thank you very much!
>
>

Reply via email to