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

ToolBase calls System.exit

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.4.0
    • 0.5.0
    • util
    • None

    Description

      The new ToolBase class calls System.exit when the main routine finishes. That will break if the application uses threads that need to finish before the jvm exits. The normal semantics is that the program doesn't finish execution until all of the non-daemon threads exit (including the main one) and System.exit should never be called except for critical errors.

      Attachments

        1. exit.patch
          6 kB
          Hairong Kuang
        2. exit.patch
          7 kB
          Hairong Kuang

        Activity

          People

            hairong Hairong Kuang
            omalley Owen O'Malley
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: