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

Slider AM Web UI is inaccessible if HTTPS/SSL is specified as the HTTP policy

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.6.0
    • Fix Version/s: None
    • Component/s: webapp
    • Labels:

      Description

      If the HTTP policy to enable HTTPS is specified, the RM and AM are initialized with SSL listeners. The RM has a web app proxy servlet that acts as a proxy for incoming AM requests. In order to forward the requests to the AM the proxy servlet makes use of HttpClient. However, the HttpClient utilized is not initialized correctly with the necessary certs to allow for successful one way SSL invocations to the other nodes in the cluster (it is not configured to access/load the client truststore specified in ssl-client.xml). I imagine SSLFactory.createSSLSocketFactory() could be utilized to create an instance that can be assigned to the HttpClient.

      The symptoms of this issue are:

      AM: Displays "unknown_certificate" exception
      RM: Displays an exception such as "javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target"

        Attachments

        1. YARN-2554.3.patch
          5 kB
          Jonathan Maron
        2. YARN-2554.3.patch
          5 kB
          Jonathan Maron
        3. YARN-2554.2.patch
          6 kB
          Jonathan Maron
        4. YARN-2554.1.patch
          6 kB
          Jonathan Maron

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jmaron Jonathan Maron
              • Votes:
                0 Vote for this issue
                Watchers:
                12 Start watching this issue

                Dates

                • Created:
                  Updated: