[
https://issues.apache.org/jira/browse/HADOOP-15872?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16680273#comment-16680273
]
Da Zhou commented on HADOOP-15872:
----------------------------------
Submitting patch 002.
- For namespace account, instead of calling API "*GetPathProperties*", it
should call "*GetPathStatus*"
- I merged new method GetPathStatus to GetPathProperties to avoid duplicate
code.
All tests passed:
XNS account: sharedKey
Tests run: 35, Failures: 0, Errors: 0, Skipped: 0
Tests run: 307, Failures: 0, Errors: 0, Skipped: 22
Tests run: 165, Failures: 0, Errors: 0, Skipped: 15
XNS account: OAUTH
Tests run: 35, Failures: 0, Errors: 0, Skipped: 0
Tests run: 307, Failures: 0, Errors: 0, Skipped: 23
Tests run: 165, Failures: 0, Errors: 0, Skipped: 21
non-XNS account: SharedKey:
Tests run: 35, Failures: 0, Errors: 0, Skipped: 0
Tests run: 307, Failures: 0, Errors: 0, Skipped: 197
Tests run: 165, Failures: 0, Errors: 0, Skipped: 15
> ABFS: Update to target 2018-11-09 REST version for ADLS Gen 2
> -------------------------------------------------------------
>
> Key: HADOOP-15872
> URL: https://issues.apache.org/jira/browse/HADOOP-15872
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs/azure
> Affects Versions: 3.2.0
> Reporter: Thomas Marquardt
> Assignee: junhua gu
> Priority: Major
> Attachments: HADOOP-15872-001.patch, HADOOP-15872-002.patch
>
>
> This update to the latest REST version (2018-11-09) will make the following
> changes to the ABFS driver:
> 1) The ABFS implementation of getFileStatus currently requires read
> permission. According to HDFS permissions guide, it should only require
> execute on the parent folders (traversal access). A new REST API has been
> introduced in REST version "2018-11-09" of ADLS Gen 2 to fix this problem.
> 2) The new "2018-11-09" REST version introduces support to i) automatically
> translate UPNs to OIDs when setting the owner, owning group, or ACL and ii)
> optionally translate OIDs to UPNs in the responses when getting the owner,
> owning group, or ACL. Configuration will be introduced to optionally
> translate OIDs to UPNs in the responses. Since translation has a performance
> impact, the default will be to perform no translation and return the OIDs.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]