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

HttpServer wraps InterruptedExceptions by IOExceptions if interrupted in startup

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.20.204.0, 0.21.0, 0.22.0, 0.23.0, 0.24.0
    • 3.0.0-alpha1
    • util
    • None

    Description

      Following on some discusson on mapred-dev, we should keep an eye on the fact that Jetty uses sleeps when starting up; jetty can be a big part of the delays of bringing up a node. When interrupted, the exception is wrapped by an IOException, the root cause is still there, just hidden.

      If we want callers to distinguish InterruptedExceptions from IOEs, then this exception should be extracted. Some helper method to start an http daemon could do this -catch the IOE, and if there is a nested interrupted exception, rethrow it, otherwise rethrowing the original IOE

      Attachments

        1. HADOOP-6220-trunk.patch
          1 kB
          Steve Loughran
        2. HADOOP-6220.patch
          0.9 kB
          Steve Loughran
        3. HADOOP-6220.patch
          0.9 kB
          Steve Loughran

        Activity

          People

            stevel@apache.org Steve Loughran
            stevel@apache.org Steve Loughran
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: