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 "Weiwei Yang (JIRA)" <ji...@apache.org> on 2017/05/02 16:34:04 UTC

[jira] [Created] (HDFS-11740) Ozone: Improve the time interval to run different DatanodeStateMachine state tasks

Weiwei Yang created HDFS-11740:
----------------------------------

             Summary: Ozone: Improve the time interval to run different DatanodeStateMachine state tasks
                 Key: HDFS-11740
                 URL: https://issues.apache.org/jira/browse/HDFS-11740
             Project: Hadoop HDFS
          Issue Type: Sub-task
          Components: ozone
            Reporter: Weiwei Yang
            Assignee: Weiwei Yang


Currently datanode state machine transitioned between tasks in a fixed time interval, defined by {{ScmConfigKeys#OZONE_SCM_HEARTBEAT_INTERVAL_SECONDS}}, the default value is 30s. Once datanode is started, it will need 90s before transited to {{Heartbeat}} state, such a long lag is not necessary. Propose to improve the logic of time interval handling, it seems only the heartbeat task needs to be scheduled in {{OZONE_SCM_HEARTBEAT_INTERVAL_SECONDS}} interval, rest should be done without any lagging.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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