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-5941) Slider handles "per.component" for multiple components incorrectly
Date Mon, 06 Nov 2017 22:33:07 GMT

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

Hudson commented on YARN-5941:
------------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #13193 (See [https://builds.apache.org/job/Hadoop-trunk-Commit/13193/])
YARN-5941. Slider handles "per.component" for multiple components (jianhe: rev bd0e9f91b66055516234316c1e7d2adf338d6de1)
* (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-slider/hadoop-yarn-slider-core/src/main/java/org/apache/slider/api/OptionKeys.java
* (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-slider/hadoop-yarn-slider-core/src/main/java/org/apache/slider/providers/ProviderUtils.java
* (edit) hadoop-yarn-project/hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-slider/hadoop-yarn-slider-core/src/main/java/org/apache/slider/common/SliderKeys.java


> Slider handles "per.component" for multiple components incorrectly
> ------------------------------------------------------------------
>
>                 Key: YARN-5941
>                 URL: https://issues.apache.org/jira/browse/YARN-5941
>             Project: Hadoop YARN
>          Issue Type: Sub-task
>            Reporter: Yesha Vora
>            Assignee: Billie Rinaldi
>             Fix For: yarn-native-services
>
>         Attachments: YARN-5941-yarn-native-services.001.patch
>
>
> When multiple components are started by slider and each component should have a different
property file, "per.component" should be set to true for each component.  
> {code:title=component1}
> 'properties': {
> 				'site.app-site.job-builder.class': 'xxx',
> 				'site.app-site.rpc.server.hostname': 'xxx',
> 				'site.app-site.per.component': 'true'
> 			}
> {code}
> {code:title=component2}
> 'properties': {
> 				'site.app-site.job-builder.class.component2': 'yyy',
> 				'site.app-site.rpc.server.hostname.component2': 'yyy',
> 				'site.app-site.per.component': 'true'
> 			}
> {code}
> While doing that, one of the component's property file gets "per.component"="true" in
the slider generated property file. 
> {code:title=property file for component1}
> #Generated by Apache Slider
> #Tue Nov 29 23:20:25 UTC 2016
> per.component=true
> job-builder.class=xxx
> rpc.server.hostname=xxx{code}
> {code:title=property file for component2}
> #Generated by Apache Slider
> #Tue Nov 29 23:20:25 UTC 2016
> job-builder.class.component2=yyy
> rpc.server.hostname.component2=yyy{code}
> "per.component" should not be added in any component's property file. 



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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