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

This commit is contained in:
Matt Croydon 2012-10-24 11:54:05 -05:00
parent 6a9d86e1ef
commit ae44e3ecfb
3 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo " commandline query to RealtimeStandaloneMain service using curl" 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 set +u
shopt -s xpg_echo shopt -s xpg_echo

View File

@ -15,7 +15,7 @@ echo "cleaning up previous run, if any"
# start RealtimeNode process # 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=$! PID=$!
trap "kill $PID" 1 2 3 15 trap "kill $PID" 1 2 3 15

View File

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo " commandline query to RealtimeStandaloneMain service using curl" 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 set +u
shopt -s xpg_echo shopt -s xpg_echo