hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Nauroth (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-6410) DFSClient unwraps AclException in xattr methods, but those methods cannot throw AclException.
Date Fri, 16 May 2014 10:58:20 GMT
Chris Nauroth created HDFS-6410:
-----------------------------------

             Summary: DFSClient unwraps AclException in xattr methods, but those methods cannot
throw AclException.
                 Key: HDFS-6410
                 URL: https://issues.apache.org/jira/browse/HDFS-6410
             Project: Hadoop HDFS
          Issue Type: Bug
    Affects Versions: HDFS XAttrs (HDFS-2006)
            Reporter: Chris Nauroth
            Priority: Minor
         Attachments: hdfs-6410.1.patch

The various xattr methods in {{DFSClient}} specify {{AclException}} in the call to {{RemoteException#unwrapRemoteException}}.
 It's impossible for the xattr APIs to throw {{AclException}}.  Since encountering {{AclException}}
would be an unexpected condition, we should not unwrap it so that instead we maintain the
full stack trace.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message