hadoop-common-dev 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-14789) Credentials readTokenStorageFile to stop wrapping IOEs in IOEs
Date Sat, 19 Aug 2017 14:28:01 GMT
Steve Loughran created HADOOP-14789:

             Summary: Credentials readTokenStorageFile to stop wrapping IOEs in IOEs
                 Key: HADOOP-14789
                 URL: https://issues.apache.org/jira/browse/HADOOP-14789
             Project: Hadoop Common
          Issue Type: Improvement
          Components: security
    Affects Versions: 2.8.1
            Reporter: Steve Loughran
            Priority: Minor

When {{Credentials readTokenStorageFile}} gets an IOE. it catches & wraps with the filename,
so losing the exception class information.

Is this needed. or can it pass everything up?

If it is needed, well, it's a common pattern: wrapping the exception with the path & operation.
Maybe it's time to add an IOE version of {{NetworkUtils.wrapException()}} which handles the
broader set of IOEs

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: common-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-dev-help@hadoop.apache.org

View raw message