You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by sr...@apache.org on 2016/06/08 03:03:20 UTC
[1/3] storm git commit: Fixed help message for set_log_level command
Repository: storm
Updated Branches:
refs/heads/master fa21c11b9 -> 2c77a2001
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)
```
Project: http://git-wip-us.apache.org/repos/asf/storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/d19bcda3
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/d19bcda3
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/d19bcda3
Branch: refs/heads/master
Commit: d19bcda308414272f705260c5be4bc4d0867c077
Parents: a9ef86d
Author: falmp <ch...@gmail.com>
Authored: Sun Jun 5 21:56:02 2016 -0300
Committer: falmp <ch...@gmail.com>
Committed: Sun Jun 5 21:56:02 2016 -0300
----------------------------------------------------------------------
bin/storm.py | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/storm/blob/d19bcda3/bin/storm.py
----------------------------------------------------------------------
diff --git a/bin/storm.py b/bin/storm.py
index b1685ce..c9667c7 100755
--- a/bin/storm.py
+++ b/bin/storm.py
@@ -256,7 +256,7 @@ def jar(jarfile, klass, *args):
jvmopts=JAR_JVM_OPTS + ["-Dstorm.jar=" + jarfile])
def sql(sql_file, topology_name):
- """Syntax: [storm sql sql-file topology]
+ """Syntax: [storm sql sql-file topology-name]
Compiles the SQL statements into a Trident topology and submits it to Storm.
"""
@@ -360,26 +360,26 @@ def set_log_level(*args):
"""
Dynamically change topology log levels
- Syntax: [storm set_log_level -l [logger name]=[log level][:optional timeout] -r [logger name]
+ Syntax: [storm set_log_level -l [logger name]=[log level][:optional timeout] -r [logger name] topology-name]
where log level is one of:
ALL, TRACE, DEBUG, INFO, WARN, ERROR, FATAL, OFF
and timeout is integer seconds.
e.g.
- ./bin/storm set_log_level -l ROOT=DEBUG:30
+ ./bin/storm set_log_level -l ROOT=DEBUG:30 topology-name
Set the root logger's level to DEBUG for 30 seconds
- ./bin/storm set_log_level -l com.myapp=WARN
+ ./bin/storm set_log_level -l com.myapp=WARN topology-name
Set the com.myapp logger's level to WARN for 30 seconds
- ./bin/storm set_log_level -l com.myapp=WARN -l com.myOtherLogger=ERROR:123
+ ./bin/storm set_log_level -l com.myapp=WARN -l com.myOtherLogger=ERROR:123 topology-name
Set the com.myapp logger's level to WARN indifinitely, and com.myOtherLogger
to ERROR for 123 seconds
- ./bin/storm set_log_level -r com.myOtherLogger
+ ./bin/storm set_log_level -r com.myOtherLogger topology-name
Clears settings, resetting back to the original level
"""
[3/3] storm git commit: Added STORM-1887 to CHANGELOG.
Posted by sr...@apache.org.
Added STORM-1887 to CHANGELOG.
Project: http://git-wip-us.apache.org/repos/asf/storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/2c77a200
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/2c77a200
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/2c77a200
Branch: refs/heads/master
Commit: 2c77a20016a9eb602e7746a9111b63d427cf504f
Parents: 974c168
Author: Sriharsha Chintalapani <ha...@hortonworks.com>
Authored: Tue Jun 7 20:02:50 2016 -0700
Committer: Sriharsha Chintalapani <ha...@hortonworks.com>
Committed: Tue Jun 7 20:02:50 2016 -0700
----------------------------------------------------------------------
CHANGELOG.md | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/storm/blob/2c77a200/CHANGELOG.md
----------------------------------------------------------------------
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 813de41..046eaea 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -97,6 +97,7 @@
* STORM-1769: Added a test to check local nimbus with notifier plugin
## 1.1.0
+ * STORM-1887: Fixed help message for set_log_level command
* STORM-1841: Address a few minor issues in windowing and doc
* STORM-1709: Added group by support in storm sql standalone mode
* STORM-1720: Support GEO in storm-redis
[2/3] storm git commit: Merge branch 'set-log-level-help-message-1'
of https://github.com/falmp/storm into STORM-1887
Posted by sr...@apache.org.
Merge branch 'set-log-level-help-message-1' of https://github.com/falmp/storm into STORM-1887
Project: http://git-wip-us.apache.org/repos/asf/storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/storm/commit/974c1685
Tree: http://git-wip-us.apache.org/repos/asf/storm/tree/974c1685
Diff: http://git-wip-us.apache.org/repos/asf/storm/diff/974c1685
Branch: refs/heads/master
Commit: 974c1685403563d4e7b6c28a49d3128faeab1f84
Parents: fa21c11 d19bcda
Author: Sriharsha Chintalapani <ha...@hortonworks.com>
Authored: Tue Jun 7 20:01:56 2016 -0700
Committer: Sriharsha Chintalapani <ha...@hortonworks.com>
Committed: Tue Jun 7 20:01:56 2016 -0700
----------------------------------------------------------------------
bin/storm.py | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------