[jira] [Commented] (IGNITE-10886) -J-PARAMS does not allow spaces in arguments

2019-01-16 Thread Ilya Kasnacheev (JIRA)


[ 
https://issues.apache.org/jira/browse/IGNITE-10886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16744047#comment-16744047
 ] 

Ilya Kasnacheev commented on IGNITE-10886:
--

I think we should at least find one working way to run that on Windows & clear 
error messages when it does not work.

> -J-PARAMS does not allow spaces in arguments
> 
>
> Key: IGNITE-10886
> URL: https://issues.apache.org/jira/browse/IGNITE-10886
> Project: Ignite
>  Issue Type: Improvement
>  Components: general
>Reporter: Mikhail Cherkasov
>Assignee: Mikhail Cherkasov
>Priority: Major
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> -J-PARAMS doesn't allow spaces, so you can not pass for example:
> -J-DIGNITE_CLUSTER_NAME="dev dev dev"  and set name for you cluster in WC.
> it will fail with the following message:
> mcherkasov$ bash bin/ignite.sh -v -J-Xmx3G -J-Xms3G 
> -J-DIGNITE_CLUSTER_NAME="dev dev dev"
> Error: Could not find or load main class dev



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (IGNITE-10886) -J-PARAMS does not allow spaces in arguments

2019-01-16 Thread Ilya Kasnacheev (JIRA)


[ 
https://issues.apache.org/jira/browse/IGNITE-10886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16744046#comment-16744046
 ] 

Ilya Kasnacheev commented on IGNITE-10886:
--

There's the following in CommandLineTransformer:


