Here is my rally.ini:
# cat /root/.rally/rally.ini
[meta]
config.version = 6
[system]
root.dir = /root/.rally/benchmarks
log.root.dir = logs
env.name = local
[provisioning]
local.install.dir = install
[runtime]
java8.home = /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.111-1.b15.25.amzn1.x86_64
[benchmarks]
local.dataset.cache = ${system:root.dir}/data
[reporting]
datastore.type = in-memory
datastore.host =
datastore.port =
datastore.secure =
datastore.user =
datastore.password =
[tracks]
default.url = https://github.com/elastic/rally-tracks
[defaults]
preserve_benchmark_candidate = False
Here is the output of the esrally configure command:
# esrally configure
____ ____
/ __ \____ _/ / /_ __
/ /_/ / __ `/ / / / / /
/ _, _/ /_/ / / / /_/ /
/_/ |_|\__,_/_/_/\__, /
/____/
Running simple configuration. You can run the advanced configuration with:
esrally configure --advanced-config
[✓] Autodetecting available third-party software
which: no gradle in (/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/opt/aws/bin)
git : [✓]
gradle : [✕]
JDK 8 : [✕] (You cannot benchmark Elasticsearch 5.x without a JDK 8 installation)
**********************************************************************************
You don't have the necessary software to benchmark source builds of Elasticsearch.
You can still benchmark binary distributions with e.g.:
esrally --pipeline=from-distribution --distribution-version=5.0.0-alpha5
See https://esrally.readthedocs.io/en/latest/pipelines.html#from-distribution
**********************************************************************************
[✓] Setting up benchmark data directory in [/root/.rally/benchmarks] (needs several GB).
Enter the JDK 8 root directory:: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.111-1.b15.25.amzn1.x86_64
[✓] Configuration successfully written to [/root/.rally/rally.ini]. Happy benchmarking!
To benchmark Elasticsearch 5.0.0-alpha2 with the default benchmark run:
esrally --pipeline=from-distribution --distribution-version=5.0.0-alpha2
For help, type esrally --help or see the user documentation at https://esrally.readthedocs.io
So the command that I was running that got the error is:
But the command that I SHOULD be running (by looking at the configure output) is:
And when I run THAT command it gets much much further. I get this error:
Ah, so I can't be root, so I switch back to ec2-user and re-run the command (I run esrally configure for ec2-user and the rally.ini file looks the same as roots)
Now I get this error when running:
2016-11-04 11:12:04,711 rally.launcher INFO ES launch: ['bin/elasticsearch', '-Enode.name=rally-node0', '-Epath.logs=/home/ec2-user/.rally/benchmarks/races/2016-11-04-11-11-51/local/logs/geonames/append-no-conflicts/server']
2016-11-04 11:12:04,961 rally.launcher INFO rally-node0: starts elasticsearch
2016-11-04 11:12:04,961 rally.launcher INFO rally-node0:
2016-11-04 11:12:04,999 rally.launcher INFO rally-node0: Option Description
2016-11-04 11:12:04,999 rally.launcher INFO rally-node0: ------ -----------
2016-11-04 11:12:04,999 rally.launcher INFO rally-node0: -E <KeyValuePair> Configure an Elasticsearch setting
2016-11-04 11:12:04,999 rally.launcher INFO rally-node0: -V, --version Prints elasticsearch version
2016-11-04 11:12:04,999 rally.launcher INFO rally-node0: information and exits
2016-11-04 11:12:05,0 rally.launcher INFO rally-node0: -d, --daemonize Starts Elasticsearch in the background
2016-11-04 11:12:05,0 rally.launcher INFO rally-node0: -h, --help show help
2016-11-04 11:12:05,0 rally.launcher INFO rally-node0: -p, --pidfile Creates a pid file in the specified
2016-11-04 11:12:05,0 rally.launcher INFO rally-node0: path on start
2016-11-04 11:12:05,0 rally.launcher INFO rally-node0: -s, --silent show minimal output
2016-11-04 11:12:05,0 rally.launcher INFO rally-node0: -v, --verbose show verbose output
2016-11-04 11:12:05,0 rally.launcher INFO rally-node0: ERROR: Elasticsearch settings must be prefixed with [es.] but was [node.name]
2016-11-04 11:12:24,714 rally.launcher ERROR Could not start node 'rally-node0' within timeout period of 20.0 seconds.
I feel I'm so close. Any help will be appreciated.