I configured ESrally with my ElasticSearch. The problem I have is I am unable to run the race command as mentioned here - https://esrally.readthedocs.io/en/stable/race.html
The log says that I am using git 1.8, but I am clearly using git 1.9
[anuj@es-perf-01 benchmarks]$ sudo esrally --distribution-version=6.0.0 --track=geopoint --challenge=append-fast-with-conflicts
____ ____
/ __ ____ / / / __
/ // / __ `/ / / / / /
/ , / // / / / // /
// ||_,///_, /
/____/
[INFO] Writing logs to /root/.rally/logs/rally_out_20180424T132621Z.log
[WARNING] Could not terminate all internal processes within timeout. Please check and force-terminate all Rally processes.
[ERROR] Cannot race. Got an unexpected result during benchmarking: [Poison<<esrally.racecontrol.Setup object at 0x7f623c2e2d30>>: Traceback (most recent call last):
File "/usr/lib/python3.4/site-packages/thespian/system/actorManager.py", line 155, in _handleOneMessage
actor_result = self.actorInst.receiveMessage(msg, envelope.sender)
File "/usr/lib/python3.4/site-packages/thespian/actors.py", line 838, in receiveMessage
r = getattr(klass, methodName)(self, message, sender)
File "/usr/lib/python3.4/site-packages/esrally/racecontrol.py", line 104, in receiveMsg_Setup
self.setup(msg, sender)
File "/usr/lib/python3.4/site-packages/esrally/racecontrol.py", line 185, in setup
t = track.load_track(self.cfg)
File "/usr/lib/python3.4/site-packages/esrally/track/loader.py", line 65, in load_track
repo = track_repo(cfg)
File "/usr/lib/python3.4/site-packages/esrally/track/loader.py", line 135, in track_repo
return GitTrackRepository(cfg, fetch, update)
File "/usr/lib/python3.4/site-packages/esrally/track/loader.py", line 170, in init
self.repo = repo_class(remote_url, tracks_dir, repo_name, "tracks", offline, fetch)
File "/usr/lib/python3.4/site-packages/esrally/utils/repo.py", line 29, in init
git.fetch(src=self.repo_dir)
File "/usr/lib/python3.4/site-packages/esrally/utils/git.py", line 18, in probe
raise exceptions.SystemSetupError("Your git version is [%s] but Rally requires at least git 1.9. Please update git." % version)
esrally.exceptions.SystemSetupError: ("Your git version is [['git version 1.8.3.1']] but Rally requires at least git 1.9. Please update git.", None)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.4/site-packages/thespian/system/actorManager.py", line 170, in _handleOneMessage
actor_result = self.actorInst.receiveMessage(copy.deepcopy(msg), envelope.sender)
File "/usr/lib/python3.4/site-packages/thespian/actors.py", line 838, in receiveMessage
r = getattr(klass, methodName)(self, message, sender)
File "/usr/lib/python3.4/site-packages/esrally/racecontrol.py", line 104, in receiveMsg_Setup
self.setup(msg, sender)
File "/usr/lib/python3.4/site-packages/esrally/racecontrol.py", line 185, in setup
t = track.load_track(self.cfg)
File "/usr/lib/python3.4/site-packages/esrally/track/loader.py", line 65, in load_track
repo = track_repo(cfg)
File "/usr/lib/python3.4/site-packages/esrally/track/loader.py", line 135, in track_repo
return GitTrackRepository(cfg, fetch, update)
File "/usr/lib/python3.4/site-packages/esrally/track/loader.py", line 170, in init
self.repo = repo_class(remote_url, tracks_dir, repo_name, "tracks", offline, fetch)
File "/usr/lib/python3.4/site-packages/esrally/utils/repo.py", line 29, in init
git.fetch(src=self.repo_dir)
File "/usr/lib/python3.4/site-packages/esrally/utils/git.py", line 18, in probe
raise exceptions.SystemSetupError("Your git version is [%s] but Rally requires at least git 1.9. Please update git." % version)
esrally.exceptions.SystemSetupError: ("Your git version is [['git version 1.8.3.1']] but Rally requires at least git 1.9. Please update git.", None)
].
Getting further help:
- Check the log files in /root/.rally/logs for errors.
- Read the documentation at https://esrally.readthedocs.io/en/0.10.1/
- Ask a question on the forum at https://discuss.elastic.co/c/elasticsearch/rally
- Raise an issue at https://github.com/elastic/rally/issues and include the log files in /root/.rally/logs.
[INFO] FAILURE (took 26 seconds)
[anuj@es-perf-01 benchmarks]$ git --version
git version 1.9.5
[anuj@es-perf-01 benchmarks]$