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

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: datanode
    • Labels:
      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

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

              Dates

              • Created:
                Updated: