-
Notifications
You must be signed in to change notification settings - Fork 313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow to benchmark Elasticsearch with and without x-pack #485
Allow to benchmark Elasticsearch with and without x-pack #485
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Stellar work as usual. LGTM.
esrally/mechanic/supplier.py
Outdated
try: | ||
return self.car.variables[k] | ||
except KeyError: | ||
raise exceptions.SystemSetupError("Car '{}' misses config variable '{}' to build Elasticsearch.".format(self.car, k)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe is missing
is clearer here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agreed. I changed it.
logger.debug("Component [%s] in config [%s] has no hook registered for phase [%s].", | ||
self.component.name, self.component.config, phase) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Newline missing as pointed by GitHub
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed.
# this should *always* be overridden by the car definition (config base | ||
# variables take least precedence) | ||
heap_size=0 | ||
clean_command=./gradlew clean |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same newline missing comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
@@ -0,0 +1,2 @@ | |||
[variables] | |||
verbose_logging=true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same newline missing comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed
logger.debug("Component [%s] in config [%s] has no hook registered for phase [%s].", | ||
self.component.name, self.component.config, phase) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Newline missing here
With this commit we replace all usages of `assert_not_called` with asserts that assert for a zero call_count. The reason is that `assert_not_called` has only beeen introduced in Python 3.5 but we also support (and test) Python 3.4.
x-pack, which has been previously implemented as a (closed-source) plugin, has
been recently opened. During that process, x-pack turned from a plugin into a
core module of Elasticsearch. Furthermore, there are now two distributions:
This has several implications on our benchmarks as well. With this commit we
implement the following changes:
plugin anymore). Strictly speaking, this change has happened in rally-teams
because Rally does not know about individual plugins.
(previously this was only possible for plugins). One restriction is that we only
allow to load one bootstrap handler.