Docker Community Forums

Share and learn in the Docker community.

How to start the custom shell script to start hadoop services and confgure High Availability after all containers started

Hi,

I am using multi container with docker-compse to configure Apache Hadoop HA Cluster.

How to place a script to start namenode service and configure high avaliability after all the containers started. my docker compose contains 5 different services.

master
standby-master
worker-1
worker-2
worker-3

Which images do you use?

I can maybe help you with the start script, but configuring HA, you are on your own :wink:

Hi,

Thanks , I am using entrypoint with shell script to start the services. But my docker-compose says creation done before the script mentioned in entry point finishes. how to handle it ?