You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Nanda kumar (JIRA)" <ji...@apache.org> on 2019/03/08 13:46:00 UTC

[jira] [Created] (HDDS-1239) Use chillmode state from ChillModeManager in ChillModePrecheck

Nanda kumar created HDDS-1239:
---------------------------------

             Summary: Use chillmode state from ChillModeManager in ChillModePrecheck
                 Key: HDDS-1239
                 URL: https://issues.apache.org/jira/browse/HDDS-1239
             Project: Hadoop Distributed Data Store
          Issue Type: Improvement
          Components: SCM
    Affects Versions: 0.3.0
            Reporter: Nanda kumar
            Assignee: Nanda kumar


Currently {{ChillModePrecheck}} is instantiated in multiple places and it maintains its own state of chillmode. Because of this {{BlockManagerImpl}} and {{SCMClientProtocolServer}} listens to chillmode status event to update {{ChillModePrecheck}} that they maintain.

It will be easier if {{ChillModePrecheck}} queries {{SCMChillModeManager}} to get the current chillmode state. It will also make the code simple if {{SCMChillModeManager}} provides {{ChillModePrecheck}} instance, instead of everyone creating a new object of {{ChillModePrecheck}}.




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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