tomscut opened a new pull request #4071:
URL: https://github.com/apache/hadoop/pull/4071


   JIRA: [HDFS-16505](https://issues.apache.org/jira/browse/HDFS-16505).
   
   Setting safemode should not be interrupted by abnormal nodes. 
   
   For example, we have four namenodes configured in the following order:
   NS1 -> active
   NS2 -> standby
   NS3 -> observer
   NS4 -> observer.
   
   When the `NS1` process exits, setting the states of safemode, `NS2`, `NS3`, 
and `NS4` fails. Similarly, when the `NS2` process exits, only the safemode 
state of `NS1` can be set successfully.
   
   When the `NS1` process exits:
   Before the change:
   
![image](https://user-images.githubusercontent.com/55134131/158288412-b0915dba-aa69-4e71-a47d-1d7728ba673d.png)
   
   After the change:
   
![image](https://user-images.githubusercontent.com/55134131/158288423-f7de2689-ad0b-455e-9717-1b5ff877f20f.png)
   
   


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

To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org

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



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

Reply via email to