If you are not able to for some reason switch user as hbase to collect Jstack, you can run the following to collect the similiar information with kill -3 command.
This won't kill the process, but it just dumps the stack threads in to .out file.
echo > /var/log/hbase/hbase-hbase-regionserver-hbase4.openstacklocal.out
kill -3 `cat /var/run/hbase/hbase-hbase-regionserver.pid`
cp /var/log/hbase/hbase-hbase-regionserver-hbase4.openstacklocal.out "Jstack_$(date +"%Y_%m_%d_%I_%M_%p")_`hostname`.log"
Subscribe to:
Post Comments (Atom)
Boost Your Download Speed with lftp Segmentation
Looking for a faster way to download files via sftp to a Linux machine? Try using "lftp" instead. This tool offers segmented downl...
Other relevant topics
-
Over the period of time, Ambari performance gets slower especially when the cluster is big (100+ nodes). To improve it we can purge the o...
-
DistCp (distributed copy) is a tool generally used for large inter/intra-cluster copying in hadoop. But it can also be used to copy the f...
-
+++++++++++++++++++++++++++++++++++++++++++ How to move a region from 1 RS to another Region server:- ++++++++++++++++++++++++++++++++++++...
No comments:
Post a Comment