Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
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;