[
https://issues.apache.org/jira/browse/HADOOP-17921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18040171#comment-18040171
]
ASF GitHub Bot commented on HADOOP-17921:
-----------------------------------------
github-actions[bot] closed pull request #3463: HADOOP-17921. DistCp derives if
XAttr is supported wrongly
URL: https://github.com/apache/hadoop/pull/3463
> 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: 1h 50m
> 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.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]