[ https://issues.apache.org/jira/browse/SLIDER-757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14283356#comment-14283356 ]
Yang Hao edited comment on SLIDER-757 at 1/20/15 3:30 AM: ---------------------------------------------------------- Disscused with colleagues, we think when deployed many apps, there is little possibility that resources be share between different apps I think the resources be shared among slider 、app、 cluster may be different features {code}slider:.slider/resources/RESOURCE1{code} {code}app:.slider/package/HBASE/RESOURCE1{code} {code}cluster:.slider/cluster/hbase1/ADDITIONAL_RESOURCES{code} as for cluster, resources will be probably divided into dirs was (Author: yanghaogn): Disscused with colleagues, we think when deployed many apps, there is little possibility that resources be share between different apps I think the resources be shared among slider 、package、 cluster may be different features {code}slider:.slider/resources/RESOURCE1{code} {code}package:.slider/package/HBASE/RESOURCE1{code} {code}cluster:.slider/cluster/hbase1/ADDITIONAL_RESOURCES{code} as for cluster, resources will be probably divided into dirs > 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)