esrally: 1.2.1
elasticesearch: 7.0.1
challenges/default.json
{
"name": "test",
"description": "Test one operations",
"schedule": [
{
"operation": "route-email-update",
"clients": {{bulk_indexing_clients| default(8) }},
"warmup-iterations": 0,
"iterations": 10
}
]
}
operations/default.json
{
"name": "route-email-update",
"operation-type": "update_label",
"batch": 1,
"index": "jl_email_route_0",
"mid_fname": "route_message_list.txt",
"routing": true
}
When run:
esrally race --pipeline=benchmark-only --target-hosts=127.0.0.1:9200 --track-path=/email_track --challenge=test --track-params="bulk_indexing_clients:2"
Got error:
Some of your track parameter(s) "bulk_indexing_clients" are not used by this track; perhaps you intend to use instead.
All track parameters you provided are:
- bulk_indexing_clients
All parameters exposed by this track:
[ERROR] Cannot race. Error in race control (("Unused track parameters ['bulk_indexing_clients'].", None))
rally.log
2019-10-23 17:21:30,952 ActorAddr-(T|:1900)/PID:69371 esrally.actor INFO Capabilities [{'coordinator': True, 'ip': '127.0.0.1', 'Convention Address.IPv4': '127.0.0.1:1900', 'Thespian ActorSystem Name': 'multiprocTCPBase', 'Thespian ActorSystem Version': 2, 'Thespian Watch Supported': True, 'Python Version': (3, 7, 3, 'final', 0), 'Thespian Generation': (3, 9), 'Thespian Version': '1571851290889'}] match requirements [{'coordinator': True}].
2019-10-23 17:21:30,953 ActorAddr-(T|:1900)/PID:69371 esrally.actor INFO Capabilities [{'coordinator': True, 'ip': '127.0.0.1', 'Convention Address.IPv4': '127.0.0.1:1900', 'Thespian ActorSystem Name': 'multiprocTCPBase', 'Thespian ActorSystem Version': 2, 'Thespian Watch Supported': True, 'Python Version': (3, 7, 3, 'final', 0), 'Thespian Generation': (3, 9), 'Thespian Version': '1571851290889'}] match requirements [{'coordinator': True}].
2019-10-23 17:21:31,68 -not-actor-/PID:69366 esrally.racecontrol ERROR A benchmark failure has occurred
...
2019-10-23 17:21:31,57 ActorAddr-(T|:50908)/PID:69373 esrally.track.loader INFO Using user-provided operation type [build_email] for operation [route-email-append].
2019-10-23 17:21:31,58 ActorAddr-(T|:50908)/PID:69373 esrally.track.loader INFO Using user-provided operation type [update_label] for operation [route-email-update].
2019-10-23 17:21:31,58 ActorAddr-(T|:50908)/PID:69373 esrally.track.loader INFO Using user-provided operation type [build_email] for operation [noroute-email-append].
2019-10-23 17:21:31,58 ActorAddr-(T|:50908)/PID:69373 esrally.track.loader INFO Using user-provided operation type [update_label] for operation [noroute-email-update].
2019-10-23 17:21:31,59 ActorAddr-(T|:50908)/PID:69373 esrally.track.loader CRITICAL Some of your track parameter(s) "bulk_indexing_clients" are not used by this track; perhaps you intend to use instead.All track parameters you provided are:
- bulk_indexing_clients
All parameters exposed by this track:
2019-10-23 17:21:31,60 ActorAddr-(T|:50908)/PID:69373 esrally.track.loader ERROR Cannot load track [email_track]
Traceback (most recent call last):File "/usr/local/lib/python3.7/site-packages/esrally/track/loader.py", line 100, in load_track
current_track = reader.read(track_name, repo.track_file(track_name), track_dir)File "/usr/local/lib/python3.7/site-packages/esrally/track/loader.py", line 834, in read
"Unused track parameters {}.".format(sorted(unused_user_defined_track_params))esrally.exceptions.TrackConfigError: ("Unused track parameters ['bulk_indexing_clients'].", None)
2019-10-23 17:21:31,63 ActorAddr-(T|:50908)/PID:69373 esrally.actor ERROR Error in race control
Traceback (most recent call last):File "/usr/local/lib/python3.7/site-packages/esrally/actor.py", line 84, in guard
return f(self, msg, sender)File "/usr/local/lib/python3.7/site-packages/esrally/racecontrol.py", line 120, in receiveMsg_Setup
self.setup(msg, sender)File "/usr/local/lib/python3.7/site-packages/esrally/racecontrol.py", line 210, in setup
t = track.load_track(self.cfg)File "/usr/local/lib/python3.7/site-packages/esrally/track/loader.py", line 100, in load_track
current_track = reader.read(track_name, repo.track_file(track_name), track_dir)File "/usr/local/lib/python3.7/site-packages/esrally/track/loader.py", line 834, in read
"Unused track parameters {}.".format(sorted(unused_user_defined_track_params))esrally.exceptions.TrackConfigError: ("Unused track parameters ['bulk_indexing_clients'].", None)
2019-10-23 17:21:31,70 ActorAddr-(T|:50908)/PID:69373 esrally.actor INFO BenchmarkActor received unknown message [ActorExitRequest] (ignoring).
2019-10-23 17:21:34,72 -not-actor-/PID:69366 esrally.rally INFO Attempting to shutdown internal actor system.
2019-10-23 17:21:34,77 -not-actor-/PID:69372 root INFO ActorSystem Logging Shutdown
2019-10-23 17:21:34,100 -not-actor-/PID:69371 root INFO ---- Actor System shutdown
2019-10-23 17:21:34,101 -not-actor-/PID:69366 esrally.rally INFO Actor system is still running. Waiting...
2019-10-23 17:21:35,105 -not-actor-/PID:69366 esrally.rally INFO Shutdown completed.
2019-10-23 17:21:35,106 -not-actor-/PID:69366 esrally.rally ERROR Cannot run subcommand [race].
Traceback (most recent call last):
File "/usr/local/lib/python3.7/site-packages/esrally/rally.py", line 514, in dispatch_sub_command
race(cfg)
File "/usr/local/lib/python3.7/site-packages/esrally/rally.py", line 432, in race
with_actor_system(lambda c: racecontrol.run(c), cfg)
File "/usr/local/lib/python3.7/site-packages/esrally/rally.py", line 460, in with_actor_system
runnable(cfg)
File "/usr/local/lib/python3.7/site-packages/esrally/rally.py", line 432, in
with_actor_system(lambda c: racecontrol.run(c), cfg)
File "/usr/local/lib/python3.7/site-packages/esrally/racecontrol.py", line 427, in run
raise e
File "/usr/local/lib/python3.7/site-packages/esrally/racecontrol.py", line 424, in run
pipeline(cfg)
File "/usr/local/lib/python3.7/site-packages/esrally/racecontrol.py", line 79, in call
self.target(cfg)
File "/usr/local/lib/python3.7/site-packages/esrally/racecontrol.py", line 352, in benchmark_only
return race(cfg, external=True)
File "/usr/local/lib/python3.7/site-packages/esrally/racecontrol.py", line 304, in race
raise exceptions.RallyError(result.message, result.cause)
esrally.exceptions.RallyError: ('Error in race control (("Unused track parameters ['bulk_indexing_clients'].", None))', None)