[
https://issues.apache.org/jira/browse/HADOOP-14443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mingliang Liu updated HADOOP-14443:
-----------------------------------
Hadoop Flags: Reviewed
Description:
Currently, {{WasRemoteCallHelper}} can be configured to talk to only one URL
for authorization, SASKey generation and delegation token generation. If for
some reason the service is down, all the requests will fail.
So proposal is to,
- Add support to configure multiple URLs, so that if communication to one URL
fails, client can retry on another instance of the service running on different
node for authorization, SASKey generation and delegation token generation.
- Rename the configurations {{fs.azure.authorization.remote.service.url}} to
{{fs.azure.authorization.remote.service.urls}} and
{{fs.azure.cred.service.url}} to {{fs.azure.cred.service.urls}} to support the
comma separated list of URLs.
- Introduce a new configuration {{fs.azure.delegation.token.service.urls}} to
configure the comma separated list of service URLs to get the delegation token.
was:
Currently, {{WasRemoteCallHelper}} can be configured to talk to only one URL
for authorization, SASKey generation and delegation token generation. If for
some reason the service is down, all the requests will fail.
So proposal is to,
- Add support to configure multiple URLs, so that if communication to one URL
fails, client can retry on another instance of the service running on different
node for authorization, SASKey generation and delegation token generation.
- Rename the configurations {{fs.azure.authorization.remote.service.url}} to
{{fs.azure.authorization.remote.service.urls}} and
{{fs.azure.cred.service.url}} to {{fs.azure.cred.service.urls}} to support the
comma separated list of URLs.
Introduce a new configuration {{fs.azure.delegation.token.service.urls}} to
configure the comma separated list of service URLs to get the delegation token.
Summary: Azure: Add retry and client side failover for authorization,
SASKey and delegation token generation (was: Azure: Add retry and client side
failover for authorization, SASKey generation and delegation token generation
requests to remote service)
> Azure: Add retry and client side failover for authorization, SASKey and
> delegation token generation
> ---------------------------------------------------------------------------------------------------
>
> Key: HADOOP-14443
> URL: https://issues.apache.org/jira/browse/HADOOP-14443
> Project: Hadoop Common
> Issue Type: Improvement
> Components: fs/azure
> Affects Versions: 2.9.0
> Reporter: Santhosh G Nayak
> Assignee: Santhosh G Nayak
> Fix For: 2.9.0, 3.0.0-alpha4
>
> Attachments: HADOOP-14443.1.patch, HADOOP-14443.2.patch,
> HADOOP-14443.3.patch, HADOOP-14443.4.patch
>
>
> Currently, {{WasRemoteCallHelper}} can be configured to talk to only one URL
> for authorization, SASKey generation and delegation token generation. If for
> some reason the service is down, all the requests will fail.
> So proposal is to,
> - Add support to configure multiple URLs, so that if communication to one URL
> fails, client can retry on another instance of the service running on
> different node for authorization, SASKey generation and delegation token
> generation.
> - Rename the configurations {{fs.azure.authorization.remote.service.url}} to
> {{fs.azure.authorization.remote.service.urls}} and
> {{fs.azure.cred.service.url}} to {{fs.azure.cred.service.urls}} to support
> the comma separated list of URLs.
> - Introduce a new configuration {{fs.azure.delegation.token.service.urls}} to
> configure the comma separated list of service URLs to get the delegation
> token.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]