You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2019/04/25 14:30:00 UTC
[jira] [Updated] (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:all-tabpanel ]
ASF GitHub Bot updated STORM-3384:
----------------------------------
Labels: pull-request-available (was: )
> 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
> Reporter: Ethan Li
> Assignee: Ethan Li
> Priority: Trivial
> Labels: pull-request-available
>
> 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)