[ 
https://issues.apache.org/jira/browse/HDFS-10665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17885225#comment-17885225
 ] 

Mohamed Aashif commented on HDFS-10665:
---------------------------------------

Has the issue been fixed? Couldn't find the fix till date.
We are in the process of replacing JN nodes in multiple deployments and this 
workaround is time-consuming.

Kindly fix this asap.

> Provide a way to add a new Journalnode to an existing quorum
> ------------------------------------------------------------
>
>                 Key: HDFS-10665
>                 URL: https://issues.apache.org/jira/browse/HDFS-10665
>             Project: Hadoop HDFS
>          Issue Type: New Feature
>          Components: ha, hdfs, journal-node
>            Reporter: Amit Anand
>            Priority: Major
>
> In current implementation of {{HDFS}} {{HA}} using {{QJOURNAL}} there is no 
> way to add a new {{Journalnode(JN)}} to an existing {{JN}} quorum or 
> reinstall a failed {{JN}} machine.
> The current process to populate {{JN}} directories is:
> * Start {{JN}} daemons on multiple machines (usually an odd number 3 or 5)
> * Shutdown {{Namenode}}
> * Issue {{hdfs namenode -initializeSharedEdits}} - This will populate {{JN}}
> After {{JN}} are populated; if a machine, after hardware failure, is 
> reinstalled or a new set of machines are added to expand the {{JN}} quorum 
> the new {{JN}} machines will not be populated by {{NameNode}} without 
> following the current process that is described above. 
> The current process causes downtime on a 24x7 operation cluster if {{JN}} 
> needs any maintenance. 
> Although, one can follow steps given below to work around the issue described 
> above:
> 1. Install a new {{JN}} or reinstall an existing {{JN}} machine.
> 2. Created the required {{JN}} directory structure
> 3. Copy {{VERSION}} file from an existing {{JN}} to {{JN's}} {{current}} 
> directory
> 4. Manually create {{paxos}} directory under {{JN's}} {{current}} directory
> 5. Start the {{JN}} daemon.
> 6. Add new set of {{JNs}} to {{hdfs-site.xml}} and restart {{NN}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to