Skip to content

Commit

Permalink
Removed hardcoded jar version in examples/rand/run_server.sh which wa…
Browse files Browse the repository at this point in the history
…s preventing it from running. Also updated examples/rand/run_client.sh and examples/twitter/run_client.sh help messages to remove the unneeded &.
  • Loading branch information
mcroydon committed Oct 24, 2012
1 parent 6a9d86e commit ae44e3e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/rand/run_client.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/rand/run_server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion examples/twitter/run_client.sh
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit ae44e3e

Please sign in to comment.