Skip to main content
Ivoz
Gold ⭐️
May 31, 2022
Solved

Adding Journal Node to CDP Private Cloud Base Cluster

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.

rki_
rki_Answer
Gold ⭐️
May 31, 2022

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.

 

4 replies

rki_
Gold ⭐️
rki_Answer
Gold ⭐️
May 31, 2022

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.

 

Translate
Ivoz
IvozAuthor
Gold ⭐️
June 7, 2022

Thank you @rki_, it works!

Translate
jotdevelopers
Silver ⭐️
June 1, 2022

Hi all. Any Luck?

Translate
VidyaSargur
Community Manager
Community Manager
June 2, 2022

@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. 

Translate
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.