[ 
https://issues.apache.org/jira/browse/SLIDER-757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14283333#comment-14283333
 ] 

Yang Hao edited comment on SLIDER-757 at 1/20/15 2:48 AM:
----------------------------------------------------------

What Jonathan Maron said  can also resolve production problems.

If designed as you said, we can consider some related resources as one 
resource, and be divided by dir. It would be easy to use.
 





was (Author: yanghaogn):
Then we can consider some related resources as one resource, and be divided by 
dir.

Or what said below can also resolve production problems.


> 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
>
> To add this feature would be good for some application that would use extra 
> resources:
> * set "site.additional_resource_dir": "{{additional_resource_dir}}" in 
> app_config.json
> * add the resource files to hdfs at 
> .slider/cluster/{{CLUSTER_NAME}}/{{additional_resource_dir}}
> * then the resource will be automatically tranferred to container at 
> working_root/{{additional_resource_dir}}
> * in component, you can access the resources in dir 
> {{AGENT_WORK_ROOT}}/{{additional_resource_dir}}
> Examples:
> * we can add keytabfile、configure file to {{additional_resource_dir}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to