From ae44e3ecfb0b9cf6bb7fdc0aaa488f32963c932d Mon Sep 17 00:00:00 2001 From: Matt Croydon Date: Wed, 24 Oct 2012 11:54:05 -0500 Subject: [PATCH] Removed hardcoded jar version in examples/rand/run_server.sh which was preventing it from running. Also updated examples/rand/run_client.sh and examples/twitter/run_client.sh help messages to remove the unneeded &. --- examples/rand/run_client.sh | 2 +- examples/rand/run_server.sh | 2 +- examples/twitter/run_client.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/rand/run_client.sh b/examples/rand/run_client.sh index ad555c399da..8ec5ffa639e 100755 --- a/examples/rand/run_client.sh +++ b/examples/rand/run_client.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash echo " commandline query to RealtimeStandaloneMain service using curl" -echo " before running this, do: run_server.sh &" +echo " before running this, do: run_server.sh" set +u shopt -s xpg_echo diff --git a/examples/rand/run_server.sh b/examples/rand/run_server.sh index 9273500da61..2789064653f 100755 --- a/examples/rand/run_server.sh +++ b/examples/rand/run_server.sh @@ -15,7 +15,7 @@ echo "cleaning up previous run, if any" # start RealtimeNode process # -java -Xmx400m -Duser.timezone=UTC -Dfile.encoding=UTF-8 -classpath target/druid-examples-rand-2.5.72-SNAPSHOT-selfcontained.jar druid.examples.RealtimeStandaloneMain >RealtimeNode.out 2>&1 & +java -Xmx400m -Duser.timezone=UTC -Dfile.encoding=UTF-8 -classpath target/druid-examples-rand-*-selfcontained.jar druid.examples.RealtimeStandaloneMain >RealtimeNode.out 2>&1 & PID=$! trap "kill $PID" 1 2 3 15 diff --git a/examples/twitter/run_client.sh b/examples/twitter/run_client.sh index e8113285502..b11834ed087 100755 --- a/examples/twitter/run_client.sh +++ b/examples/twitter/run_client.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash echo " commandline query to RealtimeStandaloneMain service using curl" -echo " before running this, do: run_server.sh &" +echo " before running this, do: run_server.sh" set +u shopt -s xpg_echo