[ https://issues.apache.org/jira/browse/HDFS-14480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Feilong He updated HDFS-14480: ------------------------------ Description: Currently, DataNode has #shutdown method to tackle something before shutdown. But its shutdown hook does't call this method. In HDFS-14401 for HDFS persistent memory cache optimization, we added clean cache logic in DN's #shutdown method. And we expect DN will clean up cache during shut down by stop-dfs.sh/stop-dfs.cmd, which depends on this Jira's patch. (was: Currently, DataNode has #shutdown method to tackle something before shutdown. But its shutdown hook does't call this method. In HDFS-14401 for HDFS persistent memory cache optimization, we added clean cache logic in #shutdown method. And we expect DN will clean up cache during DN shutdown, which depends on this Jira's patch.) > Shut down DataNode gracefully when responding to stop-dfs.sh/stop-dfs.cmd > ------------------------------------------------------------------------- > > Key: HDFS-14480 > URL: https://issues.apache.org/jira/browse/HDFS-14480 > Project: Hadoop HDFS > Issue Type: Improvement > Components: datanode > Reporter: Feilong He > Assignee: Feilong He > Priority: Major > > Currently, DataNode has #shutdown method to tackle something before shutdown. > But its shutdown hook does't call this method. In HDFS-14401 for HDFS > persistent memory cache optimization, we added clean cache logic in DN's > #shutdown method. And we expect DN will clean up cache during shut down by > stop-dfs.sh/stop-dfs.cmd, which depends on this Jira's patch. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org