Support Questions

Find answers, ask questions, and share your expertise
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

How to find health of journalnode?

I am going to add new journalnode to my hadoop cluster. So, for scp i need to select a journalnode with all edits without any lag

How to find which journalnode has all edits without any lag?


Cloudera Employee

First, remember you need to have an odd number of journalnode (3, 5, 7, etc).

All the Journal nodes should be sync. Tail the log file across all the JN to be sure you are in the same edit.

tail -f /var/log/hadoop/hdfs/hadoop-hdfs-journalnode*.log

* Note: If you comment this post make sure you tag my name. And If you found this answer addressed your question, please take a moment to login and click the "accept" link on the answer.

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.