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 "Sanjay M Pujare (JIRA)" <ji...@apache.org> on 2017/05/08 23:13:04 UTC

[jira] [Comment Edited] (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:comment-tabpanel&focusedCommentId=16001733#comment-16001733 ] 

Sanjay M Pujare edited comment on YARN-4562 at 5/8/17 11:12 PM:
----------------------------------------------------------------

Hello, I would like to request a backport of this fix into 2.6 (and everything in between). Please let me know if I need to clone this JIRA.


was (Author: sanjaypujare):
Hello, I would like to request a backport of this fix into 2.7 (and everything between 2.7 and 2.9.0). Please let me know if I need to clone this JIRA.

> 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, 3.0.0-alpha1
>
>         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