[
https://issues.apache.org/jira/browse/SLIDER-834?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14483815#comment-14483815
]
thomas liu commented on SLIDER-834:
-----------------------------------
How Slider receive the input:
SliderClient will upload the add on package to HDFS, under directories for each
addon package. Their location on HDFS will be stored in the interpreted app
config.
SliderAM(AgentProviderService) will localize those package files. It will also
read metainfo.json/xml for each addon package, and keep track of which
components in the master package should the addon package be applied to.
> Read addon package configurations in appConfig.json and metainfo.json into
> AgentProviderService
> -----------------------------------------------------------------------------------------------
>
> Key: SLIDER-834
> URL: https://issues.apache.org/jira/browse/SLIDER-834
> Project: Slider
> Issue Type: Sub-task
> Components: app-package, client
> Reporter: thomas liu
> Fix For: Slider 0.80
>
>
> Example metainfo.xml/json schema:
> <metainfo>
> <schemaVersion>2.0</schemaVersion>
> <package>
> <name>PHOENIX</name>
> <comment>
> Apache Phoenix is ...
> </comment>
> <version>...</version>
> <type>ADDON-PACKAGE</type>
> <minHadoopVersion>XXX</minHadoopVersion>
>
> <components>
> <component>
> <name>ALL</name>
> <commandScript>
> <script>scripts/start_phoenix.py</script>
> <scriptType>PYTHON</scriptType>
> <timeout>600</timeout>
> </commandScript>
> </component>
> <component>
> <name>HBASE_MASTER</name>
> <commandScript>
> <script>scripts/start_phoenix_for_hbase_master.py</script>
> <scriptType>PYTHON</scriptType>
> </commandScript>
> </component>
> ...
> </components>
> <configFiles>
> <configFile>
> <type>xml</type>
> <fileName>phoenix.xml</fileName>
> <dictionaryName>phoenix</dictionaryName>
> </configFile>
> ...
> </configFiles>
> </package>
> </metainfo>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)