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

ShutdownHelper util to shutdown threads and threadpools

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.4-alpha
    • Fix Version/s: 2.1.0-beta, 2.3.0
    • Component/s: util
    • Labels:
      None
    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      Description

      Several classes spawn threads and threadpools and shut them down on close() and serviceStop() etc. A helper class helps standardize the wait time after a thread/threadpool is interrupted/shutdown for it to actually terminate.

      One example of this is MAPREDUCE-5428.

        Attachments

        1. hadoop-9787-1.patch
          6 kB
          Karthik Kambatla
        2. hadoop-9787-2.patch
          7 kB
          Karthik Kambatla

          Issue Links

            Activity

              People

              • Assignee:
                kasha Karthik Kambatla
                Reporter:
                kasha Karthik Kambatla
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: