Skip to content

Instantly share code, notes, and snippets.

@PT-73
Created November 8, 2016 04:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PT-73/41151fb0d75bfce18c614340757f30d9 to your computer and use it in GitHub Desktop.
Save PT-73/41151fb0d75bfce18c614340757f30d9 to your computer and use it in GitHub Desktop.
esrally 0.4.4 issue - Rally fails when running with preserve_benchmark & metricstore
[meta]
config.version = 6
[system]
root.dir = /Users/jwebster/.rally/benchmarks
log.root.dir = logs
env.name = persist-new-version
[provisioning]
local.install.dir = install
[runtime]
java8.home = /Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home
[benchmarks]
local.dataset.cache = ${system:root.dir}/data
[reporting]
datastore.type = elasticsearch
datastore.host = localhost
datastore.port = 9200
datastore.secure = False
datastore.user =
datastore.password =
[tracks]
default.url = https://github.com/elastic/rally-tracks
[defaults]
preserve_benchmark_candidate = True
2016-11-08 04:14:03,379 rally.main INFO Rally version [0.4.4]
2016-11-08 04:14:03,379 rally.main INFO Command line arguments: Namespace(advanced_config=False, assume_defaults=False, car='defaults', challenge='append-no-conflicts', client_options='timeout:60000,request_timeout:60000', cluster_health='green', configuration_name=None, data_paths=None, distribution_repository='release', distribution_version='5.0.0', effective_start_date=datetime.datetime(2016, 11, 8, 4, 14, 3, 376929), laps=1, logging='file', offline=False, override_src_dir=None, pipeline='from-distribution', preserve_install='True', quiet=False, report_file='', report_format='markdown', revision='current', subcommand=None, target_hosts='localhost:9200', telemetry='', track='tiny', track_repository='default', user_tag='')
2016-11-08 04:14:03,379 rally.net INFO Rally connects directly to the Internet (no proxy support).
2016-11-08 04:14:03,402 rally.process INFO Killing lingering process with PID [36883] and command line [['/Library/Frameworks/Python.framework/Versions/3.5/Resources/Python.app/Contents/MacOS/Python', '/Library/Frameworks/Python.framework/Versions/3.5/bin/esrally', '--pipeline=from-distribution', '--distribution-version=5.0.0', '--track=tiny']].
2016-11-08 04:14:03,403 rally.process INFO Skipping myself (PID [37144]).
2016-11-08 04:14:03,427 root WARNING Unable to get address info for address jwebster-mbp13 (AddressFamily.AF_INET, SocketKind.SOCK_DGRAM, 17, 0): <class 'socket.gaierror'> [Errno 8] nodename nor servname provided, or not known
2016-11-08 04:14:03,428 root WARNING Unable to get address info for address jwebster-mbp13 (AddressFamily.AF_INET, SocketKind.SOCK_DGRAM, 17, 0): <class 'socket.gaierror'> [Errno 8] nodename nor servname provided, or not known
2016-11-08 04:14:03,428 root WARNING Unable to get address info for address jwebster-mbp13 (AddressFamily.AF_INET, SocketKind.SOCK_DGRAM, 17, 1): <class 'socket.gaierror'> [Errno 8] nodename nor servname provided, or not known
2016-11-08 04:14:03,429 root WARNING Unable to get address info for address jwebster-mbp13 (AddressFamily.AF_INET, SocketKind.SOCK_DGRAM, 17, 1): <class 'socket.gaierror'> [Errno 8] nodename nor servname provided, or not known
2016-11-08 04:14:03,535 rally.racecontrol INFO User specified pipeline [from-distribution].
2016-11-08 04:14:03,536 rally.metrics INFO Creating ES metrics store
2016-11-08 04:14:03,536 rally.metrics INFO Creating connection to metrics store at localhost:9200
2016-11-08 04:14:03,537 rally.metrics INFO Opening metrics store for invocation=[20161108T041403Z], track=[tiny], challenge=[append-no-conflicts], car=[defaults]
2016-11-08 04:14:03,585 rally.supplier INFO Resolved download URL [https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-5.0.0.tar.gz] for version [5.0.0]
2016-11-08 04:14:03,585 rally.supplier INFO Skipping download for version [5.0.0]. Found an existing binary locally at [/Users/jwebster/.rally/benchmarks/distributions/elasticsearch-5.0.0.tar.gz].
2016-11-08 04:14:03,585 rally.provisioner INFO Preparing candidate locally in [/Users/jwebster/.rally/benchmarks/races/2016-11-08-04-14-03/persist-new-version/tracks/tiny/append-no-conflicts/install].
2016-11-08 04:14:03,586 rally.provisioner INFO Unzipping /Users/jwebster/.rally/benchmarks/distributions/elasticsearch-5.0.0.tar.gz to /Users/jwebster/.rally/benchmarks/races/2016-11-08-04-14-03/persist-new-version/tracks/tiny/append-no-conflicts/install
2016-11-08 04:14:03,889 rally.provisioner INFO Using port [39200]
2016-11-08 04:14:03,889 rally.provisioner INFO Using data paths [['/Users/jwebster/.rally/benchmarks/races/2016-11-08-04-14-03/persist-new-version/tracks/tiny/append-no-conflicts/install/elasticsearch-5.0.0/data']]
2016-11-08 04:14:03,890 rally.client INFO Creating ES client connected to [{'host': 'localhost', 'port': 39200}] with options [{'timeout': 60000, 'request_timeout': 60000}]
2016-11-08 04:14:03,890 rally.process INFO Killing all processes which match [java], [elasticsearch] and [rally-node]
2016-11-08 04:14:03,907 rally.process INFO Skipping myself (PID [37144]).
2016-11-08 04:14:03,907 rally.launcher INFO Starting a cluster based on car [defaults] with [1] nodes.
2016-11-08 04:14:03,976 rally.process INFO b'java version "1.8.0_101"\n'
2016-11-08 04:14:03,977 rally.process INFO b'Java(TM) SE Runtime Environment (build 1.8.0_101-b13)\n'
2016-11-08 04:14:03,977 rally.process INFO b'Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)\n'
2016-11-08 04:14:03,980 rally.launcher INFO JVM supports +ExitOnOutOfMemoryError. Setting this option to detect out of memory errors during the benchmark.
2016-11-08 04:14:03,980 rally.launcher INFO ENV: {'XPC_SERVICE_NAME': '0', 'Apple_PubSub_Socket_Render': '/private/tmp/com.apple.launchd.UqCHGEih05/Render', 'COLUMNS': '175', 'SHELL': '/bin/bash', 'USER': 'jwebster', '_': '/Library/Frameworks/Python.framework/Versions/3.5/bin/esrally', 'PATH': '/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/bin:/Library/Frameworks/Python.framework/Versions/3.5/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin', 'TERM_PROGRAM': 'Apple_Terminal', 'TMPDIR': '/var/folders/g1/9tmp0q9d3qv4zmxhcxf0hs5xw57_kr/T/', '__PYVENV_LAUNCHER__': '/Library/Frameworks/Python.framework/Versions/3.5/bin/python3.5', 'TERM_SESSION_ID': '1F61F92C-24EA-414B-A63D-CB5D9D4C309A', 'PWD': '/Users/jwebster', 'ES_JAVA_OPTS': '-XX:+ExitOnOutOfMemoryError ', 'TERM': 'xterm-256color', 'JAVA_HOME': '/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home', 'OLDPWD': '/Users/jwebster/.rally', '__CF_USER_TEXT_ENCODING': '0x7853AA58:0x0:0x0', 'SHLVL': '1', 'LOGNAME': 'jwebster', 'SSH_AUTH_SOCK': '/private/tmp/com.apple.launchd.Q0WtyaVO0w/Listeners', 'LANG': 'en_US.UTF-8', 'TERM_PROGRAM_VERSION': '361.1', 'XPC_FLAGS': '0x0', 'HOME': '/Users/jwebster'}
2016-11-08 04:14:03,980 rally.launcher INFO ES launch: ['bin/elasticsearch', '-Enode.name=rally-node0', '-Epath.logs=/Users/jwebster/.rally/benchmarks/races/2016-11-08-04-14-03/persist-new-version/logs/tiny/append-no-conflicts/server']
2016-11-08 04:14:06,255 rally.launcher INFO rally-node0: [2016-11-07T20:14:06,254][INFO ][o.e.n.Node ] [rally-node0] initializing ...
2016-11-08 04:14:06,331 rally.launcher INFO rally-node0: [2016-11-07T20:14:06,331][INFO ][o.e.e.NodeEnvironment ] [rally-node0] using [1] data paths, mounts [[/ (/dev/disk1)]], net usable_space [272.3gb], net total_space [464.7gb], spins? [unknown], types [hfs]
2016-11-08 04:14:06,332 rally.launcher INFO rally-node0: [2016-11-07T20:14:06,332][INFO ][o.e.e.NodeEnvironment ] [rally-node0] heap size [1.9gb], compressed ordinary object pointers [true]
2016-11-08 04:14:06,335 rally.launcher INFO rally-node0: [2016-11-07T20:14:06,335][INFO ][o.e.n.Node ] [rally-node0] version[5.0.0], pid[37152], build[253032b/2016-10-26T04:37:51.531Z], OS[Mac OS X/10.11.6/x86_64], JVM[Oracle Corporation/Java HotSpot(TM) 64-Bit Server VM/1.8.0_101/25.101-b13]
2016-11-08 04:14:07,434 rally.launcher INFO rally-node0: [2016-11-07T20:14:07,434][INFO ][o.e.p.PluginsService ] [rally-node0] loaded module [aggs-matrix-stats]
2016-11-08 04:14:07,434 rally.launcher INFO rally-node0: [2016-11-07T20:14:07,434][INFO ][o.e.p.PluginsService ] [rally-node0] loaded module [ingest-common]
2016-11-08 04:14:07,435 rally.launcher INFO rally-node0: [2016-11-07T20:14:07,434][INFO ][o.e.p.PluginsService ] [rally-node0] loaded module [lang-expression]
2016-11-08 04:14:07,435 rally.launcher INFO rally-node0: [2016-11-07T20:14:07,434][INFO ][o.e.p.PluginsService ] [rally-node0] loaded module [lang-groovy]
2016-11-08 04:14:07,435 rally.launcher INFO rally-node0: [2016-11-07T20:14:07,434][INFO ][o.e.p.PluginsService ] [rally-node0] loaded module [lang-mustache]
2016-11-08 04:14:07,435 rally.launcher INFO rally-node0: [2016-11-07T20:14:07,435][INFO ][o.e.p.PluginsService ] [rally-node0] loaded module [lang-painless]
2016-11-08 04:14:07,435 rally.launcher INFO rally-node0: [2016-11-07T20:14:07,435][INFO ][o.e.p.PluginsService ] [rally-node0] loaded module [percolator]
2016-11-08 04:14:07,435 rally.launcher INFO rally-node0: [2016-11-07T20:14:07,435][INFO ][o.e.p.PluginsService ] [rally-node0] loaded module [reindex]
2016-11-08 04:14:07,435 rally.launcher INFO rally-node0: [2016-11-07T20:14:07,435][INFO ][o.e.p.PluginsService ] [rally-node0] loaded module [transport-netty3]
2016-11-08 04:14:07,435 rally.launcher INFO rally-node0: [2016-11-07T20:14:07,435][INFO ][o.e.p.PluginsService ] [rally-node0] loaded module [transport-netty4]
2016-11-08 04:14:07,436 rally.launcher INFO rally-node0: [2016-11-07T20:14:07,436][INFO ][o.e.p.PluginsService ] [rally-node0] no plugins loaded
2016-11-08 04:14:09,810 rally.launcher INFO rally-node0: [2016-11-07T20:14:09,810][INFO ][o.e.n.Node ] [rally-node0] initialized
2016-11-08 04:14:09,810 rally.launcher INFO rally-node0: [2016-11-07T20:14:09,810][INFO ][o.e.n.Node ] [rally-node0] starting ...
2016-11-08 04:14:10,5 rally.launcher INFO rally-node0: [2016-11-07T20:14:10,005][INFO ][o.e.t.TransportService ] [rally-node0] publish_address {127.0.0.1:39300}, bound_addresses {[fe80::1]:39300}, {[::1]:39300}, {127.0.0.1:39300}
2016-11-08 04:14:13,126 rally.launcher INFO rally-node0: [2016-11-07T20:14:13,123][INFO ][o.e.c.s.ClusterService ] [rally-node0] new_master {rally-node0}{GZDti0rPQbCHs3xzHi3oiQ}{2uG0FzS3Ri2u81SF8y9ovA}{127.0.0.1}{127.0.0.1:39300}, reason: zen-disco-elected-as-master ([0] nodes joined)
2016-11-08 04:14:13,159 rally.launcher INFO rally-node0: [2016-11-07T20:14:13,159][INFO ][o.e.g.GatewayService ] [rally-node0] recovered [0] indices into cluster_state
2016-11-08 04:14:13,164 rally.launcher INFO rally-node0: [2016-11-07T20:14:13,164][INFO ][o.e.h.HttpServer ] [rally-node0] publish_address {127.0.0.1:39200}, bound_addresses {[fe80::1]:39200}, {[::1]:39200}, {127.0.0.1:39200}
2016-11-08 04:14:13,164 rally.launcher INFO rally-node0: [2016-11-07T20:14:13,164][INFO ][o.e.n.Node ] [rally-node0] started
2016-11-08 04:14:13,164 rally.launcher INFO [rally-node0] has successfully started.
2016-11-08 04:14:13,164 rally.launcher INFO Started node=rally-node0 with pid=37152
2016-11-08 04:14:13,951 rally.track INFO Checking out [5] in [/Users/jwebster/.rally/benchmarks/tracks/default] for distribution version [5.0.0].
2016-11-08 04:14:13,984 rally.track INFO Rebasing on [5] in [/Users/jwebster/.rally/benchmarks/tracks/default] for distribution version [5.0.0].
2016-11-08 04:14:14,188 rally.track INFO Reading track specification file [/Users/jwebster/.rally/benchmarks/tracks/default/tiny/track.json].
2016-11-08 04:14:14,196 rally.track INFO Final rendered track for '/Users/jwebster/.rally/benchmarks/tracks/default/tiny/track.json': {
"meta": {
"short-description": "First 2k documents of the geonames track for local tests",
"description": "This test indexes 8.6M documents (POIs from Geonames, total 2.8 GB json) using 8 client threads and 5000 docs per bulk request against Elasticsearch",
"data-url": "http://benchmarks.elasticsearch.org.s3.amazonaws.com/corpora/tiny"
},
"indices": [
{
"name": "tiny",
"types": [
{
"#COMMENT#": "Allow generators here - how do we run the generator (i.e. arbitrary Python code)?",
"name": "type",
"mapping": "mappings.json",
"documents": "documents.json.bz2",
"document-count": 2000,
"compressed-bytes": 28333,
"uncompressed-bytes": 564930
}
]
}
],
"#COMMENT": "'operations' just define all possible operations but this is not the actual execution schedule. The execution is defined in the 'challenges' block and it just refers to the defined operations. The intention between this separation is to allow reuse of operations",
"operations": [
{
"name": "index-append",
"operation-type": "index",
"bulk-size": 200
},
{
"name": "index-update",
"operation-type": "index",
"bulk-size": 200,
"conflicts": "random"
},
{
"name": "force-merge",
"operation-type": "force-merge"
},
{
"name": "index-stats",
"operation-type": "index-stats"
},
{
"name": "node-stats",
"operation-type": "node-stats"
},
{
"name": "default",
"operation-type": "search",
"body": {
"query": {
"match_all": {}
}
}
},
{
"name": "term",
"operation-type": "search",
"param-source": "term-param-source",
"countries": ["AT", "DE", "CH"]
},
{
"name": "phrase",
"operation-type": "search",
"body": {
"query": {
"match_phrase": {
"name": "Sankt Georgen"
}
}
}
},
{
"name": "country_agg_uncached",
"operation-type": "search",
"cache": false,
"body": {
"size": 0,
"aggs": {
"country_population": {
"terms": {
"field": "country_code"
},
"aggs": {
"sum_population": {
"sum": {
"field": "population"
}
}
}
}
}
}
},
{
"name": "country_agg_cached",
"operation-type": "search",
"cache": true,
"body": {
"size": 0,
"aggs": {
"country_population": {
"terms": {
"field": "country_code"
},
"aggs": {
"sum_population": {
"sum": {
"field": "population"
}
}
}
}
}
}
},
{
"name": "scroll",
"operation-type": "search",
"pages": 25,
"results-per-page": 10,
"body": {
"query": {
"match_all": {}
}
}
},
{
"name": "expression",
"operation-type": "search",
"body": {
"query": {
"function_score": {
"query": {
"match_all": {}
},
"functions": [
{
"script_score": {
"script": {
"inline": "(ln(abs(doc['population'])) + doc['elevation'] + doc['latitude']) * _score",
"lang": "expression"
}
}
}
]
}
}
}
},
{
"name": "painless_static",
"operation-type": "search",
"body": {
"query": {
"function_score": {
"query": {
"match_all": {}
},
"functions": [
{
"script_score": {
"script": {
"inline": "(Math.log(Math.abs((int)((List)doc.population).get(0))) + (double)((List)doc.elevation).get(0) * (double)((List)doc.latitude).get(0))/_score",
"lang": "painless"
}
}
}
]
}
}
}
},
{
"name": "painless_dynamic",
"operation-type": "search",
"body": {
"query": {
"function_score": {
"query": {
"match_all": {}
},
"functions": [
{
"script_score": {
"script": {
"inline": "(Math.log(Math.abs(doc['population'].value)) + doc['elevation'].value * doc['latitude'].value)/_score",
"lang": "painless"
}
}
}
]
}
}
}
}
],
"challenges": [
{
"name": "append-no-conflicts",
"description": "Indexes the whole document corpus using Elasticsearch default settings. We only adjust the number of replicas as we benchmark a single node cluster and Rally will only start the benchmark if the cluster turns green. Document ids are unique so all index operations are append only. After that a couple of queries are run.",
"index-settings": {
"index.number_of_replicas": 0
},
"schedule": [
{
"operation": "index-append",
"warmup-time-period": 0,
"clients": 8
},
{
"operation": "force-merge",
"clients": 1
},
{
"operation": "index-stats",
"clients": 1,
"warmup-iterations": 50,
"iterations": 100,
"target-throughput": 100
},
{
"operation": "node-stats",
"clients": 1,
"warmup-iterations": 10,
"iterations": 100,
"target-throughput": 100
},
{
"operation": "default",
"clients": 1,
"warmup-iterations": 50,
"iterations": 100,
"target-throughput": 50
},
{
"operation": "term",
"clients": 1,
"warmup-iterations": 50,
"iterations": 100,
"target-throughput": 200
},
{
"operation": "phrase",
"clients": 1,
"warmup-iterations": 50,
"iterations": 100,
"target-throughput": 200
},
{
"operation": "country_agg_uncached",
"clients": 1,
"warmup-iterations": 50,
"iterations": 100,
"target-throughput": 50
},
{
"operation": "country_agg_cached",
"clients": 1,
"warmup-iterations": 50,
"iterations": 100,
"target-throughput": 100
},
{
"operation": "scroll",
"clients": 1,
"warmup-iterations": 50,
"iterations": 100,
"target-throughput": 50
},
{
"operation": "expression",
"clients": 1,
"warmup-iterations": 50,
"iterations": 100,
"target-throughput": 20
},
{
"operation": "painless_static",
"clients": 1,
"warmup-iterations": 50,
"iterations": 100,
"target-throughput": 20
},
{
"operation": "painless_dynamic",
"clients": 1,
"warmup-iterations": 50,
"iterations": 100,
"target-throughput": 20
}
]
},
{
"name": "append-no-conflicts-index-only",
"description": "Indexes the whole document corpus using Elasticsearch default settings. We only adjust the number of replicas as we benchmark a single node cluster and Rally will only start the benchmark if the cluster turns green. Document ids are unique so all index operations are append only.",
"index-settings": {
"index.number_of_replicas": 0
},
"schedule": [
{
"operation": "index-append",
"warmup-time-period": 0,
"clients": 8
},
{
"operation": "force-merge",
"clients": 1
}
]
},
{
"name": "append-fast-no-conflicts",
"description": "Indexes the whole document corpus using a setup that will lead to a larger indexing throughput than the default settings. Document ids are unique so all index operations are append only.",
"index-settings": {
"index.number_of_replicas": 0,
"index.refresh_interval": "30s",
"index.number_of_shards": 6,
"index.translog.flush_threshold_size": "4g"
},
"schedule": [
{
"operation": "index-append",
"warmup-time-period": 0,
"clients": 8
},
{
"operation": "force-merge",
"clients": 1
}
]
},
{
"name": "append-fast-with-conflicts",
"description": "Indexes the whole document corpus using a setup that will lead to a larger indexing throughput than the default settings. Rally will produce duplicate ids in 25% of all documents (not configurable) so we can simulate a scenario with appends most of the time and some updates in between.",
"index-settings": {
"index.number_of_replicas": 0,
"index.refresh_interval": "30s",
"index.number_of_shards": 6,
"index.translog.flush_threshold_size": "4g"
},
"schedule": [
{
"operation": "index-update",
"warmup-time-period": 0,
"clients": 8
},
{
"operation": "force-merge",
"clients": 1
}
]
}
]
}
2016-11-08 04:14:14,207 rally.metrics INFO Creating ES race store
2016-11-08 04:14:14,207 rally.metrics INFO Creating connection to metrics store at localhost:9200
2016-11-08 04:14:14,256 elasticsearch WARNING POST /rally-2016/races?op_type=create [status:400 request:0.008s]
2016-11-08 04:14:14,256 root ERROR Cannot run subcommand [race].
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/esrally/racecontrol.py", line 215, in run
pipeline(cfg)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/esrally/racecontrol.py", line 43, in __call__
self.target(cfg)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/esrally/racecontrol.py", line 159, in from_distribution
return race(Benchmark(cfg, mechanic.create(cfg, metrics_store, distribution=True), metrics_store), cfg)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/esrally/racecontrol.py", line 135, in race
benchmark.setup()
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/esrally/racecontrol.py", line 59, in setup
metrics.race_store(self.cfg).store_race(self.track)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/esrally/metrics.py", line 804, in store_race
self.client.index(index_name(trial_timestamp), EsRaceStore.RACE_DOC_TYPE, doc)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/esrally/metrics.py", line 47, in index
self.guarded(self._client.create, index=index, doc_type=doc_type, body=item)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/esrally/metrics.py", line 54, in guarded
return target(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/elasticsearch/client/utils.py", line 69, in _wrapped
return func(*args, params=params, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/elasticsearch/client/__init__.py", line 248, in create
return self.index(index, doc_type, body, id=id, params=params, op_type='create')
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/elasticsearch/client/utils.py", line 69, in _wrapped
return func(*args, params=params, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/elasticsearch/client/__init__.py", line 279, in index
_make_path(index, doc_type, id), params=params, body=body)
File "/Library/Frameworks/Python.framework/Versions/3.5/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 "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/elasticsearch/connection/http_urllib3.py", line 109, in perform_request
self._raise_error(response.status, raw_data)
File "/Library/Frameworks/Python.framework/Versions/3.5/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, 'action_request_validation_exception', 'Validation Failed: 1: an id must be provided if version type or value are set;')
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/esrally/rally.py", line 453, in dispatch_sub_command
racecontrol.run(cfg)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/esrally/racecontrol.py", line 221, in run
raise exceptions.RallyError("This race ended with a fatal crash.").with_traceback(tb)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/esrally/racecontrol.py", line 215, in run
pipeline(cfg)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/esrally/racecontrol.py", line 43, in __call__
self.target(cfg)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/esrally/racecontrol.py", line 159, in from_distribution
return race(Benchmark(cfg, mechanic.create(cfg, metrics_store, distribution=True), metrics_store), cfg)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/esrally/racecontrol.py", line 135, in race
benchmark.setup()
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/esrally/racecontrol.py", line 59, in setup
metrics.race_store(self.cfg).store_race(self.track)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/esrally/metrics.py", line 804, in store_race
self.client.index(index_name(trial_timestamp), EsRaceStore.RACE_DOC_TYPE, doc)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/esrally/metrics.py", line 47, in index
self.guarded(self._client.create, index=index, doc_type=doc_type, body=item)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/esrally/metrics.py", line 54, in guarded
return target(*args, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/elasticsearch/client/utils.py", line 69, in _wrapped
return func(*args, params=params, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/elasticsearch/client/__init__.py", line 248, in create
return self.index(index, doc_type, body, id=id, params=params, op_type='create')
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/elasticsearch/client/utils.py", line 69, in _wrapped
return func(*args, params=params, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/elasticsearch/client/__init__.py", line 279, in index
_make_path(index, doc_type, id), params=params, body=body)
File "/Library/Frameworks/Python.framework/Versions/3.5/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 "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/elasticsearch/connection/http_urllib3.py", line 109, in perform_request
self._raise_error(response.status, raw_data)
File "/Library/Frameworks/Python.framework/Versions/3.5/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)
esrally.exceptions.RallyError: This race ended with a fatal crash.
2016-11-08 04:14:14,270 rally.main INFO Attempting to shutdown internal actor system.
2016-11-08 04:14:14,349 rally.main INFO Shutdown completed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment