Aleksandr created IGNITE-20158:
----------------------------------

             Summary: CLI: cluster/node config update is not user friendly
                 Key: IGNITE-20158
                 URL: https://issues.apache.org/jira/browse/IGNITE-20158
             Project: Ignite
          Issue Type: Task
            Reporter: Aleksandr


The configuration update process can be painful because of the way CLI parses 
the command line. For example,

{code:java}
[defaultNode]> cluster config update -u http://localhost:10300 
"{aipersist.regions: [{name: persistent_region,size: 2560
00000}],aimem.regions: [{name: btree_volatile_region,maxSize: 256000000}]}"
IGN-CMN-65535 Trace ID: 5430a4a7-b24d-4861-89aa-fdb84a17b199
com.typesafe.config.ConfigException$Parse: String: 1: Key '"{aipersist.regions: 
[{name: persistent_region,size: 256000000}],aimem.regions: [{name: 
btree_volatile_region,maxSize: 256000000}]}"' may not be followed by token: end 
of file
{code}

There is no way to understand what is going wrong. 

I suggest improving the error text and showing the correct command example.

And we have to investigate the root cause of the issue and create a follow-up 
ticket to fix the way CLI parses the command line. I expect the example command 
to be valid.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to