[
https://issues.apache.org/jira/browse/HADOOP-17921?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pravin Sinha updated HADOOP-17921:
----------------------------------
Status: Patch Available (was: Open)
> DistCp derives if XAttr is supported wrongly
> --------------------------------------------
>
> Key: HADOOP-17921
> URL: https://issues.apache.org/jira/browse/HADOOP-17921
> Project: Hadoop Common
> Issue Type: Bug
> Reporter: Pravin Sinha
> Assignee: Pravin Sinha
> Priority: Major
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> {color:#0033b3}public static void
> {color}{color:#00627a}checkFileSystemXAttrSupport{color}({color:#000000}FileSystem
> {color}fs)
> {color:#0033b3}throws {color}{color:#000000}XAttrsNotSupportedException
> {color}{
> {color:#0033b3}try {color}{
> fs.getXAttrs({color:#0033b3}new
> {color}Path({color:#000000}Path{color}.{color:#871094}SEPARATOR{color}));
> } {color:#0033b3}catch {color}({color:#000000}Exception {color}e) {
> {color:#0033b3}throw new
> {color}XAttrsNotSupportedException({color:#067d17}"XAttrs not supported for
> file system: "
> {color} + fs.getUri());
> }
> }
> IOExecption will also be treated as if Xattr is not supported, which would be
> wrong.
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]