hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HADOOP-6220) HttpServer wraps InterruptedExceptions by IOExceptions if interrupted in startup
Date Thu, 27 Aug 2009 13:02:01 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-6220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Steve Loughran updated HADOOP-6220:
-----------------------------------

    Summary: HttpServer wraps InterruptedExceptions by IOExceptions if interrupted in startup
 (was: Jetty wraps InterruptedExceptions by IOExceptions if interrupted in startup)

> HttpServer wraps InterruptedExceptions by IOExceptions if interrupted in startup
> --------------------------------------------------------------------------------
>
>                 Key: HADOOP-6220
>                 URL: https://issues.apache.org/jira/browse/HADOOP-6220
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: util
>    Affects Versions: 0.21.0
>            Reporter: Steve Loughran
>            Priority: Minor
>
> 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

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message