[
https://issues.apache.org/jira/browse/SLIDER-757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yang Hao updated SLIDER-757:
----------------------------
Description:
To add this feature would be good for some application that would use extra
resources:
* set "site.global.additional.resource.dir": "{{additional_resource_dir}}" in
app_config.json
* add the resource files to hdfs dir:
.slider/cluster/{{CLUSTER_NAME}}/{{additional_resource_dir}}
* then the resource will be automatically tranferred to container at
working_root/{{additional_resource_dir}}, both for am container and component
container
* in component, you can access the resources in dir
{{AGENT_WORK_ROOT}}/{{additional_resource_dir}}
Examples:
* we can add configure file or additional jar to {{additional_resource_dir}} ,
then the AM or component instance can access these files
was:
To add this feature would be good for some application that would use extra
resources:
* set "site.global.additional.resource.dir": "{{additional_resource_dir}}" in
app_config.json
* add the resource files to hdfs dir:
.slider/cluster/{{CLUSTER_NAME}}/{{additional_resource_dir}}
* then the resource will be automatically tranferred to container at
working_root/{{additional_resource_dir}}, both for am container and component
container
* in component, you can access the resources in dir
{{AGENT_WORK_ROOT}}/{{additional_resource_dir}}
Examples:
* we can add configure file or additional jar to {{additional_resource_dir}}
> Add Additional Resources
> ------------------------
>
> Key: SLIDER-757
> URL: https://issues.apache.org/jira/browse/SLIDER-757
> Project: Slider
> Issue Type: Improvement
> Components: core
> Affects Versions: Slider 0.60
> Reporter: Yang Hao
> Attachments: SLIDER-757.patch
>
>
> To add this feature would be good for some application that would use extra
> resources:
> * set "site.global.additional.resource.dir": "{{additional_resource_dir}}" in
> app_config.json
> * add the resource files to hdfs dir:
> .slider/cluster/{{CLUSTER_NAME}}/{{additional_resource_dir}}
> * then the resource will be automatically tranferred to container at
> working_root/{{additional_resource_dir}}, both for am container and component
> container
> * in component, you can access the resources in dir
> {{AGENT_WORK_ROOT}}/{{additional_resource_dir}}
> Examples:
> * we can add configure file or additional jar to {{additional_resource_dir}}
> , then the AM or component instance can access these files
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)