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

**URL:** <https://discuss.elastic.co/t/cant-run-race-cannot-find-root-rally-benchmarks-data-geonames-documents-2-json-bz2/236846>\
**Category:** Elasticsearch\
**Tags:** rally\
**Created:** [June 12, 2020, 7:58am UTC](https://discuss.elastic.co/t/cant-run-race-cannot-find-root-rally-benchmarks-data-geonames-documents-2-json-bz2/236846 "2020-06-12T07:58:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![huasheng\_zeng](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/huasheng_zeng/32/70205_2.png) [@huasheng\_zeng](https://discuss.elastic.co/u/huasheng_zeng)\
**Post date:** [June 12, 2020, 7:58am UTC](https://discuss.elastic.co/t/cant-run-race-cannot-find-root-rally-benchmarks-data-geonames-documents-2-json-bz2/236846/1 "2020-06-12T07:58:40Z")

</div>

I can't run race, It says

```auto
 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

```auto
[root@dev8 default]# esrally --pipeline=benchmark-only --target-hosts=192.168.41.103:9200,192.168.41.104:9200,192.168.41.105:9200 --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 https://esrally.readthedocs.io/en/2.0.0/
* Ask a question on the forum at https://discuss.elastic.co/c/elasticsearch/rally
* Raise an issue at https://github.com/elastic/rally/issues and include the log files in /root/.rally/logs.

-------------------------------
[INFO] FAILURE (took 4 seconds)
-------------------------------

```

I check my data file

```auto
[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`

```auto
[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.

---

<div class="post-metadata">

**Author:** ![danielmitterdorfer](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/danielmitterdorfer/32/110510_2.png) [@danielmitterdorfer](https://discuss.elastic.co/u/danielmitterdorfer)\
**Post date:** [June 15, 2020, 9:31am UTC](https://discuss.elastic.co/t/cant-run-race-cannot-find-root-rally-benchmarks-data-geonames-documents-2-json-bz2/236846/2 "2020-06-15T09:31:10Z")

</div>

Hi,

Rally checks whether the data file is available locally and also compares the file size with the [expected one as specified by the track](https://github.com/elastic/rally-tracks/blob/450f9b08af9c821a33562d0d67c3985eabadff13/geonames/track.json#L20). 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?

Daniel

---

<div class="post-metadata">

**Author:** ![huasheng\_zeng](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/huasheng_zeng/32/70205_2.png) [@huasheng\_zeng](https://discuss.elastic.co/u/huasheng_zeng)\
**Post date:** [June 16, 2020, 11:59am UTC](https://discuss.elastic.co/t/cant-run-race-cannot-find-root-rally-benchmarks-data-geonames-documents-2-json-bz2/236846/3 "2020-06-16T11:59:26Z")

</div>

> [@danielmitterdorfer](#):
>
> `ls -al /root/.rally/benchmarks/data/geonames/documents-2.json.bz2`

```auto
[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!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 14, 2020, 11:59am UTC](https://discuss.elastic.co/t/cant-run-race-cannot-find-root-rally-benchmarks-data-geonames-documents-2-json-bz2/236846/4 "2020-07-14T11:59:29Z")

</div>

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