Skip to content

Commit

Permalink
Merge pull request #83 from Alessar/master
Browse files Browse the repository at this point in the history
Correct application invoking
  • Loading branch information
chrislusf committed Jul 11, 2017
2 parents a8a9c02 + 5d53328 commit 1121db4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions etc/start_local_glow_cluster.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,22 +30,22 @@ trap ctrl_c SIGINT
echo "You may press ctrl-c to kill all started processes..."

go build glow.go
glow master --address="${MASTER_ADDRESS}" &>/dev/null &
./glow master --address="${MASTER_ADDRESS}" &
pids+=($!)
echo "Started glow master at ${MASTER_ADDRESS}, pid: $!"

glow agent --dir="${GLOW_BASE_DIR}/agent1" --max.executors=5 --memory=500 \
--master="${MASTER_ADDRESS}" --port="${AGENT_PORT1}" &>/dev/null &
./glow agent --dir="${GLOW_BASE_DIR}/agent1" --max.executors=5 --memory=500 \
--master="${MASTER_ADDRESS}" --port="${AGENT_PORT1}" &
pids+=($!)
echo "Started glow agent, pid: $!"

glow agent --dir="${GLOW_BASE_DIR}/agent2" --max.executors=5 --memory=500 \
--master="${MASTER_ADDRESS}" --port="${AGENT_PORT2}" &>/dev/null &
./glow agent --dir="${GLOW_BASE_DIR}/agent2" --max.executors=5 --memory=500 \
--master="${MASTER_ADDRESS}" --port="${AGENT_PORT2}" &
pids+=($!)
echo "Started glow agent, pid: $!"

glow agent --dir="${GLOW_BASE_DIR}/agent3" --max.executors=5 --memory=500 \
--master="${MASTER_ADDRESS}" --port="${AGENT_PORT3}" &>/dev/null &
./glow agent --dir="${GLOW_BASE_DIR}/agent3" --max.executors=5 --memory=500 \
--master="${MASTER_ADDRESS}" --port="${AGENT_PORT3}" &
pids+=($!)
echo "Started glow agent, pid: $!"

Expand Down

0 comments on commit 1121db4

Please sign in to comment.