[ 
https://issues.apache.org/jira/browse/IGNITE-5011?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexey Kuznetsov updated IGNITE-5011:
-------------------------------------
    Fix Version/s: 2.6

> Add validation of input params of disco command
> -----------------------------------------------
>
>                 Key: IGNITE-5011
>                 URL: https://issues.apache.org/jira/browse/IGNITE-5011
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Pavel Konstantinov
>            Assignee: Alexey Kuznetsov
>            Priority: Trivial
>             Fix For: 2.6
>
>
> {code}
> visor> disco -t=0h
> java.lang.IllegalArgumentException: Time frame size is not positive in: 0h
>         at org.apache.ignite.visor.visor$.timeFilter(visor.scala:2671)
>         at 
> org.apache.ignite.visor.commands.disco.VisorDiscoveryCommand.disco(VisorDiscoveryCommand.scala:127)
>         at 
> org.apache.ignite.visor.commands.disco.VisorDiscoveryCommand$$anonfun$4.apply(VisorDiscoveryCommand.scala:282)
>         at 
> org.apache.ignite.visor.commands.disco.VisorDiscoveryCommand$$anonfun$4.apply(VisorDiscoveryCommand.scala:282)
>         at 
> org.apache.ignite.visor.commands.VisorConsole.mainLoop(VisorConsole.scala:217)
>         at 
> org.apache.ignite.visor.commands.VisorConsole$.delayedEndpoint$org$apache$ignite$visor$commands$VisorConsole$1(VisorConsole.scala:329)
>         at 
> org.apache.ignite.visor.commands.VisorConsole$delayedInit$body.apply(VisorConsole.scala:318)
>         at scala.Function0$class.apply$mcV$sp(Function0.scala:34)
>         at 
> scala.runtime.AbstractFunction0.apply$mcV$sp(AbstractFunction0.scala:12)
>         at scala.App$$anonfun$main$1.apply(App.scala:76)
>         at scala.App$$anonfun$main$1.apply(App.scala:76)
>         at scala.collection.immutable.List.foreach(List.scala:381)
>         at 
> scala.collection.generic.TraversableForwarder$class.foreach(TraversableForwarder.scala:35)
>         at scala.App$class.main(App.scala:76)
>         at 
> org.apache.ignite.visor.commands.VisorConsole$.main(VisorConsole.scala:318)
>         at 
> org.apache.ignite.visor.commands.VisorConsole.main(VisorConsole.scala)
> (wrn) <visor>: Invalid command name: 'disco -t=0h'
> (wrn) <visor>: Type 'help' to print commands list.
> {code}



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

Reply via email to