You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Stig Rohde Døssing (JIRA)" <ji...@apache.org> on 2019/04/26 14:35:00 UTC

[jira] [Commented] (STORM-3384) storm set-log-level command throws wrong exception when the topology is not running

    [ https://issues.apache.org/jira/browse/STORM-3384?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16827010#comment-16827010 ] 

Stig Rohde Døssing commented on STORM-3384:
-------------------------------------------

In case someone looks at this later: The command has been ported to Java in master, so this is not an issue there.

> storm set-log-level command throws wrong exception when the topology is not running
> -----------------------------------------------------------------------------------
>
>                 Key: STORM-3384
>                 URL: https://issues.apache.org/jira/browse/STORM-3384
>             Project: Apache Storm
>          Issue Type: Bug
>    Affects Versions: 1.0.6, 1.1.3, 1.2.2
>            Reporter: Ethan Li
>            Assignee: Ethan Li
>            Priority: Trivial
>              Labels: pull-request-available
>             Fix For: 1.2.3, 1.1.4
>
>          Time Spent: 2h 20m
>  Remaining Estimate: 0h
>
> https://github.com/apache/storm/blob/1.1.x-branch/storm-core/src/clj/org/apache/storm/command/set_log_level.clj#L31
> will throw an exception like the following if the topology is not running
> {code:java}
> 3396 [main] INFO  b.s.c.set-log-level - Sent log config LogConfig(named_logger_level:{ROOT=LogLevel(action:UPDATE, target_log_level:DEBUG, reset_log_level_timeout_secs:30)}) for topology w
> 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 backtype.storm.command.set_log_level$get_storm_id.invoke(set_log_level.clj:31)
> 	at backtype.storm.command.set_log_level$_main.doInvoke(set_log_level.clj:75)
> 	at clojure.lang.RestFn.applyTo(RestFn.java:137)
> 	at backtype.storm.command.set_log_level.main(Unknown Source)
> {code}



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