Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

For CDH 5.7.0 what is the full path to an HDFS datanode's PID file?

avatar
Explorer

For CDH 5.7.0 what is the full path to an HDFS datanode's PID file?

1 ACCEPTED SOLUTION

avatar
Master Guru

@JeffKubina

 

Oops, that was overkill... forgot that supervisorctl status output has the PID column already...  So, you can run:

 

/usr/lib64/cmf/agent/build/env/bin/supervisorctl -c /var/run/cloudera-scm-agent/supervisor/supervisord.conf status

 

The PID will be the 4th column.

 

-Ben

View solution in original post

11 REPLIES 11

avatar
Champion

@bgooley

 

 if the cluster is not managed by CM then the path for PID is the below 

Correct me if I am wrong ,

/var/run/hadoop-hdfs/

avatar
Explorer
That is correct.