The last several lines of the log "~/.rally/logs/rally.log":
2021-10-31 17:03:54,889 ActorAddr-(T|:37489)/PID:124618 esrally.actor INFO Cluster consisting of [{'host': '127.0.0.1', 'port': 39200}] will be provisioned by Rally.
2021-10-31 17:03:54,890 ActorAddr-(T|:37489)/PID:124618 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, 9, 5, 'final', 0), 'Thespian Generation': (3, 9), 'Thespian Version': '1635699831468'}] match requirements [{}].
2021-10-31 17:03:54,905 ActorAddr-(T|:44235)/PID:124638 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, 9, 5, 'final', 0), 'Thespian Generation': (3, 9), 'Thespian Version': '1635699831468'}] match requirements [{'coordinator': True}].
The console output is:
[INFO] Preparing for race ...
I tried using 7.0.0 and it can complete successfully. Moreover, if I tried using version "7.15.1", it will report 'Cannot download Elasticsearch distribution from [https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-oss
-7.15.1-linux-x86_64.tar.gz]. Please check that the specified version [7.15.1] is correct.' Where can I get the latest support Elasticsearch version?
There is no OSS distribution anymore, the last one was 7.10.2, for any version above that you will need to use the elastic distribution with the elastic license.
Thanks a lot for the information. Then can I use the latest Elasticsearch(8.0.0 or above)? I tried using the 8.0.0-alpha, the Elasticsearch could be downloaded successfully, but the esrally will always hang. Does anyone know the reason of the issue? How can I solve it?
Because of changes to the distribution naming schemes we had to update some code somewhere in the Rally 2.x era. I highly recommend you update to our latest version, esrally==2.3.0
Thank you very much. The latest esrally seems to work normally now.
I'm trying to optimize the Elasticsearch. Is there anyway to make esrally to use my developping Elasticsearch?
You mean you're making changes to Elasticsearch and want to benchmark them?
Rally can build Elasticsearch for you. It clones it in src.root.dir (the default is “~/.rally/benchmarks/src” but you can change that value in rally.ini).
Then, when running a benchmark you can specify the git revision, which allows to compare commits.
Can you please open a new topic if you have further questions?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.