hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Wang (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-6410) DFSClient unwraps AclException in xattr methods, but those methods cannot throw AclException.
Date Fri, 16 May 2014 11:08:44 GMT

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

Andrew Wang updated HDFS-6410:
------------------------------

    Attachment: hdfs-6410.1.patch

Simple patch attached, no tests since this is pretty trivial.

> 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)

Mime
View raw message