[ 
https://issues.apache.org/jira/browse/HADOOP-15954?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16717959#comment-16717959
 ] 

Da Zhou commented on HADOOP-15954:
----------------------------------

Attached 005 patch, all existed tests passed, it is tricky to add new tests for 
this feature, still working on that.
 - Modified the initialize() method of transformer class, so that FS can pass 
its cached user information to the transformer.
 - updated null check in "AbfsConfiguration.getIdentity transfomer()"
 - Addressed comments from [~tmarquardt] except 1-b:
 transformUserName() and transformGroupName() are used to make the interface 
simple, otherwise we need to create a new class for represent for username and 
group name.
 - Renamed ""fs.azure.identity.transformer.*type*" to 
""fs.azure.identity.transformer.*class*"

All existed tests passed:
 non-XNS account, ShareKey: 
 Tests run: 35, Failures: 0, Errors: 0, Skipped: 0
 Tests run: 316, Failures: 0, Errors: 0, Skipped: 205
 Tests run: 165, Failures: 0, Errors: 0, Skipped: 15

XNS account, sharedKey:
 Tests run: 35, Failures: 0, Errors: 0, Skipped: 0
 Tests run: 316, Failures: 0, Errors: 0, Skipped: 19
 Tests run: 165, Failures: 0, Errors: 0, Skipped: 15

XNS account, OAuth:
 Tests run: 35, Failures: 0, Errors: 0, Skipped: 0
 Tests run: 316, Failures: 0, Errors: 0, Skipped: 20
 Tests run: 165, Failures: 0, Errors: 0, Skipped: 21

> ABFS: Enable owner and group conversion for MSI and login user using OAuth
> --------------------------------------------------------------------------
>
>                 Key: HADOOP-15954
>                 URL: https://issues.apache.org/jira/browse/HADOOP-15954
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/azure
>    Affects Versions: 3.2.0
>            Reporter: junhua gu
>            Assignee: Da Zhou
>            Priority: Major
>         Attachments: HADOOP-15954-001.patch, HADOOP-15954-002.patch, 
> HADOOP-15954-003.patch, HADOOP-15954-004.patch, HADOOP-15954-005.patch
>
>
> Add support for overwriting owner and group in set/get operations to be the 
> service principal id when OAuth is used. Add support for upn short name 
> format.
>  
> Add Standard Transformer for SharedKey / Service 
> Add interface provides an extensible model for customizing the acquisition of 
> Identity Transformer.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to