zhuqi created HDFS-15171:
----------------------------

             Summary: Add a thread to call saveDfsUsed periodically, to prevent 
datanode too long restart time.  
                 Key: HDFS-15171
                 URL: https://issues.apache.org/jira/browse/HDFS-15171
             Project: Hadoop HDFS
          Issue Type: Improvement
          Components: datanode
    Affects Versions: 3.2.0
            Reporter: zhuqi
            Assignee: zhuqi


There are 30 storage dirs in our production cluster , it will take too many 
time to restart, because sometimes the datanode didn't shutdown gracefully. Now 
only the datanode graceful shut down hook and the blockpoolslice shutdown will 
cause the saveDfsUsed function, that cause the restart of datanode can't reuse 
the dfsuse cache sometimes. I think if we can add a thread to periodically call 
the saveDfsUsed function.

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to