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

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

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: