[
https://issues.apache.org/jira/browse/HADOOP-15943?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Weiwei Yang updated HADOOP-15943:
---------------------------------
Resolution: Fixed
Hadoop Flags: Reviewed
Fix Version/s: 3.3.0
Status: Resolved (was: Patch Available)
> AliyunOSS: add missing owner & group attributes for oss FileStatus
> ------------------------------------------------------------------
>
> Key: HADOOP-15943
> URL: https://issues.apache.org/jira/browse/HADOOP-15943
> Project: Hadoop Common
> Issue Type: Improvement
> Components: fs/oss
> Affects Versions: 2.10.0, 2.9.1, 3.2.0, 3.1.1, 3.0.3, 3.3.0
> Reporter: wujinhu
> Assignee: wujinhu
> Priority: Major
> Fix For: 3.3.0
>
> Attachments: HADOOP-15943.001.patch, HADOOP-15943.002.patch
>
>
> Owner & group attributes are missing when you list oss objects via hadoop
> command:
> {code:java}
> Found 6 items
> drwxrwxrwx - 0 2018-08-01 21:37 /1024
> drwxrwxrwx - 0 2018-10-30 11:07 /50
> -rw-rw-rw- 1 94070 2018-11-08 21:48 /a
> -rw-rw-rw- 1 2441079322 2018-10-31 10:14 /lineitem.csv
> drwxrwxrwx - 0 1970-01-01 08:00 /tmp
> drwxrwxrwx - 0 1970-01-01 08:00 /user
> {code}
>
> The result should like below(hadoop fs -ls hdfs://master:8020/):
> {code:java}
> Found 5 items
> drwxr-xr-x - hbase hbase 0 2018-11-18 17:31 hdfs://master:8020/hbase
> drwxrwxrwt - hdfs supergroup 0 2018-10-30 11:07 hdfs://master:8020/tmp
> drwxr-xr-x - hdfs supergroup 0 2018-10-30 10:39 hdfs://master:8020/user
> {code}
> However, oss objects do not have owner & group attributes like hadoop files,
> so we assume both owner & group are the current user at the time the FS was
> instantiated.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]