Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-5518

add HTTP_AND_HTTPS policy support in WebApps

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: api, resourcemanager, webapp
    • Labels:
      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;

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              erfeng Eric Feng
            • Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated: