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

IOUtils.CloseQuietly() to intercept RuntimeExceptions as well as IOExceptions

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Invalid
    • 1.1.1, 2.0.3-alpha
    • None
    • util
    • None

    Description

      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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: