Support Questions

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

How to find health of journalnode?

Rising Star

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?



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.