[ 
https://issues.apache.org/jira/browse/HDFS-6410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Wang resolved HDFS-6410.
-------------------------------

       Resolution: Fixed
    Fix Version/s: HDFS XAttrs (HDFS-2006)

Thanks Yi, committed to branch.

> 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
>            Assignee: Andrew Wang
>            Priority: Minor
>             Fix For: HDFS XAttrs (HDFS-2006)
>
>         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