Support Questions
Find answers, ask questions, and share your expertise

Adding Journal Node to CDP Private Cloud Base Cluster

New Contributor

Hi all,

i'm searching for a safe procedure to add a new journal node to a Cloudera CDP cluster. Now we have only two master node and so we would like to add the third masternode and deploy the third journal node on it. 

Is it enough to deploy the role using the cloudera manager add role function? Or is it necessary to take further action? Thank you.

1 ACCEPTED SOLUTION

Rising Star

As HDFS-3743 still remains unresolved. I don't see any feature in the CM to copy the edits from the live journal node to the newly added journal node. Deploying the role using CM will add the role but the Active Namenode will report that its "out of sync" with this new journal node. So before starting the new journal node, copy the edits directory from one of the existing JournalNodes to the new one.

 

1 - Stop the New JN.
2 - Copy all the contents under /current of Journalnode folder from a working Journalnode to the new Journal node.
3 - Add the right permission to the newly copied folders with chown and chmod.
4 - Delete the edit_inprogress file (inside the new Journal node) such that the new Journalnode will start synchronising this file with the older Journal nodes.

 

View solution in original post

4 REPLIES 4

Rising Star

As HDFS-3743 still remains unresolved. I don't see any feature in the CM to copy the edits from the live journal node to the newly added journal node. Deploying the role using CM will add the role but the Active Namenode will report that its "out of sync" with this new journal node. So before starting the new journal node, copy the edits directory from one of the existing JournalNodes to the new one.

 

1 - Stop the New JN.
2 - Copy all the contents under /current of Journalnode folder from a working Journalnode to the new Journal node.
3 - Add the right permission to the newly copied folders with chown and chmod.
4 - Delete the edit_inprogress file (inside the new Journal node) such that the new Journalnode will start synchronising this file with the older Journal nodes.

 

New Contributor

Thank you @rki_, it works!

New Contributor

Hi all. Any Luck?

Community Manager

@Ivoz, Has the reply from @rki_ helped resolve your issue? If so, can you please mark the reply as the solution? It will make it easier for others like @jotdevelopers to find the answer. 



Regards,

Vidya Sargur,
Community Manager


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:
Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.