You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Eric Feng (JIRA)" <ji...@apache.org> on 2016/08/12 23:46:20 UTC

[jira] [Created] (YARN-5518) add HTTP_AND_HTTPS policy support in WebApps

Eric Feng created YARN-5518:
-------------------------------

             Summary: 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


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.



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

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