[ 
https://issues.apache.org/jira/browse/YARN-4562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15228924#comment-15228924
 ] 

Sergey Shelukhin commented on YARN-4562:
----------------------------------------

That is true only if ssl-server.xml is present :) Yes, that works.

> 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
>         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.4#6332)

Reply via email to