Created on 02-01-2017 05:43 PM - edited 09-16-2022 04:00 AM
I am having trouble on my system trying to use the stmk command for Zookeeper.
[hadoop@los90hdpc4m3][~]$ echo "envi" | nc localhost 2181 | grep zookeeper.version zookeeper.version=3.4.6-37--1, built on 11/29/2016 17:59 GMT [hadoop@los90hdpc4m3][~]$ echo "gtmk" | nc localhost 2181 306 [hadoop@los90hdpc4m3][~]$ perl -e "print 'stmk', pack('q>', 0b0011111010)" | nc localhost 2181
The stmk command, built using the Perl example shown in the ZooKeeper Administrator Guide, just hangs and never returns. Has anyone else had better luck enabling Zookeeper tracing via stmk? This is on a HDP 2.5.3 system.
Created 02-01-2017 05:47 PM
Want to get a detailed solution you have to login/registered on the community
Register/LoginCreated 02-01-2017 05:47 PM
Want to get a detailed solution you have to login/registered on the community
Register/LoginCreated 02-01-2017 10:21 PM
As the Jira says, stmk is rarely used, but the current version of Zookeeper, ver. 3.4.6 was added in HDP-2.x, so yes, 3.4.7 or higher which fixes the bug should be added soon.