[
https://issues.apache.org/jira/browse/STORM-1861?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15301087#comment-15301087
]
ASF GitHub Bot commented on STORM-1861:
---------------------------------------
Github user csivaguru commented on a diff in the pull request:
https://github.com/apache/storm/pull/1441#discussion_r64669384
--- Diff: bin/storm.py ---
@@ -241,7 +240,6 @@ def jar(jarfile, klass, *args):
extrajars=[tmpjar, USER_CONF_DIR, STORM_BIN_DIR],
args=args,
daemon=False,
--- End diff --
@revans2 I was planning to update this patch with the same approach (save
the exit code and return it after deleting the tmpjar)
> Storm submit command returns exit code of 0 even when it fails
> --------------------------------------------------------------
>
> Key: STORM-1861
> URL: https://issues.apache.org/jira/browse/STORM-1861
> Project: Apache Storm
> Issue Type: Bug
> Components: storm-core
> Affects Versions: 1.0.0
> Reporter: Raghav Kumar Gautam
> Priority: Blocker
> Fix For: 1.0.2
>
>
> When we run the command twice:
> {code}
> /usr/hdp/current/storm-client/bin/storm jar
> /usr/hdp/current/storm-client/contrib/storm-starter/storm-starter-topologies-1.0.1.2.5.0.0-415.jar
> org.apache.storm.starter.ExclamationTopology mytopology
> {code}
> The second command failed but the exit code was 0 instead of 1. This is
> regression.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)