You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Varun Vasudev (JIRA)" <ji...@apache.org> on 2017/05/09 05:50:04 UTC

[jira] [Updated] (YARN-4562) YARN WebApp ignores the configuration passed to it for keystore settings

     [ https://issues.apache.org/jira/browse/YARN-4562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Varun Vasudev updated YARN-4562:
--------------------------------
    Fix Version/s: 2.8.1
                   2.7.4

> YARN WebApp ignores the configuration passed to it for keystore settings
> ------------------------------------------------------------------------
>
>                 Key: YARN-4562
>                 URL: https://issues.apache.org/jira/browse/YARN-4562
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Sergey Shelukhin
>            Assignee: Sergey Shelukhin
>             Fix For: 2.9.0, 2.7.4, 3.0.0-alpha1, 2.8.1
>
>         Attachments: YARN-4562.patch
>
>
> The conf can be passed to WebApps builder, however the following code in WebApps.java that builds the HttpServer2 object:
> {noformat}
>         if (httpScheme.equals(WebAppUtils.HTTPS_PREFIX)) {
>           WebAppUtils.loadSslConfiguration(builder);
>         }
> {noformat}
> ...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.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org