Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
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.