You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Yesha Vora (JIRA)" <ji...@apache.org> on 2016/11/30 00:52:58 UTC

[jira] [Created] (YARN-5941) Slider handles "site.mawo-site.per.component" for multiple components incorrectly

Yesha Vora created YARN-5941:
--------------------------------

             Summary: Slider handles "site.mawo-site.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


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.3.4#6332)

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