hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (YARN-6534) ResourceManager failed due to TimelineClient try to init SSLFactory even https is not enabled
Date Thu, 27 Apr 2017 20:44:04 GMT

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

Hudson commented on YARN-6534:
------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #11643 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/11643/])
YARN-6534. ResourceManager failed due to TimelineClient try to init (junping_du: rev 94607214ce87af871b024b4047ae3aa82058f9eb)
* (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/test/java/org/apache/hadoop/yarn/client/api/impl/TestTimelineClient.java
* (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/client/api/impl/TimelineConnector.java


> ResourceManager failed due to TimelineClient try to init SSLFactory even https is not
enabled
> ---------------------------------------------------------------------------------------------
>
>                 Key: YARN-6534
>                 URL: https://issues.apache.org/jira/browse/YARN-6534
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 3.0.0-alpha3
>            Reporter: Junping Du
>            Assignee: Rohith Sharma K S
>            Priority: Blocker
>              Labels: yarn-5355-merge-blocker
>         Attachments: YARN-6534.0001.patch, YARN-6534.0002.patch
>
>
> In a non-secured cluster, RM get failed consistently due to TimelineServiceV1Publisher
tries to init TimelineClient with SSLFactory without any checking on if https get used.
> {noformat}
> 2017-04-26 21:09:10,683 FATAL resourcemanager.ResourceManager (ResourceManager.java:main(1457))
- Error starting ResourceManager
> org.apache.hadoop.service.ServiceStateException: java.io.FileNotFoundException: /etc/security/clientKeys/all.jks
(No such file or directory)
>         at org.apache.hadoop.service.ServiceStateException.convert(ServiceStateException.java:59)
>         at org.apache.hadoop.service.AbstractService.init(AbstractService.java:172)
>         at org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:107)
>         at org.apache.hadoop.yarn.client.api.impl.TimelineClientImpl.serviceInit(TimelineClientImpl.java:131)
>         at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
>         at org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:107)
>         at org.apache.hadoop.yarn.server.resourcemanager.metrics.AbstractSystemMetricsPublisher.serviceInit(AbstractSystemMetricsPublisher.java:59)
>         at org.apache.hadoop.yarn.server.resourcemanager.metrics.TimelineServiceV1Publisher.serviceInit(TimelineServiceV1Publisher.java:67)
>         at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
>         at org.apache.hadoop.service.CompositeService.serviceInit(CompositeService.java:107)
>         at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.serviceInit(ResourceManager.java:344)
>         at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
>         at org.apache.hadoop.yarn.server.resourcemanager.ResourceManager.main(ResourceManager.java:1453)
> Caused by: java.io.FileNotFoundException: /etc/security/clientKeys/all.jks (No such file
or directory)
>         at java.io.FileInputStream.open0(Native Method)
>         at java.io.FileInputStream.open(FileInputStream.java:195)
>         at java.io.FileInputStream.<init>(FileInputStream.java:138)
>         at org.apache.hadoop.security.ssl.ReloadingX509TrustManager.loadTrustManager(ReloadingX509TrustManager.java:168)
>         at org.apache.hadoop.security.ssl.ReloadingX509TrustManager.<init>(ReloadingX509TrustManager.java:86)
>         at org.apache.hadoop.security.ssl.FileBasedKeyStoresFactory.init(FileBasedKeyStoresFactory.java:219)
>         at org.apache.hadoop.security.ssl.SSLFactory.init(SSLFactory.java:179)
>         at org.apache.hadoop.yarn.client.api.impl.TimelineConnector.getSSLFactory(TimelineConnector.java:176)
>         at org.apache.hadoop.yarn.client.api.impl.TimelineConnector.serviceInit(TimelineConnector.java:106)
>         at org.apache.hadoop.service.AbstractService.init(AbstractService.java:163)
>         ... 11 more
> {noformat}
> CC [~rohithsharma] and [~gtCarrera9]



--
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


Mime
View raw message