Fedor Malchikov  created IGNITE-13944:
-----------------------------------------

             Summary: Bad formed error message for "config set" command
                 Key: IGNITE-13944
                 URL: https://issues.apache.org/jira/browse/IGNITE-13944
             Project: Ignite
          Issue Type: Bug
            Reporter: Fedor Malchikov 


{code:bash}
prom1se@prom1se-PC276:~/ignite-cli-test$ ./ignite config set local.test
prom1se@prom1se-PC276:~/ignite-cli-test$ ./ignite config set 
local.test12:46:46.430 [main] ERROR org.apache.ignite.cli.ErrorHandler - 
com.typesafe.config.ConfigException$Parse: String: 1: Key 'local.test' may not 
be followed by token: end of file at 
com.typesafe.config.impl.ConfigDocumentParser$ParseContext.parseError(ConfigDocumentParser.java:201)
 at 
com.typesafe.config.impl.ConfigDocumentParser$ParseContext.parseError(ConfigDocumentParser.java:197)
 at 
com.typesafe.config.impl.ConfigDocumentParser$ParseContext.parseObject(ConfigDocumentParser.java:461)
 at 
com.typesafe.config.impl.ConfigDocumentParser$ParseContext.parse(ConfigDocumentParser.java:648)
 at 
com.typesafe.config.impl.ConfigDocumentParser.parse(ConfigDocumentParser.java:14)
 at com.typesafe.config.impl.Parseable.rawParseValue(Parseable.java:262) at 
com.typesafe.config.impl.Parseable.rawParseValue(Parseable.java:250) at 
com.typesafe.config.impl.Parseable.parseValue(Parseable.java:180) at 
com.typesafe.config.impl.Parseable.parseValue(Parseable.java:174) at 
com.typesafe.config.impl.Parseable.parse(Parseable.java:301) at 
com.typesafe.config.ConfigFactory.parseString(ConfigFactory.java:1187) at 
com.typesafe.config.ConfigFactory.parseString(ConfigFactory.java:1197) at 
org.apache.ignite.cli.builtins.config.ConfigurationClient.renderJsonFromHocon(ConfigurationClient.java:111)
 at 
org.apache.ignite.cli.builtins.config.ConfigurationClient.set(ConfigurationClient.java:83)
 at 
org.apache.ignite.cli.spec.ConfigCommandSpec$SetConfigCommandSpec.run(ConfigCommandSpec.java:67)
 at picocli.CommandLine.executeUserObject(CommandLine.java:1919) at 
picocli.CommandLine.access$1200(CommandLine.java:145) at 
picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2332)
 at picocli.CommandLine$RunLast.handle(CommandLine.java:2326) at 
picocli.CommandLine$RunLast.handle(CommandLine.java:2291) at 
picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2159) 
at picocli.CommandLine.execute(CommandLine.java:2058) at 
org.apache.ignite.cli.IgniteCliApp.main(IgniteCliApp.java:33)
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to