[
https://issues.apache.org/jira/browse/IGNITE-10886?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16744046#comment-16744046
]
Ilya Kasnacheev edited comment on IGNITE-10886 at 1/16/19 1:40 PM:
-------------------------------------------------------------------
There's the following in CommandLineTransformer:
{code}
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.");
{code}
but I don't observe such messages/errors when running it, JVM_OPTS does not
seem to work either.
was (Author: ilyak):
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)