if (!checkJVMOptionIsSupported(jvmOpt))
throw new RuntimeException(JVM_OPTION_PREFIX + " JVM 
parameters for Ignite batch scripts " +
"with double quotes are not supported. " +
"Use JVM_OPTS environment variable to pass any custom 
JVM option.");

but I don't observe such messages/errors when running it, JVM_OPTS does not 
seem to work either.

> -J-PARAMS does not allow spaces in arguments
> 
>
> Key: IGNITE-10886
> URL: https://issues.apache.org/jira/browse/IGNITE-10886
> Project: Ignite
>  Issue Type: Improvement
>  Components: general
>Reporter: Mikhail Cherkasov
>Assignee: Mikhail Cherkasov
>Priority: Major
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> -J-PARAMS doesn't allow spaces, so you can not pass for example:
> -J-DIGNITE_CLUSTER_NAME="dev dev dev"  and set name for you cluster in WC.
> it will fail with the following message:
> mcherkasov$ bash bin/ignite.sh -v -J-Xmx3G -J-Xms3G 
> -J-DIGNITE_CLUSTER_NAME="dev dev dev"
> Error: Could not find or load main class dev



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (IGNITE-10886) -J-PARAMS does not allow spaces in arguments

2019-01-16 Thread Ilya Kasnacheev (JIRA)


[ 
https://issues.apache.org/jira/browse/IGNITE-10886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16744041#comment-16744041
 ] 

Ilya Kasnacheev commented on IGNITE-10886:
--

[~mcherkasov] there is same problem for ignite.bat on Windows, I think they 
should both be tackled at once. Can you look at it?

> -J-PARAMS does not allow spaces in arguments
> 
>
> Key: IGNITE-10886
> URL: https://issues.apache.org/jira/browse/IGNITE-10886
> Project: Ignite
>  Issue Type: Improvement
>  Components: general
>Reporter: Mikhail Cherkasov
>Assignee: Mikhail Cherkasov
>Priority: Major
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> -J-PARAMS doesn't allow spaces, so you can not pass for example:
> -J-DIGNITE_CLUSTER_NAME="dev dev dev"  and set name for you cluster in WC.
> it will fail with the following message:
> mcherkasov$ bash bin/ignite.sh -v -J-Xmx3G -J-Xms3G 
> -J-DIGNITE_CLUSTER_NAME="dev dev dev"
> Error: Could not find or load main class dev



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (IGNITE-10886) -J-PARAMS does not allow spaces in arguments

2019-01-15 Thread Mikhail Cherkasov (JIRA)


[ 
https://issues.apache.org/jira/browse/IGNITE-10886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16743051#comment-16743051
 ] 

Mikhail Cherkasov commented on IGNITE-10886:


[~skozlov] could you please help me with testing of this change? I tested it 
manually, but might be you know/have some automated tests for sh scripts?

> -J-PARAMS does not allow spaces in arguments
> 
>
> Key: IGNITE-10886
> URL: https://issues.apache.org/jira/browse/IGNITE-10886
> Project: Ignite
>  Issue Type: Improvement
>  Components: general
>Reporter: Mikhail Cherkasov
>Assignee: Mikhail Cherkasov
>Priority: Major
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> -J-PARAMS doesn't allow spaces, so you can not pass for example:
> -J-DIGNITE_CLUSTER_NAME="dev dev dev"  and set name for you cluster in WC.
> it will fail with the following message:
> mcherkasov$ bash bin/ignite.sh -v -J-Xmx3G -J-Xms3G 
> -J-DIGNITE_CLUSTER_NAME="dev dev dev"
> Error: Could not find or load main class dev



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (IGNITE-10886) -J-PARAMS does not allow spaces in arguments

2019-01-15 Thread Mikhail Cherkasov (JIRA)


[ 
https://issues.apache.org/jira/browse/IGNITE-10886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16742917#comment-16742917
 ] 

Mikhail Cherkasov commented on IGNITE-10886:


without fix:

mcherkasov$ bash bin/ignite.sh -v -J-Xmx3G -J-Xms3G 
-J-DIGNITE_CLUSTER_NAME="dev dev dev"
Error: Could not find or load main class dev

with fix:

Mikhails-MBP:apache-ignite-2.7.0-bin mcherkasov$ bash bin/ignite.sh -v -J-Xmx3G 
-J-Xms3G -J-DIGNITE_CLUSTER_NAME="dev dev dev"
Ignite Command Line Startup, ver. 2.7.0#20181130-sha1:256ae401
...
[19:17:31,306][INFO][main][IgniteKernal] 
IGNITE_HOME=/Users/mcherkasov/Downloads/apache-ignite-2.7.0-bin
[19:17:31,306][INFO][main][IgniteKernal] VM arguments: [-XX:+AggressiveOpts, 
-Xms1g, -Xmx1g, -XX:MaxMetaspaceSize=256m, -DIGNITE_QUIET=false, 
-DIGNITE_SUCCESS_FILE=/Users/mcherkasov/Downloads/apache-ignite-2.7.0-bin/work/ignite_success_80a26259-9b3f-4f81-aee2-56a558bda5f7,
 -Dcom.sun.management.jmxremote, -Dcom.sun.management.jmxremote.port=49184, 
-Dcom.sun.management.jmxremote.authenticate=false, 
-Dcom.sun.management.jmxremote.ssl=false, 
-DIGNITE_HOME=/Users/mcherkasov/Downloads/apache-ignite-2.7.0-bin, 
-DIGNITE_PROG_NAME=bin/ignite.sh, -Xmx3G, -Xms3G, -DIGNITE_CLUSTER_NAME=dev dev 
dev]

> -J-PARAMS does not allow spaces in arguments
> 
>
> Key: IGNITE-10886
> URL: https://issues.apache.org/jira/browse/IGNITE-10886
> Project: Ignite
>  Issue Type: Improvement
>  Components: general
>Reporter: Mikhail Cherkasov
>Assignee: Mikhail Cherkasov
>Priority: Major
>  Time Spent: 1h
>  Remaining Estimate: 0h
>
> -J-PARAMS doesn't allow spaces, so you can not pass for example:
> -J-DIGNITE_CLUSTER_NAME="dev dev dev"  and set name for you cluster in WC.
> it will fail with the following message:
> mcherkasov$ bash bin/ignite.sh -v -J-Xmx3G -J-Xms3G 
> -J-DIGNITE_CLUSTER_NAME="dev dev dev"
> Error: Could not find or load main class dev



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)