Created on 05-31-2022 01:40 AM - edited 09-16-2022 08:55 AM
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.
Created on 05-31-2022 10:27 AM - edited 05-31-2022 10:28 AM
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.
Created on 05-31-2022 10:27 AM - edited 05-31-2022 10:28 AM
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.
Created 06-07-2022 11:04 AM
Thank you @rki_, it works!
Created 06-01-2022 09:15 AM
Hi all. Any Luck?
Created 06-01-2022 10:17 PM
@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,