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

YARN WebApp ignores the configuration passed to it for keystore settings

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.9.0, 2.7.4, 3.0.0-alpha1, 2.8.2
    • Component/s: None
    • Labels:
      None

      Description

      The conf can be passed to WebApps builder, however the following code in WebApps.java that builds the HttpServer2 object:

              if (httpScheme.equals(WebAppUtils.HTTPS_PREFIX)) {
                WebAppUtils.loadSslConfiguration(builder);
              }
      

      ...results in loadSslConfiguration creating a new Configuration object; the one that is passed in is ignored, as far as the keystore/etc. settings are concerned. loadSslConfiguration has another overload with Configuration parameter that should be used instead.

        Attachments

        1. YARN-4562.patch
          0.8 kB
          Sergey Shelukhin

          Issue Links

            Activity

              People

              • Assignee:
                sershe Sergey Shelukhin
                Reporter:
                sershe Sergey Shelukhin
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: