Some problem with execution ignite.bat in master

classic Classic list List threaded Threaded
15 messages Options
Reply | Threaded
Open this post in threaded view
|

Some problem with execution ignite.bat in master

ARomantsov
Hello, Igniters.

I'm testing some java keys with ignite.bat and notice that using more that
four keys lead to internal problem and ignite.bat ignoring them all.

So I created issue https://issues.apache.org/jira/browse/IGNITE-8837 and
investigated , below what i founded

1) inside file ignite.bat happen call bin/include/parseargs.bat with next
code to parse arguments
set convertArgsCmd="!JAVA_HOME!\bin\java.exe" -cp "%CP%"
org.apache.ignite.startup.cmdline.CommandLineTransformer %*

2) call of org.apache.ignite.startup.cmdline.CommandLineTransformer correct
parsing JVM arguments only if they count less five

3) This problem (2) easy fix by add to set in convertArgsCmd one of next
Java key ( -Dfile.encoding=IBM866 or -Dfile.encoding=UTF-8)

4) Like part of issue https://issues.apache.org/jira/browse/IGNITE-7135 it
already had fix (3) and included in Ignite 2.4

5) Unfortunately, when fix issue
https://issues.apache.org/jira/browse/IGNITE-898 that key was removed  and
that lead to problem in 2.5 , 2.6, master

What correct steps to back ignite.bat working correct on windows in master /
2.7? Both of ticket in (4) / (5) fix another problems , is correct to reopen
one of them?



--
Sent from: http://apache-ignite-developers.2346864.n4.nabble.com/
Reply | Threaded
Open this post in threaded view
|

Re: Some problem with execution ignite.bat in master

Dmitriy Pavlov
Hi Anton,

Do you have objections about a partial rollback of changes?

Sincerely,
Dmitriy Pavlov

пт, 24 авг. 2018 г. в 14:24, ARomantsov <[hidden email]>:

> Hello, Igniters.
>
> I'm testing some java keys with ignite.bat and notice that using more that
> four keys lead to internal problem and ignite.bat ignoring them all.
>
> So I created issue https://issues.apache.org/jira/browse/IGNITE-8837 and
> investigated , below what i founded
>
> 1) inside file ignite.bat happen call bin/include/parseargs.bat with next
> code to parse arguments
> set convertArgsCmd="!JAVA_HOME!\bin\java.exe" -cp "%CP%"
> org.apache.ignite.startup.cmdline.CommandLineTransformer %*
>
> 2) call of org.apache.ignite.startup.cmdline.CommandLineTransformer correct
> parsing JVM arguments only if they count less five
>
> 3) This problem (2) easy fix by add to set in convertArgsCmd one of next
> Java key ( -Dfile.encoding=IBM866 or -Dfile.encoding=UTF-8)
>
> 4) Like part of issue https://issues.apache.org/jira/browse/IGNITE-7135 it
> already had fix (3) and included in Ignite 2.4
>
> 5) Unfortunately, when fix issue
> https://issues.apache.org/jira/browse/IGNITE-898 that key was removed  and
> that lead to problem in 2.5 , 2.6, master
>
> What correct steps to back ignite.bat working correct on windows in master
> /
> 2.7? Both of ticket in (4) / (5) fix another problems , is correct to
> reopen
> one of them?
>
>
>
> --
> Sent from: http://apache-ignite-developers.2346864.n4.nabble.com/
>
Reply | Threaded
Open this post in threaded view
|

Re: Some problem with execution ignite.bat in master

Anton Vinogradov-2
Dmitry,
Not sure I understand the issue, but I see no reason to rollback anything.
In case we have some issues, let's just fix them.

сб, 25 авг. 2018 г. в 0:53, Dmitriy Pavlov <[hidden email]>:

> Hi Anton,
>
> Do you have objections about a partial rollback of changes?
>
> Sincerely,
> Dmitriy Pavlov
>
> пт, 24 авг. 2018 г. в 14:24, ARomantsov <[hidden email]>:
>
>> Hello, Igniters.
>>
>> I'm testing some java keys with ignite.bat and notice that using more that
>> four keys lead to internal problem and ignite.bat ignoring them all.
>>
>> So I created issue https://issues.apache.org/jira/browse/IGNITE-8837 and
>> investigated , below what i founded
>>
>> 1) inside file ignite.bat happen call bin/include/parseargs.bat with next
>> code to parse arguments
>> set convertArgsCmd="!JAVA_HOME!\bin\java.exe" -cp "%CP%"
>> org.apache.ignite.startup.cmdline.CommandLineTransformer %*
>>
>> 2) call of org.apache.ignite.startup.cmdline.CommandLineTransformer
>> correct
>> parsing JVM arguments only if they count less five
>>
>> 3) This problem (2) easy fix by add to set in convertArgsCmd one of next
>> Java key ( -Dfile.encoding=IBM866 or -Dfile.encoding=UTF-8)
>>
>> 4) Like part of issue https://issues.apache.org/jira/browse/IGNITE-7135
>> it
>> already had fix (3) and included in Ignite 2.4
>>
>> 5) Unfortunately, when fix issue
>> https://issues.apache.org/jira/browse/IGNITE-898 that key was removed
>> and
>> that lead to problem in 2.5 , 2.6, master
>>
>> What correct steps to back ignite.bat working correct on windows in
>> master /
>> 2.7? Both of ticket in (4) / (5) fix another problems , is correct to
>> reopen
>> one of them?
>>
>>
>>
>> --
>> Sent from: http://apache-ignite-developers.2346864.n4.nabble.com/
>>
>
Reply | Threaded
Open this post in threaded view
|

Re: Some problem with execution ignite.bat in master

Ilya Kasnacheev
Hello!

I have debugged this issue. It seems to be a JVM bug on Windows, where JVM
will silently fail to run program's main class:

java HelloWorld -v -J1 -J2 - works
java HelloWorld -v -J1 -J2 -J3 - fails
java -Dfile.encoding=UTF-8 HelloWorld -v -J1 -J2 -J3 - works
java -Dfile.encoding=UTF-8 HelloWorld -v -J1 -J2 -J3 -J4 - fails

It seems to be fixed on Java 11.

I don't think we should fix it (and can close the issue), but if we really
wanted we could replace -J with, let's say, -W
java HelloWorld -v -W1 -W2 -W3 -W4 works.

Regards,
--
Ilya Kasnacheev


пн, 27 авг. 2018 г. в 11:33, Anton Vinogradov <[hidden email]>:

> Dmitry,
> Not sure I understand the issue, but I see no reason to rollback anything.
> In case we have some issues, let's just fix them.
>
> сб, 25 авг. 2018 г. в 0:53, Dmitriy Pavlov <[hidden email]>:
>
> > Hi Anton,
> >
> > Do you have objections about a partial rollback of changes?
> >
> > Sincerely,
> > Dmitriy Pavlov
> >
> > пт, 24 авг. 2018 г. в 14:24, ARomantsov <[hidden email]>:
> >
> >> Hello, Igniters.
> >>
> >> I'm testing some java keys with ignite.bat and notice that using more
> that
> >> four keys lead to internal problem and ignite.bat ignoring them all.
> >>
> >> So I created issue https://issues.apache.org/jira/browse/IGNITE-8837
> and
> >> investigated , below what i founded
> >>
> >> 1) inside file ignite.bat happen call bin/include/parseargs.bat with
> next
> >> code to parse arguments
> >> set convertArgsCmd="!JAVA_HOME!\bin\java.exe" -cp "%CP%"
> >> org.apache.ignite.startup.cmdline.CommandLineTransformer %*
> >>
> >> 2) call of org.apache.ignite.startup.cmdline.CommandLineTransformer
> >> correct
> >> parsing JVM arguments only if they count less five
> >>
> >> 3) This problem (2) easy fix by add to set in convertArgsCmd one of next
> >> Java key ( -Dfile.encoding=IBM866 or -Dfile.encoding=UTF-8)
> >>
> >> 4) Like part of issue https://issues.apache.org/jira/browse/IGNITE-7135
> >> it
> >> already had fix (3) and included in Ignite 2.4
> >>
> >> 5) Unfortunately, when fix issue
> >> https://issues.apache.org/jira/browse/IGNITE-898 that key was removed
> >> and
> >> that lead to problem in 2.5 , 2.6, master
> >>
> >> What correct steps to back ignite.bat working correct on windows in
> >> master /
> >> 2.7? Both of ticket in (4) / (5) fix another problems , is correct to
> >> reopen
> >> one of them?
> >>
> >>
> >>
> >> --
> >> Sent from: http://apache-ignite-developers.2346864.n4.nabble.com/
> >>
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: Some problem with execution ignite.bat in master

dmagda
Ilya,

Why do we use -J in general? Is it used to pass a specific type of
parameters? I know -D or - X but can't recall what -J is supposed to be
used for.

--
Denis


On Thu, Dec 27, 2018 at 6:34 AM Ilya Kasnacheev <[hidden email]>
wrote:

> Hello!
>
> I have debugged this issue. It seems to be a JVM bug on Windows, where JVM
> will silently fail to run program's main class:
>
> java HelloWorld -v -J1 -J2 - works
> java HelloWorld -v -J1 -J2 -J3 - fails
> java -Dfile.encoding=UTF-8 HelloWorld -v -J1 -J2 -J3 - works
> java -Dfile.encoding=UTF-8 HelloWorld -v -J1 -J2 -J3 -J4 - fails
>
> It seems to be fixed on Java 11.
>
> I don't think we should fix it (and can close the issue), but if we really
> wanted we could replace -J with, let's say, -W
> java HelloWorld -v -W1 -W2 -W3 -W4 works.
>
> Regards,
> --
> Ilya Kasnacheev
>
>
> пн, 27 авг. 2018 г. в 11:33, Anton Vinogradov <[hidden email]>:
>
> > Dmitry,
> > Not sure I understand the issue, but I see no reason to rollback
> anything.
> > In case we have some issues, let's just fix them.
> >
> > сб, 25 авг. 2018 г. в 0:53, Dmitriy Pavlov <[hidden email]>:
> >
> > > Hi Anton,
> > >
> > > Do you have objections about a partial rollback of changes?
> > >
> > > Sincerely,
> > > Dmitriy Pavlov
> > >
> > > пт, 24 авг. 2018 г. в 14:24, ARomantsov <[hidden email]>:
> > >
> > >> Hello, Igniters.
> > >>
> > >> I'm testing some java keys with ignite.bat and notice that using more
> > that
> > >> four keys lead to internal problem and ignite.bat ignoring them all.
> > >>
> > >> So I created issue https://issues.apache.org/jira/browse/IGNITE-8837
> > and
> > >> investigated , below what i founded
> > >>
> > >> 1) inside file ignite.bat happen call bin/include/parseargs.bat with
> > next
> > >> code to parse arguments
> > >> set convertArgsCmd="!JAVA_HOME!\bin\java.exe" -cp "%CP%"
> > >> org.apache.ignite.startup.cmdline.CommandLineTransformer %*
> > >>
> > >> 2) call of org.apache.ignite.startup.cmdline.CommandLineTransformer
> > >> correct
> > >> parsing JVM arguments only if they count less five
> > >>
> > >> 3) This problem (2) easy fix by add to set in convertArgsCmd one of
> next
> > >> Java key ( -Dfile.encoding=IBM866 or -Dfile.encoding=UTF-8)
> > >>
> > >> 4) Like part of issue
> https://issues.apache.org/jira/browse/IGNITE-7135
> > >> it
> > >> already had fix (3) and included in Ignite 2.4
> > >>
> > >> 5) Unfortunately, when fix issue
> > >> https://issues.apache.org/jira/browse/IGNITE-898 that key was removed
> > >> and
> > >> that lead to problem in 2.5 , 2.6, master
> > >>
> > >> What correct steps to back ignite.bat working correct on windows in
> > >> master /
> > >> 2.7? Both of ticket in (4) / (5) fix another problems , is correct to
> > >> reopen
> > >> one of them?
> > >>
> > >>
> > >>
> > >> --
> > >> Sent from: http://apache-ignite-developers.2346864.n4.nabble.com/
> > >>
> > >
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: Some problem with execution ignite.bat in master

Alexey Kuznetsov
Denis,

AFAIK, "-J" is a way to pass JVM options via ignite.(bat|sh)
For example: ignite.bat -J-DIGNITE_OVERRIDE_MCAST_GRP=228.1.2.10 -v

On Fri, Dec 28, 2018 at 1:22 AM Denis Magda <[hidden email]> wrote:

> Ilya,
>
> Why do we use -J in general? Is it used to pass a specific type of
> parameters? I know -D or - X but can't recall what -J is supposed to be
> used for.
>
> --
> Denis
>

--
Alexey Kuznetsov
Reply | Threaded
Open this post in threaded view
|

Re: Some problem with execution ignite.bat in master

Ivan Pavlukhin
AFAIK, "-J" is also a common way used by developers of the java
platform for passing JVM system properties from command line tools
which start JVM inside. E.g. keytool follows such approach [1].

[1] https://docs.oracle.com/javase/8/docs/technotes/tools/unix/keytool.html
(section Common Options).

пт, 28 дек. 2018 г. в 11:13, Alexey Kuznetsov <[hidden email]>:

>
> Denis,
>
> AFAIK, "-J" is a way to pass JVM options via ignite.(bat|sh)
> For example: ignite.bat -J-DIGNITE_OVERRIDE_MCAST_GRP=228.1.2.10 -v
>
> On Fri, Dec 28, 2018 at 1:22 AM Denis Magda <[hidden email]> wrote:
>
> > Ilya,
> >
> > Why do we use -J in general? Is it used to pass a specific type of
> > parameters? I know -D or - X but can't recall what -J is supposed to be
> > used for.
> >
> > --
> > Denis
> >
>
> --
> Alexey Kuznetsov



--
Best regards,
Ivan Pavlukhin
Reply | Threaded
Open this post in threaded view
|

Re: Some problem with execution ignite.bat in master

dmagda
Ilya,

Have you confirmed that the issue with -J is common for all the scripts
calling a Java app? Is there any JDK ticket for version prior to 11?

--
Denis

On Fri, Dec 28, 2018 at 12:30 AM Павлухин Иван <[hidden email]> wrote:

> AFAIK, "-J" is also a common way used by developers of the java
> platform for passing JVM system properties from command line tools
> which start JVM inside. E.g. keytool follows such approach [1].
>
> [1]
> https://docs.oracle.com/javase/8/docs/technotes/tools/unix/keytool.html
> (section Common Options).
>
> пт, 28 дек. 2018 г. в 11:13, Alexey Kuznetsov <[hidden email]>:
> >
> > Denis,
> >
> > AFAIK, "-J" is a way to pass JVM options via ignite.(bat|sh)
> > For example: ignite.bat -J-DIGNITE_OVERRIDE_MCAST_GRP=228.1.2.10 -v
> >
> > On Fri, Dec 28, 2018 at 1:22 AM Denis Magda <[hidden email]> wrote:
> >
> > > Ilya,
> > >
> > > Why do we use -J in general? Is it used to pass a specific type of
> > > parameters? I know -D or - X but can't recall what -J is supposed to be
> > > used for.
> > >
> > > --
> > > Denis
> > >
> >
> > --
> > Alexey Kuznetsov
>
>
>
> --
> Best regards,
> Ivan Pavlukhin
>
Reply | Threaded
Open this post in threaded view
|

Re: Some problem with execution ignite.bat in master

Ilya Kasnacheev
Hello!

I have no idea since the issue is un-googlable, but the reproducer is
trivial. The problem here is not with the script but with java refusing to
run Main class.

Regards,
--
Ilya Kasnacheev


пт, 28 дек. 2018 г. в 19:50, Denis Magda <[hidden email]>:

> Ilya,
>
> Have you confirmed that the issue with -J is common for all the scripts
> calling a Java app? Is there any JDK ticket for version prior to 11?
>
> --
> Denis
>
> On Fri, Dec 28, 2018 at 12:30 AM Павлухин Иван <[hidden email]>
> wrote:
>
> > AFAIK, "-J" is also a common way used by developers of the java
> > platform for passing JVM system properties from command line tools
> > which start JVM inside. E.g. keytool follows such approach [1].
> >
> > [1]
> > https://docs.oracle.com/javase/8/docs/technotes/tools/unix/keytool.html
> > (section Common Options).
> >
> > пт, 28 дек. 2018 г. в 11:13, Alexey Kuznetsov <[hidden email]>:
> > >
> > > Denis,
> > >
> > > AFAIK, "-J" is a way to pass JVM options via ignite.(bat|sh)
> > > For example: ignite.bat -J-DIGNITE_OVERRIDE_MCAST_GRP=228.1.2.10 -v
> > >
> > > On Fri, Dec 28, 2018 at 1:22 AM Denis Magda <[hidden email]> wrote:
> > >
> > > > Ilya,
> > > >
> > > > Why do we use -J in general? Is it used to pass a specific type of
> > > > parameters? I know -D or - X but can't recall what -J is supposed to
> be
> > > > used for.
> > > >
> > > > --
> > > > Denis
> > > >
> > >
> > > --
> > > Alexey Kuznetsov
> >
> >
> >
> > --
> > Best regards,
> > Ivan Pavlukhin
> >
>
Reply | Threaded
Open this post in threaded view
|

Re: Some problem with execution ignite.bat in master

Ivan Pavlukhin
Ilya,

Indeed the issue looks weird. Why do you think that we should not fix it?

сб, 29 дек. 2018 г. в 14:12, Ilya Kasnacheev <[hidden email]>:

>
> Hello!
>
> I have no idea since the issue is un-googlable, but the reproducer is
> trivial. The problem here is not with the script but with java refusing to
> run Main class.
>
> Regards,
> --
> Ilya Kasnacheev
>
>
> пт, 28 дек. 2018 г. в 19:50, Denis Magda <[hidden email]>:
>
> > Ilya,
> >
> > Have you confirmed that the issue with -J is common for all the scripts
> > calling a Java app? Is there any JDK ticket for version prior to 11?
> >
> > --
> > Denis
> >
> > On Fri, Dec 28, 2018 at 12:30 AM Павлухин Иван <[hidden email]>
> > wrote:
> >
> > > AFAIK, "-J" is also a common way used by developers of the java
> > > platform for passing JVM system properties from command line tools
> > > which start JVM inside. E.g. keytool follows such approach [1].
> > >
> > > [1]
> > > https://docs.oracle.com/javase/8/docs/technotes/tools/unix/keytool.html
> > > (section Common Options).
> > >
> > > пт, 28 дек. 2018 г. в 11:13, Alexey Kuznetsov <[hidden email]>:
> > > >
> > > > Denis,
> > > >
> > > > AFAIK, "-J" is a way to pass JVM options via ignite.(bat|sh)
> > > > For example: ignite.bat -J-DIGNITE_OVERRIDE_MCAST_GRP=228.1.2.10 -v
> > > >
> > > > On Fri, Dec 28, 2018 at 1:22 AM Denis Magda <[hidden email]> wrote:
> > > >
> > > > > Ilya,
> > > > >
> > > > > Why do we use -J in general? Is it used to pass a specific type of
> > > > > parameters? I know -D or - X but can't recall what -J is supposed to
> > be
> > > > > used for.
> > > > >
> > > > > --
> > > > > Denis
> > > > >
> > > >
> > > > --
> > > > Alexey Kuznetsov
> > >
> > >
> > >
> > > --
> > > Best regards,
> > > Ivan Pavlukhin
> > >
> >



--
Best regards,
Ivan Pavlukhin
Reply | Threaded
Open this post in threaded view
|

Re: Some problem with execution ignite.bat in master

Ilya Kasnacheev
Hello!

I don't see how we can fix a bug in JVM.

Regards,
--
Ilya Kasnacheev


сб, 29 дек. 2018 г. в 17:31, Павлухин Иван <[hidden email]>:

> Ilya,
>
> Indeed the issue looks weird. Why do you think that we should not fix it?
>
> сб, 29 дек. 2018 г. в 14:12, Ilya Kasnacheev <[hidden email]>:
> >
> > Hello!
> >
> > I have no idea since the issue is un-googlable, but the reproducer is
> > trivial. The problem here is not with the script but with java refusing
> to
> > run Main class.
> >
> > Regards,
> > --
> > Ilya Kasnacheev
> >
> >
> > пт, 28 дек. 2018 г. в 19:50, Denis Magda <[hidden email]>:
> >
> > > Ilya,
> > >
> > > Have you confirmed that the issue with -J is common for all the scripts
> > > calling a Java app? Is there any JDK ticket for version prior to 11?
> > >
> > > --
> > > Denis
> > >
> > > On Fri, Dec 28, 2018 at 12:30 AM Павлухин Иван <[hidden email]>
> > > wrote:
> > >
> > > > AFAIK, "-J" is also a common way used by developers of the java
> > > > platform for passing JVM system properties from command line tools
> > > > which start JVM inside. E.g. keytool follows such approach [1].
> > > >
> > > > [1]
> > > >
> https://docs.oracle.com/javase/8/docs/technotes/tools/unix/keytool.html
> > > > (section Common Options).
> > > >
> > > > пт, 28 дек. 2018 г. в 11:13, Alexey Kuznetsov <[hidden email]
> >:
> > > > >
> > > > > Denis,
> > > > >
> > > > > AFAIK, "-J" is a way to pass JVM options via ignite.(bat|sh)
> > > > > For example: ignite.bat -J-DIGNITE_OVERRIDE_MCAST_GRP=228.1.2.10 -v
> > > > >
> > > > > On Fri, Dec 28, 2018 at 1:22 AM Denis Magda <[hidden email]>
> wrote:
> > > > >
> > > > > > Ilya,
> > > > > >
> > > > > > Why do we use -J in general? Is it used to pass a specific type
> of
> > > > > > parameters? I know -D or - X but can't recall what -J is
> supposed to
> > > be
> > > > > > used for.
> > > > > >
> > > > > > --
> > > > > > Denis
> > > > > >
> > > > >
> > > > > --
> > > > > Alexey Kuznetsov
> > > >
> > > >
> > > >
> > > > --
> > > > Best regards,
> > > > Ivan Pavlukhin
> > > >
> > >
>
>
>
> --
> Best regards,
> Ivan Pavlukhin
>
Reply | Threaded
Open this post in threaded view
|

Re: Some problem with execution ignite.bat in master

Denis Magda
Could you open a ticket for OpenJDK community and link it to our JIRA? If
it’s a known issue the community will explain how to tackle.

Denis

On Saturday, December 29, 2018, Ilya Kasnacheev <[hidden email]>
wrote:

> Hello!
>
> I don't see how we can fix a bug in JVM.
>
> Regards,
> --
> Ilya Kasnacheev
>
>
> сб, 29 дек. 2018 г. в 17:31, Павлухин Иван <[hidden email]>:
>
> > Ilya,
> >
> > Indeed the issue looks weird. Why do you think that we should not fix it?
> >
> > сб, 29 дек. 2018 г. в 14:12, Ilya Kasnacheev <[hidden email]
> >:
> > >
> > > Hello!
> > >
> > > I have no idea since the issue is un-googlable, but the reproducer is
> > > trivial. The problem here is not with the script but with java refusing
> > to
> > > run Main class.
> > >
> > > Regards,
> > > --
> > > Ilya Kasnacheev
> > >
> > >
> > > пт, 28 дек. 2018 г. в 19:50, Denis Magda <[hidden email]>:
> > >
> > > > Ilya,
> > > >
> > > > Have you confirmed that the issue with -J is common for all the
> scripts
> > > > calling a Java app? Is there any JDK ticket for version prior to 11?
> > > >
> > > > --
> > > > Denis
> > > >
> > > > On Fri, Dec 28, 2018 at 12:30 AM Павлухин Иван <[hidden email]>
> > > > wrote:
> > > >
> > > > > AFAIK, "-J" is also a common way used by developers of the java
> > > > > platform for passing JVM system properties from command line tools
> > > > > which start JVM inside. E.g. keytool follows such approach [1].
> > > > >
> > > > > [1]
> > > > >
> > https://docs.oracle.com/javase/8/docs/technotes/tools/unix/keytool.html
> > > > > (section Common Options).
> > > > >
> > > > > пт, 28 дек. 2018 г. в 11:13, Alexey Kuznetsov <
> [hidden email]
> > >:
> > > > > >
> > > > > > Denis,
> > > > > >
> > > > > > AFAIK, "-J" is a way to pass JVM options via ignite.(bat|sh)
> > > > > > For example: ignite.bat -J-DIGNITE_OVERRIDE_MCAST_GRP=228.1.2.10
> -v
> > > > > >
> > > > > > On Fri, Dec 28, 2018 at 1:22 AM Denis Magda <[hidden email]>
> > wrote:
> > > > > >
> > > > > > > Ilya,
> > > > > > >
> > > > > > > Why do we use -J in general? Is it used to pass a specific type
> > of
> > > > > > > parameters? I know -D or - X but can't recall what -J is
> > supposed to
> > > > be
> > > > > > > used for.
> > > > > > >
> > > > > > > --
> > > > > > > Denis
> > > > > > >
> > > > > >
> > > > > > --
> > > > > > Alexey Kuznetsov
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Best regards,
> > > > > Ivan Pavlukhin
> > > > >
> > > >
> >
> >
> >
> > --
> > Best regards,
> > Ivan Pavlukhin
> >
>


--
Denis Magda,
GridGain Director of Product Management
Reply | Threaded
Open this post in threaded view
|

Re: Some problem with execution ignite.bat in master

Ivan Pavlukhin
Denis, Ilya,

It looks like that issue was adressed in [1]. I can see that it was
fixed for java 9.

[1] https://bugs.openjdk.java.net/browse/JDK-8132379

сб, 29 дек. 2018 г. в 19:19, Denis Magda <[hidden email]>:

>
> Could you open a ticket for OpenJDK community and link it to our JIRA? If
> it’s a known issue the community will explain how to tackle.
>
> Denis
>
> On Saturday, December 29, 2018, Ilya Kasnacheev <[hidden email]>
> wrote:
>
> > Hello!
> >
> > I don't see how we can fix a bug in JVM.
> >
> > Regards,
> > --
> > Ilya Kasnacheev
> >
> >
> > сб, 29 дек. 2018 г. в 17:31, Павлухин Иван <[hidden email]>:
> >
> > > Ilya,
> > >
> > > Indeed the issue looks weird. Why do you think that we should not fix it?
> > >
> > > сб, 29 дек. 2018 г. в 14:12, Ilya Kasnacheev <[hidden email]
> > >:
> > > >
> > > > Hello!
> > > >
> > > > I have no idea since the issue is un-googlable, but the reproducer is
> > > > trivial. The problem here is not with the script but with java refusing
> > > to
> > > > run Main class.
> > > >
> > > > Regards,
> > > > --
> > > > Ilya Kasnacheev
> > > >
> > > >
> > > > пт, 28 дек. 2018 г. в 19:50, Denis Magda <[hidden email]>:
> > > >
> > > > > Ilya,
> > > > >
> > > > > Have you confirmed that the issue with -J is common for all the
> > scripts
> > > > > calling a Java app? Is there any JDK ticket for version prior to 11?
> > > > >
> > > > > --
> > > > > Denis
> > > > >
> > > > > On Fri, Dec 28, 2018 at 12:30 AM Павлухин Иван <[hidden email]>
> > > > > wrote:
> > > > >
> > > > > > AFAIK, "-J" is also a common way used by developers of the java
> > > > > > platform for passing JVM system properties from command line tools
> > > > > > which start JVM inside. E.g. keytool follows such approach [1].
> > > > > >
> > > > > > [1]
> > > > > >
> > > https://docs.oracle.com/javase/8/docs/technotes/tools/unix/keytool.html
> > > > > > (section Common Options).
> > > > > >
> > > > > > пт, 28 дек. 2018 г. в 11:13, Alexey Kuznetsov <
> > [hidden email]
> > > >:
> > > > > > >
> > > > > > > Denis,
> > > > > > >
> > > > > > > AFAIK, "-J" is a way to pass JVM options via ignite.(bat|sh)
> > > > > > > For example: ignite.bat -J-DIGNITE_OVERRIDE_MCAST_GRP=228.1.2.10
> > -v
> > > > > > >
> > > > > > > On Fri, Dec 28, 2018 at 1:22 AM Denis Magda <[hidden email]>
> > > wrote:
> > > > > > >
> > > > > > > > Ilya,
> > > > > > > >
> > > > > > > > Why do we use -J in general? Is it used to pass a specific type
> > > of
> > > > > > > > parameters? I know -D or - X but can't recall what -J is
> > > supposed to
> > > > > be
> > > > > > > > used for.
> > > > > > > >
> > > > > > > > --
> > > > > > > > Denis
> > > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Alexey Kuznetsov
> > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Best regards,
> > > > > > Ivan Pavlukhin
> > > > > >
> > > > >
> > >
> > >
> > >
> > > --
> > > Best regards,
> > > Ivan Pavlukhin
> > >
> >
>
>
> --
> Denis Magda,
> GridGain Director of Product Management



--
Best regards,
Ivan Pavlukhin
Reply | Threaded
Open this post in threaded view
|

Re: Some problem with execution ignite.bat in master

dmagda
Ivan, thanks!

Ilya, could you confirm that is your issue and update the Ignite ticket
respectively (just close it with a note)? I would update ignite.bat docs
and DEV notes of Ignite to bring this to attention.

--
Denis

On Sun, Dec 30, 2018 at 5:49 AM Павлухин Иван <[hidden email]> wrote:

> Denis, Ilya,
>
> It looks like that issue was adressed in [1]. I can see that it was
> fixed for java 9.
>
> [1] https://bugs.openjdk.java.net/browse/JDK-8132379
>
> сб, 29 дек. 2018 г. в 19:19, Denis Magda <[hidden email]>:
> >
> > Could you open a ticket for OpenJDK community and link it to our JIRA? If
> > it’s a known issue the community will explain how to tackle.
> >
> > Denis
> >
> > On Saturday, December 29, 2018, Ilya Kasnacheev <
> [hidden email]>
> > wrote:
> >
> > > Hello!
> > >
> > > I don't see how we can fix a bug in JVM.
> > >
> > > Regards,
> > > --
> > > Ilya Kasnacheev
> > >
> > >
> > > сб, 29 дек. 2018 г. в 17:31, Павлухин Иван <[hidden email]>:
> > >
> > > > Ilya,
> > > >
> > > > Indeed the issue looks weird. Why do you think that we should not
> fix it?
> > > >
> > > > сб, 29 дек. 2018 г. в 14:12, Ilya Kasnacheev <
> [hidden email]
> > > >:
> > > > >
> > > > > Hello!
> > > > >
> > > > > I have no idea since the issue is un-googlable, but the reproducer
> is
> > > > > trivial. The problem here is not with the script but with java
> refusing
> > > > to
> > > > > run Main class.
> > > > >
> > > > > Regards,
> > > > > --
> > > > > Ilya Kasnacheev
> > > > >
> > > > >
> > > > > пт, 28 дек. 2018 г. в 19:50, Denis Magda <[hidden email]>:
> > > > >
> > > > > > Ilya,
> > > > > >
> > > > > > Have you confirmed that the issue with -J is common for all the
> > > scripts
> > > > > > calling a Java app? Is there any JDK ticket for version prior to
> 11?
> > > > > >
> > > > > > --
> > > > > > Denis
> > > > > >
> > > > > > On Fri, Dec 28, 2018 at 12:30 AM Павлухин Иван <
> [hidden email]>
> > > > > > wrote:
> > > > > >
> > > > > > > AFAIK, "-J" is also a common way used by developers of the java
> > > > > > > platform for passing JVM system properties from command line
> tools
> > > > > > > which start JVM inside. E.g. keytool follows such approach [1].
> > > > > > >
> > > > > > > [1]
> > > > > > >
> > > >
> https://docs.oracle.com/javase/8/docs/technotes/tools/unix/keytool.html
> > > > > > > (section Common Options).
> > > > > > >
> > > > > > > пт, 28 дек. 2018 г. в 11:13, Alexey Kuznetsov <
> > > [hidden email]
> > > > >:
> > > > > > > >
> > > > > > > > Denis,
> > > > > > > >
> > > > > > > > AFAIK, "-J" is a way to pass JVM options via ignite.(bat|sh)
> > > > > > > > For example: ignite.bat
> -J-DIGNITE_OVERRIDE_MCAST_GRP=228.1.2.10
> > > -v
> > > > > > > >
> > > > > > > > On Fri, Dec 28, 2018 at 1:22 AM Denis Magda <
> [hidden email]>
> > > > wrote:
> > > > > > > >
> > > > > > > > > Ilya,
> > > > > > > > >
> > > > > > > > > Why do we use -J in general? Is it used to pass a specific
> type
> > > > of
> > > > > > > > > parameters? I know -D or - X but can't recall what -J is
> > > > supposed to
> > > > > > be
> > > > > > > > > used for.
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Denis
> > > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Alexey Kuznetsov
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Best regards,
> > > > > > > Ivan Pavlukhin
> > > > > > >
> > > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Best regards,
> > > > Ivan Pavlukhin
> > > >
> > >
> >
> >
> > --
> > Denis Magda,
> > GridGain Director of Product Management
>
>
>
> --
> Best regards,
> Ivan Pavlukhin
>
Reply | Threaded
Open this post in threaded view
|

Re: Some problem with execution ignite.bat in master

Ilya Kasnacheev
Hello!

