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]')