[ 
https://issues.apache.org/jira/browse/HADOOP-14038?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

John Zhuge updated HADOOP-14038:
--------------------------------
    Attachment: HADOOP-14038.004.patch

Patch 004
* Rename properties with prefix {{dfs.adls.}} to {{fs.adl.}}. Rename 
{{adl.dfs.enable.client.latency.tracker}} to 
{{adl.enable.client.latency.tracker}}. Rename {{dfs.adl.test.contract.enable}} 
to {{fs.adl.test.contract.enable}}. Deprecate the old properties.
* Switch {{fs.adl.oauth2.access.token.provider.type}} default from {{Custom}} 
to {{ClientCredential}}
* Update doc index.md extensively
* Add properties to core-site.xml
* Remove test class {{TestValidateConfiguration}} because I find it useless
* Remove unused {{TOKEN_PROVIDER_TYPE_CLIENT_CRED}} and 
{{ADL_EVENTS_TRACKING_SOURCE}}

Testing done
* Live unit tests
* {{hadoop fs -ls adl://…}} in single node setup
* Verify doc

Open question
* Don’t like the way {{AdlStorageConfiguration}} static initializer has to call 
{{AdlConfKeys.addDeprecatedKeys}} 


> Rename ADLS credential properties
> ---------------------------------
>
>                 Key: HADOOP-14038
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14038
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/adl
>    Affects Versions: 3.0.0-alpha3
>            Reporter: John Zhuge
>            Assignee: John Zhuge
>            Priority: Minor
>         Attachments: HADOOP-14038.001.patch, HADOOP-14038.002.patch, 
> HADOOP-14038.003.patch, HADOOP-14038.004.patch
>
>
> Add ADLS credential configuration properties to {{core-default.xml}}. 
> Set/document the default value for 
> {{dfs.adls.oauth2.access.token.provider.type}} to {{ClientCredential}}.
> Fix {{AdlFileSystem#getAccessTokenProvider}} which implies the provider type 
> is {{Custom}}.
> Fix several unit tests that set {{dfs.adls.oauth2.access.token.provider}} but 
> does not set {{dfs.adls.oauth2.access.token.provider.type}}.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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

Reply via email to