[
https://issues.apache.org/jira/browse/SLIDER-757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14299383#comment-14299383
]
Ted Yu commented on SLIDER-757:
-------------------------------
{code}
+ * If the ADDTIONAL_RESOUERCE_DIR set,
+ * add this keytab as a local resource for the AM launch.
{code}
'ADDTIONAL_RESOUERCE_DIR set' -> 'ADDTIONAL_RESOUERCE_DIR is set'
'add this keytab': possibly from your own use case, please rewrite the sentence
to make it more general.
Is it possible to add a test so that we know this feature works
> 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 keytabfile、configure file to {{additional_resource_dir}}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)