Uploaded image for project: 'Hadoop YARN'
  1. Hadoop YARN
  2. YARN-5079 [Umbrella] Native YARN framework layer for services and beyond
  3. YARN-5941

Slider handles "per.component" for multiple components incorrectly

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • yarn-native-services
    • 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.

      Attachments

        Activity

          People

            billie Billie Rinaldi
            yeshavora Yesha Vora
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: