Hi,
When i run ./esrally race --pipeline=benchmark-only --target-hosts=192.168.2.28:9200 --offline --track=http_logs --challenge=append-no-conflicts-index-only --distribution-version=5.6.10, show error as [ERROR] Cannot race. Error in track preparator (('Cannot find /home/node/.rally/benchmarks/data/http_logs/documents-191998.json.bz2. Please disable offline mode and retry again.', None)).
Hi,
did you follow our docs for offline usage? It appears as if you did not download the track data files.
Daniel
Yes. i download all tracks to my path.
node@node-BOXER-6405M:~/.rally/benchmarks/tracks/default$ ll
total 80
drwxr-xr-x 16 node node 4096 Apr 3 15:59 ./
drwxr-xr-x 3 node node 4096 Apr 3 15:58 ../
drwxr-xr-x 8 node node 4096 Apr 3 16:03 .git/
-rw-r--r-- 1 node node 1419 Mar 13 00:00 .gitignore
-rw-r--r-- 1 node node 4266 Mar 13 00:00 README.md
-rw-r--r-- 1 node node 2201 Apr 3 11:39 download.sh
drwxr-xr-x 4 node node 4096 Apr 3 15:57 eventdata/
drwxr-xr-x 4 node node 4096 Apr 3 15:57 geonames/
drwxr-xr-x 4 node node 4096 Apr 3 15:57 geopoint/
drwxr-xr-x 5 node node 4096 Apr 3 15:57 geopointshape/
drwxr-xr-x 5 node node 4096 Apr 3 15:57 geoshape/
drwxr-xr-x 6 node node 4096 Apr 3 16:03 http_logs/
drwxr-xr-x 4 node node 4096 Apr 3 15:57 metricbeat/
drwxr-xr-x 4 node node 4096 Apr 3 15:57 nested/
drwxr-xr-x 5 node node 4096 Apr 3 15:57 noaa/
drwxr-xr-x 5 node node 4096 Apr 3 15:57 nyc_taxis/
drwxr-xr-x 4 node node 4096 Apr 3 15:57 percolator/
drwxr-xr-x 4 node node 4096 Apr 3 15:57 pmc/
drwxr-xr-x 4 node node 4096 Apr 3 15:57 so/
And my data put on below path:
node@node-BOXER-6405M:~/.rally/benchmarks/data$ ll
total 12
drwxr-xr-x 3 node node 4096 Apr 3 09:57 ./
drwxr-xr-x 6 node node 4096 Apr 3 13:59 ../
drwxr-xr-x 2 node node 4096 Apr 3 13:51 http_logs/
Below is details logs.
File "/usr/local/lib/python3.6/dist-packages/esrally/track/loader.py", line 399, in download
raise exceptions.SystemSetupError("Cannot find %s. Please disable offline mode and retry again." % target_path)
esrally.exceptions.SystemSetupError: ('Cannot find /home/node/.rally/benchmarks/data/http_logs/documents-191998.json.bz2. Please disable offline mode and retry again.', None)
2020-04-03 08:03:19,747 ActorAddr-(T|:38853)/PID:5148 esrally.actor INFO A track preparator has exited.
2020-04-03 08:03:19,749 ActorAddr-(T|:40191)/PID:5113 esrally.actor INFO BenchmarkActor received unknown message [ChildActorExited:ActorAddr-(T|:38853)] (ignoring).
2020-04-03 08:03:22,745 -not-actor-/PID:5105 esrally.rally INFO Attempting to shutdown internal actor system.
2020-04-03 08:03:22,749 -not-actor-/PID:5112 root INFO ActorSystem Logging Shutdown
2020-04-03 08:03:22,771 -not-actor-/PID:5111 root INFO ---- Actor System shutdown
2020-04-03 08:03:22,772 -not-actor-/PID:5105 esrally.rally INFO Actor system is still running. Waiting...
2020-04-03 08:03:23,773 -not-actor-/PID:5105 esrally.rally INFO Shutdown completed.
2020-04-03 08:03:23,774 -not-actor-/PID:5105 esrally.rally ERROR Cannot run subcommand [race].
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/esrally/rally.py", line 714, in dispatch_sub_command
race(cfg)
File "/usr/local/lib/python3.6/dist-packages/esrally/rally.py", line 624, in race
with_actor_system(racecontrol.run, cfg)
File "/usr/local/lib/python3.6/dist-packages/esrally/rally.py", line 652, in with_actor_system
runnable(cfg)
File "/usr/local/lib/python3.6/dist-packages/esrally/racecontrol.py", line 365, in run
raise e
File "/usr/local/lib/python3.6/dist-packages/esrally/racecontrol.py", line 362, in run
pipeline(cfg)
File "/usr/local/lib/python3.6/dist-packages/esrally/racecontrol.py", line 79, in call
self.target(cfg)
File "/usr/local/lib/python3.6/dist-packages/esrally/racecontrol.py", line 298, in benchmark_only
return race(cfg, external=True)
File "/usr/local/lib/python3.6/dist-packages/esrally/racecontrol.py", line 250, in race
raise exceptions.RallyError(result.message, result.cause)
esrally.exceptions.RallyError: ("Error in track preparator (('Cannot find /home/node/.rally/benchmarks/data/http_logs/documents-191998.json.bz2. Please disable offline mode and retry again.', None))", None)
Hi,
can you please run ls -la /home/node/.rally/benchmarks/data/http_logs
?
Daniel
hi, this issue already fixed now. Thank you.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.