Can't run race, Cannot find /root/.rally/benchmarks/data/geonames/documents-2.json.bz2

I can't run race, It says

 Cannot race. Error in track preparator (('Cannot find /root/.rally/benchmarks/data/geonames/documents-2.json.bz2.

I'm sure my data file is exist.

my operation and shell output is below

[root@dev8 default]# esrally --pipeline=benchmark-only --target-hosts=,, --offline

    ____        ____
   / __ \____ _/ / /_  __
  / /_/ / __ `/ / / / / /
 / _, _/ /_/ / / / /_/ /
/_/ |_|\__,_/_/_/\__, /

[ERROR] Cannot race. Error in track preparator (('Cannot find /root/.rally/benchmarks/data/geonames/documents-2.json.bz2. Please disable offline mode and retry again.', None))

Getting further help:
* Check the log files in /root/.rally/logs for errors.
* Read the documentation at
* Ask a question on the forum at
* Raise an issue at and include the log files in /root/.rally/logs.

[INFO] FAILURE (took 4 seconds)

I check my data file

[root@dev8 default]# ls -alh /root/.rally/benchmarks/data/geonames/documents-2.json.bz2
-rw-r--r--. 1 root root 253M Jun 11 18:08 /root/.rally/benchmarks/data/geonames/documents-2.json.bz2

my rally version is 2.0.0

[root@dev8 default]# esrally --version
esrally 2.0.0

could you help to resolve it please? thank you so much

if need more info please tell me, thank you again.


Rally checks whether the data file is available locally and also compares the file size with the expected one as specified by the track. Your file size (253MB) looks basically right but can you run ls -al /root/.rally/benchmarks/data/geonames/documents-2.json.bz2 (without the -h flag) and check whether it is exactly 265208777 (byte)? If that's not the case, Rally considers the local copy corrupt and attempt to redownload the file and that's what you might be seeing here. If the file size does not match, can you please retry downloading the file?


[root@dev8 default]# ls -al /root/.rally/benchmarks/data/geonames/documents-2.json.bz2 
-rw-r--r--. 1 root root 264698741 Jun 11 18:08 /root/.rally/benchmarks/data/geonames/documents-2.json.bz2

Oh, It seems my data file is corrupt, thanks!
I think it can give a more friendly tips, thanks!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.