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_docker.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