Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
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.
component1
'properties': { 'site.app-site.job-builder.class': 'xxx', 'site.app-site.rpc.server.hostname': 'xxx', 'site.app-site.per.component': 'true' }
component2
'properties': { 'site.app-site.job-builder.class.component2': 'yyy', 'site.app-site.rpc.server.hostname.component2': 'yyy', 'site.app-site.per.component': 'true' }
While doing that, one of the component's property file gets "per.component"="true" in the slider generated property file.
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
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
"per.component" should not be added in any component's property file.