Support Questions

Find answers, ask questions, and share your expertise

How to find health of journalnode?

avatar
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?

1 REPLY 1

avatar
Contributor

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.