I want to run the same track repeatedly in a loop , because I want to do the benchmark performance testing for 3 hours.
When I ran without lap count, it get completed within 30 minutes.
However, even when I ran with below suggested laps , syntax it ends after 30 minutes .
Highly appreciate any help regarding this . Thank you.
RALLY_LAPS=3
for lap in $(seq 1 ${RALLY_LAPS})
do
nohup /usr/local/bin/esrally --track-path=/home/sadesilva/samfiles --target-hosts=https://url.tools --pipeline=benchmark-only --client-options="use_ssl:true,verify_certs:false,basic_auth_user:'username',basic_auth_password:'password',timeout:120" >> rally_stdout.log 2>> rally_stderr.log < /dev/null &
done
I believe the issue here is you end up running your tests concurrently with the trailing & in your command, as that will background the esrally task and move on to the next loop iteration.
Thank you [RickBoyd] running without trailing & got the Esrally running . However, when I check the overall document count, and the size, it was still same as I ran once . Could you suggest was that the expected behavior ?
Hard to say without more specific information, but what it seems like you're looking at is the most recent race outcome, in which case that would be correct. The script, as you've written and executed it, is simply running the race 3 times, and is not expected to aggregate the stats from the overall execution.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.