Skip to content

Commit

Permalink
Retry docker compose
Browse files Browse the repository at this point in the history
Port mappings from a previous shutdown may
persist for some time. Retrying may be successful
  • Loading branch information
aaneja authored and tdcmeehan committed Mar 27, 2024
1 parent 28ee728 commit 62dca4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion presto-hive-hadoop2/bin/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ function start_docker_containers() {
fi

# start containers
docker-compose -f "${DOCKER_COMPOSE_LOCATION}" up -d
retry docker-compose -f "${DOCKER_COMPOSE_LOCATION}" up -d

# start docker logs for hadoop container
docker-compose -f "${DOCKER_COMPOSE_LOCATION}" logs --no-color hadoop-master &
Expand Down

0 comments on commit 62dca4a

Please sign in to comment.