[
https://issues.apache.org/jira/browse/YARN-11915?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Edward Capriolo updated YARN-11915:
-----------------------------------
Summary: In HA mode with HTTPS mapreduce jobs do not locate the webapp
(was: In HA mode with HTTPS mapreduce jobs dont find the webapp)
> In HA mode with HTTPS mapreduce jobs do not locate the webapp
> -------------------------------------------------------------
>
> Key: YARN-11915
> URL: https://issues.apache.org/jira/browse/YARN-11915
> Project: Hadoop YARN
> Issue Type: Bug
> Reporter: Edward Capriolo
> Priority: Major
>
> in YARN HA using SSL
>
> Setting this:
> {code:java}
> <property>
> <name>yarn.http.policy</name>
> <value>HTTPS_ONLY</value>
> </property> {code}
> Effectively forces this in yarn-site.xml
> {code:java}
> <property>
> <name>yarn.resourcemanager.webapp.address.rm2</name>
> <value>rm2:8088</value>
> </property>
> <property>
> <name>yarn.resourcemanager.webapp.https.address.rm2</name>
> <value>rm2:8090</value>
> </property> {code}
> Otherwise when a user launches a wordcount the job is failed with this in the
> syslog:
> {code:java}
> 2$QuotingInputFilter) 2025-12-31 19:27:38,849 ERROR [main]
> org.apache.hadoop.mapreduce.v2.app.client.MRClientService: Webapps failed to
> start. Ignoring for now: java.lang.NullPointerException: Cannot invoke
> "Object.toString()" because the return value of "java.util.Iterator.next()"
> is null at
> org.apache.hadoop.util.StringUtils.join(StringUtils.java:1050) at
> org.apache.hadoop.yarn.server.webproxy.amfilter.AmFilterInitializer.initFilter(AmFilterInitializer.java:74)
> at
> org.apache.hadoop.http.HttpServer2.initializeWebServer(HttpServer2.java:802)
> at org.apache.hadoop.http.HttpServer2.<init>(HttpServer2.java:737)
> at org.apache.hadoop.http.HttpServer2.<init>(HttpServer2.java:136)
> at org.apache.hadoop.http.HttpServer2$Builder.build(HttpServer2.java:504)
> at org.apache.hadoop.yarn.webapp.WebApps$Builder.build(WebApps.java:384)
> at
> org.apache.hadoop.yarn.webapp.WebApps$Builder.start(WebApps.java:468)
> at org.apache.hadoop.yarn.webapp.WebApps$Builder.start(WebApps.java:464)
> at
> org.apache.hadoop.mapreduce.v2.app.client.MRClientService.serviceStart(MRClientService.java:152)
> at
> org.apache.hadoop.service.AbstractService.start(AbstractService.java:195)
> at
> org.apache.hadoop.mapreduce.v2.app.MRAppMaster.serviceStart(MRAppMaster.java:1289)
> at
> org.apache.hadoop.service.AbstractService.start(AbstractService.java:195)
> --More-- (68% of 43669 bytes) {code}
> Perhaps we can give a warning or find the default value. I had a feeling the
> issue had to do with HA-RM but ultimately I had to look at the source code to
> figure it out.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]