You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@slider.apache.org by "Yang Hao (JIRA)" <ji...@apache.org> on 2015/02/03 15:19:46 UTC
[jira] [Commented] (SLIDER-757) Add Additional Resources
[ https://issues.apache.org/jira/browse/SLIDER-757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14303327#comment-14303327 ]
Yang Hao commented on SLIDER-757:
---------------------------------
I will try to add an UT
> 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}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)