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/03/18 22:46:42 UTC

[GitHub] [hadoop-ozone] bharatviswa504 edited a comment on issue #690: HDDS-3221. Refactor SafeModeHandler to use a Notification Interface

bharatviswa504 edited a comment on issue #690: HDDS-3221. Refactor SafeModeHandler to use a Notification Interface
URL: https://github.com/apache/hadoop-ozone/pull/690#issuecomment-600851742
 
 
   > Thanks @sodonnel for working on this.
   > 
   > I feel that instead of maintaining safemode state at different places, it should be maintained in one single place and that value should be accessed where ever required.
   > 
   > Safemode state change event handler should only worry about starting the services that are required to be started while coming out of safemode.
   > 
   > I agree that the existing code doesn't reflect this, I have always wanted to make this change.
   
   For cases like clientProtocolServer, blockManager we have a check in safemode and not allow few operations inside those classes. So, these cannot be handled by safemodehandler. Otherwise I need to pass safemodehandler object to those classes. I am talking about the current code.

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


With regards,
Apache Git Services

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