[
https://issues.apache.org/jira/browse/HADOOP-19176?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Steve Loughran updated HADOOP-19176:
------------------------------------
Parent: HADOOP-19353 (was: HADOOP-18477)
> S3A Xattr headers need hdfs-compatible prefix
> ---------------------------------------------
>
> Key: HADOOP-19176
> URL: https://issues.apache.org/jira/browse/HADOOP-19176
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: fs/s3
> Affects Versions: 3.4.0, 3.3.6
> Reporter: Steve Loughran
> Priority: Major
>
> x3a xattr list needs a prefix compatible with hdfs or existing code which
> tries to copy attributes between stores can break
> we need a prefix of {user/trusted/security/system/raw}.
> now, problem: currently xattrs are used by the magic committer to propagate
> file size progress; renaming the prefix will break existing code. But as it's
> read only we could modify spark to look for both old and new values.
> {code}
> org.apache.hadoop.HadoopIllegalArgumentException: An XAttr name must be
> prefixed with user/trusted/security/system/raw, followed by a '.'
> at org.apache.hadoop.hdfs.XAttrHelper.buildXAttr(XAttrHelper.java:77)
> at org.apache.hadoop.hdfs.DFSClient.setXAttr(DFSClient.java:2835)
> at
> org.apache.hadoop.hdfs.DistributedFileSystem$59.doCall(DistributedFileSystem.java:3106)
>
> at
> org.apache.hadoop.hdfs.DistributedFileSystem$59.doCall(DistributedFileSystem.java:3102)
>
> at
> org.apache.hadoop.fs.FileSystemLinkResolver.resolve(FileSystemLinkResolver.java:81)
> at
> org.apache.hadoop.hdfs.DistributedFileSystem.setXAttr(DistributedFileSystem.java:3115)
>
> at org.apache.hadoop.fs.FileSystem.setXAttr(FileSystem.java:3097)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]