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

YARN WebApp ignores the configuration passed to it for keystore settings

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.9.0, 2.7.4, 3.0.0-alpha1, 2.8.2
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: