You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2020/10/13 19:21:44 UTC

[GitHub] [hadoop-ozone] hanishakoneru opened a new pull request #1494: HDDS-4330. Bootstrap new OM node

hanishakoneru opened a new pull request #1494:
URL: https://github.com/apache/hadoop-ozone/pull/1494


   ## What changes were proposed in this pull request?
   
   In a ratis enabled OM cluster, add support to bootstrap a new OM node and add it to OM ratis ring. 
   
   First step would be to update the ozone-site.xml with the configs (nodeId, address, ports etc.) for the new OM. Note that we can only add one OM at a time.
   The new node should be started in BOOTSTRAP mode using the following command. This command will also initialize the OM. Hence, no need to run om init command before this command.
   `ozone om --bootstrap`
   
   After the new OM is bootstrapped, we need to run the following command.
   `ozone admin om addom  -id=<OMServiceId> -nodeid=<new_om_node_id>`
   This command will add the new OM to that ratis ring. The new will receive the snapshot and ratis logs from the leader and start participating in the ratis ring.
   
   TODO - This patch adds support to add a new OM to a single node ratis enabled OM cluster. To add a new OM to a multi OM cluster, we would have to send the updated OM information to all the follower OMs as well. This is required so that the followerOMs also can add the new OM to their peer information which is required in case a snapshot needs to be downloaded from the new OM.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-4330
   
   ## How was this patch tested?
   
   (Please explain how this patch was tested. Ex: unit tests, manual tests)
   (If this patch involves UI changes, please attach a screen-shot; otherwise, remove this)
   Will add tests in next iteration of the patch.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org