Support Questions

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

Adding Journal Node to CDP Private Cloud Base Cluster

avatar
Explorer

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

avatar
Super Collaborator

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

avatar
Super Collaborator

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.

 

avatar
Explorer

Thank you @rki_, it works!

avatar
New Contributor

Hi all. Any Luck?

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