[
https://issues.apache.org/jira/browse/SLIDER-757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14283329#comment-14283329
]
Yang Hao edited comment on SLIDER-757 at 1/20/15 2:52 AM:
----------------------------------------------------------
I think it's a more natural way without considering the permission that the
resource may be misused by other clusters
And then, slider command can be used to add resource
component in app_conf can use the RESOURCE1 by
{code}
${ADDITIONAL_RESOURCES}/RESOURCE1
{code}
was (Author: yanghaogn):
I think it's a more natural way without considering the permission that the
resource may be misused by other clusters
And then, slider command can be used to add resource
> 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)