I have resolved the ticket, linked JDK bug. Please update docs.

I have created a Docs issue
https://issues.apache.org/jira/browse/IGNITE-10867

Regards,
--
Ilya Kasnacheev


пн, 31 дек. 2018 г. в 20:45, Denis Magda <[hidden email]>:

> Ivan, thanks!
>
> Ilya, could you confirm that is your issue and update the Ignite ticket
> respectively (just close it with a note)? I would update ignite.bat docs
> and DEV notes of Ignite to bring this to attention.
>
> --
> Denis
>
> On Sun, Dec 30, 2018 at 5:49 AM Павлухин Иван <[hidden email]> wrote:
>
> > Denis, Ilya,
> >
> > It looks like that issue was adressed in [1]. I can see that it was
> > fixed for java 9.
> >
> > [1] https://bugs.openjdk.java.net/browse/JDK-8132379
> >
> > сб, 29 дек. 2018 г. в 19:19, Denis Magda <[hidden email]>:
> > >
> > > Could you open a ticket for OpenJDK community and link it to our JIRA?
> If
> > > it’s a known issue the community will explain how to tackle.
> > >
> > > Denis
> > >
> > > On Saturday, December 29, 2018, Ilya Kasnacheev <
> > [hidden email]>
> > > wrote:
> > >
> > > > Hello!
> > > >
> > > > I don't see how we can fix a bug in JVM.
> > > >
> > > > Regards,
> > > > --
> > > > Ilya Kasnacheev
> > > >
> > > >
> > > > сб, 29 дек. 2018 г. в 17:31, Павлухин Иван <[hidden email]>:
> > > >
> > > > > Ilya,
> > > > >
> > > > > Indeed the issue looks weird. Why do you think that we should not
> > fix it?
> > > > >
> > > > > сб, 29 дек. 2018 г. в 14:12, Ilya Kasnacheev <
> > [hidden email]
> > > > >:
> > > > > >
> > > > > > Hello!
> > > > > >
> > > > > > I have no idea since the issue is un-googlable, but the
> reproducer
> > is
> > > > > > trivial. The problem here is not with the script but with java
> > refusing
> > > > > to
> > > > > > run Main class.
> > > > > >
> > > > > > Regards,
> > > > > > --
> > > > > > Ilya Kasnacheev
> > > > > >
> > > > > >
> > > > > > пт, 28 дек. 2018 г. в 19:50, Denis Magda <[hidden email]>:
> > > > > >
> > > > > > > Ilya,
> > > > > > >
> > > > > > > Have you confirmed that the issue with -J is common for all the
> > > > scripts
> > > > > > > calling a Java app? Is there any JDK ticket for version prior
> to
> > 11?
> > > > > > >
> > > > > > > --
> > > > > > > Denis
> > > > > > >
> > > > > > > On Fri, Dec 28, 2018 at 12:30 AM Павлухин Иван <
> > [hidden email]>
> > > > > > > wrote:
> > > > > > >
> > > > > > > > AFAIK, "-J" is also a common way used by developers of the
> java
> > > > > > > > platform for passing JVM system properties from command line
> > tools
> > > > > > > > which start JVM inside. E.g. keytool follows such approach
> [1].
> > > > > > > >
> > > > > > > > [1]
> > > > > > > >
> > > > >
> > https://docs.oracle.com/javase/8/docs/technotes/tools/unix/keytool.html
> > > > > > > > (section Common Options).
> > > > > > > >
> > > > > > > > пт, 28 дек. 2018 г. в 11:13, Alexey Kuznetsov <
> > > > [hidden email]
> > > > > >:
> > > > > > > > >
> > > > > > > > > Denis,
> > > > > > > > >
> > > > > > > > > AFAIK, "-J" is a way to pass JVM options via
> ignite.(bat|sh)
> > > > > > > > > For example: ignite.bat
> > -J-DIGNITE_OVERRIDE_MCAST_GRP=228.1.2.10
> > > > -v
> > > > > > > > >
> > > > > > > > > On Fri, Dec 28, 2018 at 1:22 AM Denis Magda <
> > [hidden email]>
> > > > > wrote:
> > > > > > > > >
> > > > > > > > > > Ilya,
> > > > > > > > > >
> > > > > > > > > > Why do we use -J in general? Is it used to pass a
> specific
> > type
> > > > > of
> > > > > > > > > > parameters? I know -D or - X but can't recall what -J is
> > > > > supposed to
> > > > > > > be
> > > > > > > > > > used for.
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > Denis
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Alexey Kuznetsov
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Best regards,
> > > > > > > > Ivan Pavlukhin
> > > > > > > >
> > > > > > >
> > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Best regards,
> > > > > Ivan Pavlukhin
> > > > >
> > > >
> > >
> > >
> > > --
> > > Denis Magda,
> > > GridGain Director of Product Management
> >
> >
> >
> > --
> > Best regards,
> > Ivan Pavlukhin
> >
>