[
https://issues.apache.org/jira/browse/MAPREDUCE-5898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14012003#comment-14012003
]
Yi Liu commented on MAPREDUCE-5898:
-----------------------------------
Thanks Uma for your detailed review.
{quote}
file system rooot. ---> file system root.
{quote}
Right, I will update it.
{quote}
seems like we are generically handling Exception and saying xattrs not
supported in fs. But the api call can fail due to many other reasons like
permission issues. Does it possible to bring down to handle specific
exception?ex: no such method etc.
{quote}
Actually we getXAttrs on *root dir*, and the failure could be one of following
reasons:
1. File system is HDFS < 2.4, so getXAttrs RPC endpoint doesn't exist
2. File system is HDFS >= 2.4, but XAttrs are not enabled.
3. FileSystem subclass doesn't override the XAttr APIs, and throw
{{UnsupportedOperationException}}.
All the above failues indicates XAttrs not supported.
Furthermore, it's a bit difficult to handle specific exception, since they all
are IOException subtype, and different FileSystem implementation may throw
different IOException subtype.
{quote}
we need to change from rbugpca -> rbugpcax?
{quote}
Right, I will update it.
> distcp to support preserving HDFS extended attributes(XAttrs)
> -------------------------------------------------------------
>
> Key: MAPREDUCE-5898
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-5898
> Project: Hadoop Map/Reduce
> Issue Type: Bug
> Components: distcp
> Affects Versions: 3.0.0
> Reporter: Uma Maheswara Rao G
> Assignee: Yi Liu
> Attachments: MAPREDUCE-5898.patch
>
>
> This JIRA to track the distcp support to handle the Xattrs with preserving
> options.
> Add new command line argument to support that.
--
This message was sent by Atlassian JIRA
(v6.2#6252)