mirror of https://github.com/apache/druid.git
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:
parent
6a9d86e1ef
commit
ae44e3ecfb
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue