Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-12950

ShutdownHookManager should have a timeout for each of the Registered shutdown hook

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • None
    • None
    • Reviewed

    Description

      HADOOP-8325 added a ShutdownHookManager to be used by different components instead of the JVM shutdownhook. For each of the shutdown hook registered, we currently don't have an upper bound for its execution time. We have seen namenode failed to shutdown completely (waiting for shutdown hook to finish after failover) for a long period of time, which breaks the namenode high availability scenarios. This ticket is opened to allow specifying a timeout value for the registered shutdown hook.

      Attachments

        1. HADOOP-12950.04.patch
          11 kB
          Xiaoyu Yao
        2. HADOOP-12950.03.patch
          11 kB
          Xiaoyu Yao
        3. HADOOP-12950.02.patch
          12 kB
          Xiaoyu Yao
        4. HADOOP-12950.01.patch
          14 kB
          Xiaoyu Yao
        5. HADOOP-12950.00.patch
          13 kB
          Xiaoyu Yao

        Issue Links

          Activity

            People

              xyao Xiaoyu Yao
              xyao Xiaoyu Yao
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: