# Rally errors

**URL:** <https://discuss.elastic.co/t/rally-errors/51720>\
**Category:** Elasticsearch\
**Tags:** rally\
**Created:** [June 2, 2016, 3:50pm UTC](https://discuss.elastic.co/t/rally-errors/51720 "2016-06-02T15:50:33Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![paulkeogh](https://avatars.discourse-cdn.com/v4/letter/p/8dc957/32.png) [@paulkeogh](https://discuss.elastic.co/u/paulkeogh)\
**Post date:** [June 2, 2016, 3:50pm UTC](https://discuss.elastic.co/t/rally-errors/51720/1 "2016-06-02T15:50:33Z")

</div>

I am trying to get to grips with Rally;

I run with a command line of;

esrally --pipeline=benchmark-only --target-hosts=localhost:9200

It fails almost immediately with the following exception;

Writing additional logs to /database/benchmark/races/2016-06-02-15-32-27/vcloud/logs/rally\_out.log

```
________     

```

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

* * *

\*\*\*\*\*\*\*\*\*\*\*\*\*\* WARNING: A dark dungeon lies ahead of you \*\*\*\*\*\*\*\*\*\*\*\*\*\*

* * *

Rally dos not have control over the configuration of the benchmarked  
Elasticsearch cluster.

Be aware that results may be misleading due to problems with the setup.  
Rally is also not able to gather lots of metrics at all (like CPU usage  
of the benchmarked cluster) or may even produce misleading metrics (like  
the index size).

* * *

\*\*\*\*\*\* Use this pipeline only if you are aware of the tradeoffs. \*\*\*\*\*\*  
\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* Watch your step! \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

* * *

Racing on track 'geonames' with setup 'defaults'  
Traceback (most recent call last):  
File "/usr/bin/esrally", line 11, in   
sys.exit(main())  
File "/usr/lib/python3.5/site-packages/esrally/rally.py", line 268, in main  
success = race\_control.start(subcommand)  
File "/usr/lib/python3.5/site-packages/esrally/racecontrol.py", line 289, in start  
raise e  
File "/usr/lib/python3.5/site-packages/esrally/racecontrol.py", line 260, in start  
pipeline.run(t)  
File "/usr/lib/python3.5/site-packages/esrally/racecontrol.py", line 88, in run  
step.run(track)  
File "/usr/lib/python3.5/site-packages/esrally/racecontrol.py", line 53, in run  
step.run(track, track\_setup)  
File "/usr/lib/python3.5/site-packages/esrally/racecontrol.py", line 29, in run  
self.command(self.ctx, track, track\_setup)  
File "/usr/lib/python3.5/site-packages/esrally/racecontrol.py", line 135, in benchmark\_external  
cluster = ctx.mechanic.start\_engine\_external(track, track\_setup)  
File "/usr/lib/python3.5/site-packages/esrally/mechanic/mechanic.py", line 39, in start\_engine\_external  
return external\_launcher.start(track, setup, self.\_metrics\_store)  
File "/usr/lib/python3.5/site-packages/esrally/mechanic/launcher.py", line 81, in start  
self.setup\_index(c, track, setup)  
File "/usr/lib/python3.5/site-packages/esrally/mechanic/launcher.py", line 53, in setup\_index  
body=json.loads(mappings))  
File "/usr/lib/python3.5/site-packages/elasticsearch/client/utils.py", line 69, in \_wrapped  
return func(\*args, params=params, \*\*kwargs)  
File "/usr/lib/python3.5/site-packages/elasticsearch/client/indices.py", line 291, in put\_mapping  
'\_mapping', doc\_type), params=params, body=body)  
File "/usr/lib/python3.5/site-packages/elasticsearch/transport.py", line 329, in perform\_request  
status, headers, data = connection.perform\_request(method, url, params, body, ignore=ignore, timeout=timeout)  
File "/usr/lib/python3.5/site-packages/elasticsearch/connection/http\_urllib3.py", line 109, in perform\_request  
self.\_raise\_error(response.status, raw\_data)  
File "/usr/lib/python3.5/site-packages/elasticsearch/connection/base.py", line 108, in \_raise\_error  
raise HTTP\_EXCEPTIONS.get(status\_code, TransportError)(status\_code, error\_message, additional\_info)  
elasticsearch.exceptions.RequestError: TransportError(400, 'mapper\_parsing\_exception', 'No handler for type [text] declared on field [cc2]')

---

<div class="post-metadata">

**Author:** ![polyfractal](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/polyfractal/32/48162_2.png) [@polyfractal](https://discuss.elastic.co/u/polyfractal)\
**Post date:** [June 3, 2016, 1:59pm UTC](https://discuss.elastic.co/t/rally-errors/51720/2 "2016-06-03T13:59:30Z")

</div>

Paging @danielmitterdorfer 🙂

---

<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 6, 2016, 7:03am UTC](https://discuss.elastic.co/t/rally-errors/51720/3 "2016-06-06T07:03:13Z")

</div>

Hi @paulkeogh,

Rally tries to create an index for the benchmark but your cluster does not support this mapping syntax. Which version of Elasticsearch are you trying to benchmark?

By the way, Rally's support is not really great at benchmarking the 1.x and 2.x versions of Elasticsearch but support for your scenario is coming in the next days.

Daniel

---

<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 6, 2016, 11:09am UTC](https://discuss.elastic.co/t/rally-errors/51720/4 "2016-06-06T11:09:14Z")

</div>

By the way, the issue I was talking about is here: [https://github.com/elastic/rally/issues/69](https://github.com/elastic/rally/issues/69)

---

<div class="post-metadata">

**Author:** ![paulkeogh](https://avatars.discourse-cdn.com/v4/letter/p/8dc957/32.png) [@paulkeogh](https://discuss.elastic.co/u/paulkeogh)\
**Post date:** [June 7, 2016, 8:19am UTC](https://discuss.elastic.co/t/rally-errors/51720/5 "2016-06-07T08:19:41Z")

</div>

Hi,

Thanks for the reply.

I am using ES 2.3.3

---

<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 7, 2016, 8:31am UTC](https://discuss.elastic.co/t/rally-errors/51720/6 "2016-06-07T08:31:53Z")

</div>

Hi @paulkeogh,

Thanks! I see that I can get a configuration for Elasticsearch 2.3 into the next release (I expect that it will be out this week).

Daniel

---

<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 9, 2016, 2:54pm UTC](https://discuss.elastic.co/t/rally-errors/51720/7 "2016-06-09T14:54:50Z")

</div>

Hi @paulkeogh,

I have [released a new version of Rally](https://discuss.elastic.co/t/rally-0-3-0-released/52327). After the upgrade your benchmark should work fine now. If anything is not working as expected, please just post here and we'll figure it out.

Daniel

---

<div class="post-metadata">

**Author:** ![cmcc123](https://avatars.discourse-cdn.com/v4/letter/c/3ab097/32.png) [@cmcc123](https://discuss.elastic.co/u/cmcc123)\
**Post date:** [June 15, 2016, 6:34pm UTC](https://discuss.elastic.co/t/rally-errors/51720/8 "2016-06-15T18:34:57Z")

</div>

Notes from my recent CentOS-7 experience YMMV

I needed to have a more recent version of git 2.x (currently can't get that from EPEL on CentOS7 as its version is ancient) to support the '-C' option.

So, I needed to compile git from source.

On that note, I also needed to install curl-devel prior to compiling git, and got the following error before figuring that out:

Cloning into '/home/deploy/.rally/benchmarks/tracks/default'...  
fatal: Unable to find remote helper for 'https'  
ERROR: Cannot run benchmark  
Reason: Could not clone from '[https://github.com/elastic/rally-tracks](https://github.com/elastic/rally-tracks)' to '/home/deploy/.rally/benchmarks/tracks/default'

But, after installing curl-devel and recompiling git from src I was able to start esrally.

---

<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 16, 2016, 5:53am UTC](https://discuss.elastic.co/t/rally-errors/51720/9 "2016-06-16T05:53:22Z")

</div>

Hi @cmcc123,

oh that is too bad. Sorry that it was so much hassle to set up everything. I hope it is running smooth now.

Do you remember which version of git you had installed before? I checked the git changelog before I used "-C" in Rally and I thought it is safe because [according to the changelog "-C" is supported since git 1.8.5](https://github.com/git/git/blob/c2c5f6b1e479f2c38e0e01345350620944e3527f/Documentation/RelNotes/1.8.5.txt#L115-L116).

Daniel

---

<div class="post-metadata">

**Author:** ![cmcc123](https://avatars.discourse-cdn.com/v4/letter/c/3ab097/32.png) [@cmcc123](https://discuss.elastic.co/u/cmcc123)\
**Post date:** [June 16, 2016, 6:24pm UTC](https://discuss.elastic.co/t/rally-errors/51720/10 "2016-06-16T18:24:59Z")

</div>

Hi Daniel,  
Unfortunately, it looks like our CentOS-7 / EPEL was sporting the ancient git version 1.8.3.1

cat /etc/redhat-release  
CentOS Linux release 7.2.1511 (Core)

git --version  
git version 1.8.3.1

Thanks

---

<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 17, 2016, 5:48am UTC](https://discuss.elastic.co/t/rally-errors/51720/11 "2016-06-17T05:48:41Z")

</div>

Hi Chris,

thanks for your help and looking up the version. To be honest I fear the missing "-C" option was just the start and other git flags on which Rally is relying are probably missing too.

I see whether I can get git 1.8 installed on a machine and improve the compatibility or if I find blockers on the way I'll at least document the minimum required git version in the docs.

Daniel

---

<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 5, 2017, 10:42pm UTC](https://discuss.elastic.co/t/rally-errors/51720/12 "2017-07-05T22:42:57Z")

</div>


