GitHub user dschiavu reopened a pull request:

    https://github.com/apache/incubator-storm/pull/73

    Treat command line "-c" option number config values as such (STORM-173)

    This fixes the `ClassCastException` when submitting numeric config values 
using the `storm` utility's `-c` option.
    It works by first checking if the `-c` configuration value is numeric (via 
Apache Commons' `NumberUtils#isNumber`) and, if positive, converting it to a 
numeric type. See STORM-173.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/dschiavu/incubator-storm 
STORM-173-storm-number-config-value

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-storm/pull/73.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #73
    
----
commit c4ff804c30b331be0af032f01d1b2819d62c7dc2
Author: Danijel Schiavuzzi <[email protected]>
Date:   2014-04-11T16:11:55Z

    Treat command line "-c" option number config values as such (STORM-173)

commit 442d8e75103f425d211a022184621072326925f0
Author: Danijel Schiavuzzi <[email protected]>
Date:   2014-04-16T16:01:34Z

    Move command line options values introspection logic to
    Utils#readCommandLineOpts (STORM-173)

commit a0e2aa6e37ddfd1174c3430499de2b18b34052c5
Author: Danijel Schiavuzzi <[email protected]>
Date:   2014-04-17T08:25:54Z

    Parse command line options as JSON values (STORM-173)

commit b81ba5ee75627312719c713b6c3030b237b342d2
Author: Danijel Schiavuzzi <[email protected]>
Date:   2014-04-17T13:42:20Z

    Clean up imports (STORM-173)

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to