Uploaded image for project: 'Slider'
  1. Slider
  2. SLIDER-773 Add co-processor support for app packages
  3. SLIDER-834

Read addon package configurations in appConfig.json and metainfo.json into AgentProviderService

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Slider 0.80
    • app-package, client
    • None
    • Slider April #1

    Description

      Example metainfo.xml/json schema:

      <metainfo>
        <schemaVersion>2.0</schemaVersion>
        <applicationPackage>
          <name>PHOENIX</name>
          <comment>
            Apache Phoenix is
          </comment>
          <version>2.0</version>
          <type>ADDON-PACKAGE</type>
          <minHadoopVersion>1.0</minHadoopVersion>
          
          <components>
            <component>
              <name>HBASE_REST</name>             ----- this add on package should be applied to hbase_rest component
              <commandScript>
                <script>scripts/addon_hbase_rest.py</script>      ----- location of the script to be used by Slider in zip file/package
                <scriptType>PYTHON</scriptType>
                <timeout>600</timeout>
              </commandScript>
            </component>
      
            <component>
              <name>HBASE_MASTER</name>        ----- this add on package should be applied to hbase_master component
              <commandScript>
                <script>scripts/addon_hbase_master.py</script> -----location of the script to be used by Slider in zip file/package
                <scriptType>PYTHON</scriptType>
              </commandScript>
            </component>
          </components>
        </applicationPackage>
      </metainfo>
      

      Another example:

      <metainfo>
        <schemaVersion>2.0</schemaVersion>
        <applicationPackage>
          <name>RANGER</name>
          <comment>
            Apache RANGER is
          </comment>
          <version>2.0</version>
          <type>ADDON-PACKAGE</type>
          <minHadoopVersion>1.0</minHadoopVersion>
          
          <components>
            <component>
              <name>ALL</name>  ----- this add on package should be applied to all components
              <commandScript>
                <script>scripts/all.py</script>
                <scriptType>PYTHON</scriptType>
                <timeout>600</timeout>
              </commandScript>
            </component>
          </components>
        </applicationPackage>
      </metainfo>
      

      Attachments

        Activity

          People

            thomas_liu thomas liu
            thomas_liu thomas liu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: