GitHub user hustfxj opened a pull request:
https://github.com/apache/storm/pull/1142
[STORM-1572] throw NPE when parsing the command line arguments by CLI
$ storm kill test
Running: /data/nfs_share/soft/jdk1.7.0_79/bin/java -client -Ddaemon.name=
-Dstorm.options= -Dstorm.home=/data/nfs_share/soft/storm
-Dstorm.log.dir=/home/admin/storm_logs -Djava.library.path=/usr/local/lib
-Dstorm.conf.file= -cp
/data/nfs_share/soft/storm/lib/servlet-api-2.5.jar:/data/nfs_share/soft/storm/lib/slf4j-api-1.7.7.jar:/data/nfs_share/soft/storm/lib/log4j-over-slf4j-1.6.6.jar:/data/nfs_share/soft/storm/lib/reflectasm-1.07-shaded.jar:/data/nfs_share/soft/storm/lib/log4j-api-2.1.jar:/data/nfs_share/soft/storm/lib/storm-core-2.0.0-SNAPSHOT.jar:/data/nfs_share/soft/storm/lib/log4j-core-2.1.jar:/data/nfs_share/soft/storm/lib/kryo-2.21.jar:/data/nfs_share/soft/storm/lib/clojure-1.7.0.jar:/data/nfs_share/soft/storm/lib/log4j-slf4j-impl-2.1.jar:/data/nfs_share/soft/storm/lib/minlog-1.2.jar:/data/nfs_share/soft/storm/lib/disruptor-3.3.2.jar:/data/nfs_share/soft/storm/lib/asm-4.0.jar:/home/admin/.storm:/data/nfs_share/soft/storm/bin
org.apache.storm.command.KillTopology test
Exception in thread "main" java.lang.NullPointerException
at org.apache.storm.command.CLI$CLIBuilder.parse(CLI.java:243)
at org.apache.storm.command.KillTopology.main(KillTopology.java:33)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/hustfxj/storm 0223
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/storm/pull/1142.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 #1142
----
commit 3af457f8cd3dec53af969a70f7f5238b4502dada
Author: xiaojian.fxj <[email protected]>
Date: 2016-02-23T15:11:44Z
fix CLI about parsing the command line arguments
----
---
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.
---