You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Andrew Wang (JIRA)" <ji...@apache.org> on 2014/05/16 13:16:57 UTC
[jira] [Resolved] (HDFS-6410) DFSClient unwraps AclException in
xattr methods, but those methods cannot throw AclException.
[ 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)