Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-14480

Shut down DataNode gracefully when responding to stop-dfs.sh/stop-dfs.cmd

    XMLWordPrintableJSON

Details

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

      Attachments

        Activity

          People

            PhiloHe Feilong He
            PhiloHe Feilong He
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: