Support Questions
Find answers, ask questions, and share your expertise
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

No journalnode to stop

No journalnode to stop

New Contributor
 While i am trying to stop journalnode process it gives no journal node to stop, but journal node is actually running

i executed in the follwing way.

451 jps
3541 journalnode

And i try to stop journal using

apache_hadoop/sbin/ stop journalnode
no journalnode to stop

then i just killed the process and started it again

kill 3541
apache_hadoop/sbin/ start journalnode

and journalnode started normally

This issue not only for journal node , it happens all the nodes in hadoop cluster at some time

Why this issue? and How to solve it?


Re: No journalnode to stop

Master Collaborator


the script reads the pid from here:


and then it tries: 

      TARGET_PID=`cat $pid`
      if kill -0 $TARGET_PID > /dev/null 2>&1; then

So either the path does not exists, and it can't read the pid by "cat" command or the kill -0 does not return 0.


Don't have an account?
Coming from Hortonworks? Activate your account here