[ 
https://issues.apache.org/jira/browse/SLIDER-757?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Yang Hao updated SLIDER-757:
----------------------------
    Description: 
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}

- {{sysusers.d_zookeeper.conf}}: creates {{zookeeper}} Linux system user to run 
Zookeeper
- {{tmpfiles.d_zookeeper.conf}}: creates temporary {{/var/log/zookeeper}} and 
{{/var/lib/zookeeper} directories
- {{zookeeper.service}}: regular systemd startup _script_
Examples are:

- we can add keytabfile、configure file to ${additional_resource_dir}

  was:
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 are:

- we can add keytabfile、configure file to ${additional_resource_dir}


> 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}
> - {{sysusers.d_zookeeper.conf}}: creates {{zookeeper}} Linux system user to 
> run Zookeeper
> - {{tmpfiles.d_zookeeper.conf}}: creates temporary {{/var/log/zookeeper}} and 
> {{/var/lib/zookeeper} directories
> - {{zookeeper.service}}: regular systemd startup _script_
> Examples are:
> - 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