-
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
Esrally command broken on Windows because of invalid default logging configuration #532
Comments
Thank you for your interest in Rally @michardy! At the moment, Rally only works on Unix. We do mention it in the docs but I see that we missed to state this clearly in the README as well. That does not mean though that you cannot benchmark an Elasticsearch cluster running on Windows. It is just the machine where Rally is installed (which generates the load) needs to run on Unix. As an immediate measure, we will ensure that the operating system requirements are stated clearly in the README. But we might look into Windows support only at a later point in time. |
@danielmitterdorfer, @michardy, The culprits in this JSON file are the two places for filename under
def install_default_log_config():
and replace it with this block
def install_default_log_config():
What do you mean? |
Ok, think I get it, now are next difficulties with tracks, after fixing this, there were errors finding the templates. So it seems there is gonna be a lot to do to fix this... |
@littlesnitch thanks for looking into this. Apart from what you found out, there are other problems on Windows as well. I am specifically thinking of the internal communication between Rally components. As you can distribute Rally, e.g. to support use-cases that require to generate load from multiple machines, we use an actor system internally. I did some tests a while ago and ran into all sorts of stability issues with it. We will likely do something about this in the mid-term but this will require quite a few changes. |
Ok, thank you for you answer. I understand. |
Rally version (get with
esrally --version
):Latest? (esrally --version fails)
Invoked command:
any esrally command (for example esrally configure)
Configuration file (located in
~/.rally/rally.ini
)):Not yet created
JVM version:
1.8
OS version:
Windows 10 Pro version 1803
Description of the problem including expected versus actual behavior:
The esrally command fails to run due to invalid escape in
%userprofile%\.rally\logging.json
on line 23. This error occurs because esrally attempts to mix Windows and Linux paths and does not escape the\
in Windows paths. Ideally the generated logging.json should use the local systems path separator and properly escape it.Steps to reproduce:
c:\Program Files\Python36\Scripts
.\pip install esrally
.\esrally configure
(or any other esrally command)Provide logs (if relevant):
Line 23 reads as follows:
"filename": "C:\Users\mhardy\.rally\logs/rally.log",
The text was updated successfully, but these errors were encountered: