Re: Control.sh usability & possible bugs

2019-08-27 Thread Alexey Goncharuk
The ticket is created, the patch is attached: https://issues.apache.org/jira/browse/IGNITE-12113 Also, I see some weird stuff going on in control.sh - I see no reason for calling findAvailableJmxPort, restart file, interactive mode and restart loop in the end. Looks like the script can be signific

Re: Control.sh usability & possible bugs

2019-08-27 Thread Alexey Goncharuk
Got to the bottom of the issue with empty output and no JAVA_HOME. The reason is the following line in bin/control.sh: javaMajorVersion "${JAVA_HOME}/bin/java" Since JAVA_HOME is empty, the argument passed to the function is invalid and terminates the script. I suggest to replace the "${JAVA_HOM

Re: Control.sh usability & possible bugs

2019-08-27 Thread Sergey Antonov
Hi everyone! Issue 3 fixed in master. In master control.sh now is: *> control.sh --help* Control utility [ver. 2.8.0-SNAPSHOT#20190827-sha1:DEV] 2019 Copyright(C) Apache Software Foundation User: santonov Time: 2019-08-27T18:22:45.023 Control utility script is used to execute admin commands on cl

Re: Control.sh usability & possible bugs

2019-08-27 Thread Alexey Goncharuk
Dmitriy, I confirm the first issue but did not get to the bottom of it yet; will keep you posted. вт, 27 авг. 2019 г. в 17:34, Dmitriy Pavlov : > Hi Artem, thank you for your reply. > > Since this change is on its way, let's wait for 2.8. > > > Petr Ivanov, Alexey Goncharuck, Ivan Rakov, could y

Re: Control.sh usability & possible bugs

2019-08-27 Thread Dmitriy Pavlov
Hi Artem, thank you for your reply. Since this change is on its way, let's wait for 2.8. Petr Ivanov, Alexey Goncharuck, Ivan Rakov, could you please step in and provide your feedback related to Issue 1 & 2? вт, 27 авг. 2019 г. в 17:30, Artem Budnikov : > Hi everyone, > > Re Issue 3: > > T

Re: Control.sh usability & possible bugs

2019-08-27 Thread Artem Budnikov
Hi everyone, Re Issue 3: That's a good idea, but as far as I remember this was done in https://jira.apache.org/jira/browse/IGNITE-10279 and is waiting to be released in Ignite 2.8. -Artem On 26.08.2019 15:18, Anton Kalashnikov wrote: Hello, Igniters. +1 for Script help usability - issue 3

Re: Control.sh usability & possible bugs

2019-08-26 Thread Anton Kalashnikov
Hello, Igniters. +1 for Script help usability - issue 3 Looks like it will be great if we avoid the repeated output of the commands, ex.: control.sh [--host HOST_OR_IP] [--port PORT] [--user USER] [--password PASSWORD] [--ping-interval PING_INTERVAL] [--ping-timeout PING_TIMEOUT] [] [--yes]