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

Eric Feng updated YARN-5518:
----------------------------
    Description: 
This JIRA tracks changes to WebApps and web services/clients to support 
HTTP_AND_HTTPS policy.

Currently WebApps/WebServers in Hadoop only supports HTTP_ONLY and HTTPS_ONLY 
policies. This means that there will be a service interruption when the policy 
is changed from HTTP_ONLY to HTTPS_ONLY.

The reason for this limitation is that org.apache.hadoop.yarn.webapp.WebApps 
only supports one endpoint. However, the http server behind it does support 
multiple endpoints. If support for multiple endpoints are added in WebApps, we 
can add both HTTP and HTTPS endpoints to support HTTP_AND_HTTPS policy. 

With this feature, switching from HTTP to HTTPS without service interruption 
will be possible with the following two configuration changes:

1a. Changing policy from HTTP_ONLY to HTTP_AND_HTTPS;

(1b. Update client code to use HTTPS)

2. Changing policy form HTTP_AND_HTTPS to HTTPS_ONLY;


  was:
Currently WebApps/WebServers in Hadoop only support HTTP_ONLY and HTTPS_ONLY 
policy, which means there will be a service interruption when we change the 
policy from HTTP_ONLY to HTTPS_ONLY.

The root cause of this limit is that org.apache.hadoop.yarn.webapp.WebApps 
supports only one endpoint, but the http server(HttpServer2) behind it do 
support multiple endpoints. So if we add multiple endpoints support in WebApps, 
we can add both HTTP endpoint and HTTPS endpoint in all web servers in Hadoop, 
i.e. support HTTP_AND_HTTPS policy. with this support, we will be able to 
switch the web protocol from HTTP to HTTPS by 2 config changes without service 
interruption:
    1. change policy from HTTP_ONLY to HTTP_AND_HTTPS;
    2. change policy form HTTP_AND_HTTPS to HTTPS_ONLY;

This JIRA tracks changes to WebApps and web services/clients to support 
HTTP_AND_HTTPS policy.


> add HTTP_AND_HTTPS policy support in WebApps
> --------------------------------------------
>
>                 Key: YARN-5518
>                 URL: https://issues.apache.org/jira/browse/YARN-5518
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: api, resourcemanager, webapp
>            Reporter: Eric Feng
>
> This JIRA tracks changes to WebApps and web services/clients to support 
> HTTP_AND_HTTPS policy.
> Currently WebApps/WebServers in Hadoop only supports HTTP_ONLY and HTTPS_ONLY 
> policies. This means that there will be a service interruption when the 
> policy is changed from HTTP_ONLY to HTTPS_ONLY.
> The reason for this limitation is that org.apache.hadoop.yarn.webapp.WebApps 
> only supports one endpoint. However, the http server behind it does support 
> multiple endpoints. If support for multiple endpoints are added in WebApps, 
> we can add both HTTP and HTTPS endpoints to support HTTP_AND_HTTPS policy. 
> With this feature, switching from HTTP to HTTPS without service interruption 
> will be possible with the following two configuration changes:
> 1a. Changing policy from HTTP_ONLY to HTTP_AND_HTTPS;
> (1b. Update client code to use HTTPS)
> 2. Changing policy form HTTP_AND_HTTPS to HTTPS_ONLY;



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to