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] [Created] (HADOOP-9226) IOUtils.CloseQuietly() to intercept RuntimeExceptions as well as IOExceptions
Date Fri, 18 Jan 2013 11:12:13 GMT
Steve Loughran created HADOOP-9226:
--------------------------------------

             Summary: IOUtils.CloseQuietly() to intercept RuntimeExceptions as well as IOExceptions
                 Key: HADOOP-9226
                 URL: https://issues.apache.org/jira/browse/HADOOP-9226
             Project: Hadoop Common
          Issue Type: Improvement
          Components: util
    Affects Versions: 1.1.1, 2.0.3-alpha
            Reporter: Steve Loughran
            Priority: Minor


A stack trace of mine shows that call of {{IOException.closeQuietly()}} forwarded an NPE up
from the JetS3t library's {{close()}} method. We *may* want to have the various {{CloseQuietly()}}
method intercept and log such things too, on the assumption that the goal of those close operations
is to downgrade all close-time exceptions into log events.

If people agree that's what we want, I'll do the patch & test

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message