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)

Reply via email to