Docker support in Slider is tech preview only. You should start looking
into Docker and long-running services support in YARN 3.x -
https://github.com/apache/hadoop/blob/trunk/hadoop-yarn-project/hadoop-yarn
/hadoop-yarn-site/src/site/markdown/yarn-service/Overview.md

First GA release is targeted for 3.1.0.

For this problem, what is the component name you specified for redis in
your resources.json? Did you follow the exporting data documentation -
https://slider.incubator.apache.org/docs/slider_specs/specifying_exports.ht
ml


This hbase metainfo.xml will also help to understand -
https://github.com/apache/incubator-slider/blob/master/app-packages/hbase/m
etainfo.xml



-Gour

On 1/4/18, 5:44 PM, "shreyas subramanya" <shreyass...@gmail.com> wrote:

>Hi,
>I have been experimenting with slider to run docker containers on a
>yarn cluster (HDP 2.6) by following
>https://slider.incubator.apache.org/docs/slider_specs/application_pkg_dock
>er.html
>and was able to launch the redis and nodejs docker containers. However
>the only thing that I could not get to work is nodejs to connect to
>redis container. The REDIS_HOST env variable in the appConfig.json
>shows up as empty. Here is the line that sets this env variable:
>
>"nodejs.options":"-d -e REDIS_HOST=${REDIS_HOST} --net=host"
>
>So how do I solve this problem? Specifically, I need is to be able to
>dynamically discover my peer container address from within one
>container. Any help is much appreciated.
>
>Thanks,
>Shreyas
>

Reply via email to