ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pavel Konstantinov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (IGNITE-5011) Add validation of input params of disco command
Date Tue, 18 Apr 2017 12:01:41 GMT
Pavel Konstantinov created IGNITE-5011:
------------------------------------------

             Summary: 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
            Priority: Trivial


{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
(v6.3.15#6346)

Mime
View raw message