PDavid commented on PR #2318: URL: https://github.com/apache/zookeeper/pull/2318#issuecomment-3329070413
Tested this locally the following way: Created config `cp conf/zoo_sample.cfg conf/zoo.cfg` Built the project: `mvn clean install -DskipTests` Started ZooKeeper server: `bin/zkServer.sh start` Connected to ZooKeeper server with the client: `bin/zkCli.sh -server 127.0.0.1:2181` Created some test ZNodes ``` create /zk_test my_data create /zk_test/whatever my_data2 create /zk_test/whatever/alma my_data3 create /zk_test/whatever/other my_data4 ``` "JLine support is enabled" is displayed in the output - OK :heavy_check_mark: Made sure that completion is working for commands: ``` 2025-09-24 16:50:22,419 [myid:] - INFO [main:o.a.z.ZooKeeper@1120] - Initiating client connection, connectString=127.0.0.1:2181 sessionTimeout=30000 watcher=org.apache.zookeeper.ZooKeeperMain$MyWatcher@7ea37dbf 2025-09-24 16:50:22,424 [myid:] - INFO [main:o.a.z.c.X509Util@85] - Setting -D jdk.tls.rejectClientInitiatedRenegotiation=true to disable client-initiated TLS renegotiation 2025-09-24 16:50:22,529 [myid:] - INFO [main:o.a.z.c.X509Util@109] - Default TLS protocol is TLSv1.3, supported TLS protocols are [TLSv1.3, TLSv1.2, TLSv1.1, TLSv1, SSLv3, SSLv2Hello] 2025-09-24 16:50:22,534 [myid:] - INFO [main:o.a.z.ClientCnxnSocket@235] - jute.maxbuffer value is 1048575 Bytes 2025-09-24 16:50:22,538 [myid:] - INFO [main:o.a.z.ClientCnxn@1674] - zookeeper.request.timeout value is 0. feature enabled=false Welcome to ZooKeeper! JLine support is enabled 2025-09-24 16:50:22,542 [myid:127.0.0.1:2181] - INFO [main-SendThread(127.0.0.1:2181):o.a.z.ClientCnxn$SendThread@1121] - Opening socket connection to server localhost/127.0.0.1:2181. 2025-09-24 16:50:22,542 [myid:127.0.0.1:2181] - INFO [main-SendThread(127.0.0.1:2181):o.a.z.ClientCnxn$SendThread@1123] - SASL config status: Will not attempt to authenticate using SASL (unknown error) 2025-09-24 16:50:22,548 [myid:127.0.0.1:2181] - INFO [main-SendThread(127.0.0.1:2181):o.a.z.ClientCnxn$SendThread@974] - Socket connection established, initiating session, client: /127.0.0.1:55502, server: localhost/127.0.0.1:2181 2025-09-24 16:50:22,554 [myid:127.0.0.1:2181] - INFO [main-SendThread(127.0.0.1:2181):o.a.z.ClientCnxn$SendThread@1378] - Session establishment complete on server localhost/127.0.0.1:2181, session id = 0x1000807a7230004, negotiated timeout = 30000 WATCHER:: WatchedEvent state:SyncConnected type:None path:null zxid: -1 [zk: 127.0.0.1:2181(CONNECTED) 0] add addWatch addauth ``` Also for ZNode path-s: ``` [zk: 127.0.0.1:2181(CONNECTED) 0] ls /z /zk_test /zookeeper ``` ``` [zk: 127.0.0.1:2181(CONNECTED) 0] ls /zk_test/whatever/ /zk_test/whatever/alma /zk_test/whatever/other ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
