hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sanjay M Pujare (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-6457) Allow custom SSL configuration to be supplied in WebApps
Date Sun, 30 Apr 2017 03:31:04 GMT

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

Sanjay M Pujare commented on YARN-6457:

[~haibochen] I would have suggested the same code you have but to my disappointment I noticed
that Configuration.addResource(String) and Configuration.addResource(Path) behave differently
and Configuration.addResource(String) didn't work for me :-( and that is why I suggested my
code. If there is no issue with backward compatibility I can modify your code as follows:

if (sslConf == null)
{ sslConf = new Configuration(false); }
boolean needsClientAuth = YarnConfiguration.YARN_SSL_CLIENT_HTTPS_NEED_AUTH_DEFAULT;
String sslConfResource = conf.get("hadoop.ssl.server.conf", 
sslConf.addResource(new Path(sslConfResource));

> Allow custom SSL configuration to be supplied in WebApps
> --------------------------------------------------------
>                 Key: YARN-6457
>                 URL: https://issues.apache.org/jira/browse/YARN-6457
>             Project: Hadoop YARN
>          Issue Type: Improvement
>          Components: webapp, yarn
>            Reporter: Sanjay M Pujare
>            Assignee: Sanjay M Pujare
>   Original Estimate: 96h
>  Remaining Estimate: 96h
> Currently a custom SSL store cannot be passed on to WebApps which forces the embedded
web-server to use the default keystore set up in ssl-server.xml for the whole Hadoop cluster.
There are cases where the Hadoop app needs to use its own/custom keystore.

This message was sent by Atlassian JIRA

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

View raw message