GitHub user falmp opened a pull request:

    https://github.com/apache/storm/pull/1463

    Fixed help message for set_log_level command

    The help message didn't mention that topology-name was a required 
parameter, thus giving the following error when not passing it:
    
    ```
    Exception in thread "main" java.lang.IllegalArgumentException: No matching 
field found: IllegalArgumentException for class java.lang.String
        at clojure.lang.Reflector.getInstanceField(Reflector.java:271)
        at clojure.lang.Reflector.invokeNoArgInstanceMember(Reflector.java:315)
        at 
org.apache.storm.command.set_log_level$get_storm_id.invoke(set_log_level.clj:31)
        at 
org.apache.storm.command.set_log_level$_main.doInvoke(set_log_level.clj:75)
        at clojure.lang.RestFn.applyTo(RestFn.java:137)
        at org.apache.storm.command.set_log_level.main(Unknown Source)
    ```

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

    $ git pull https://github.com/falmp/storm set-log-level-help-message-1

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

    https://github.com/apache/storm/pull/1463.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 #1463
    
----
commit d19bcda308414272f705260c5be4bc4d0867c077
Author: falmp <chico.lo...@gmail.com>
Date:   2016-06-06T00:56:02Z

    Fixed help message for set_log_level command
    
    The help message didn't mention that topology-name was a required 
parameter, thus giving the following error when not passing it:
    
    ```
    Exception in thread "main" java.lang.IllegalArgumentException: No matching 
field found: IllegalArgumentException for class java.lang.String
        at clojure.lang.Reflector.getInstanceField(Reflector.java:271)
        at clojure.lang.Reflector.invokeNoArgInstanceMember(Reflector.java:315)
        at 
org.apache.storm.command.set_log_level$get_storm_id.invoke(set_log_level.clj:31)
        at 
org.apache.storm.command.set_log_level$_main.doInvoke(set_log_level.clj:75)
        at clojure.lang.RestFn.applyTo(RestFn.java:137)
        at org.apache.storm.command.set_log_level.main(Unknown Source)
    ```

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to