You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Raghav Kumar Gautam (JIRA)" <ji...@apache.org> on 2016/05/23 19:20:12 UTC

[jira] [Commented] (STORM-1861) Storm submit command returns exit code of 0 even when it fails

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

Raghav Kumar Gautam commented on STORM-1861:
--------------------------------------------

This is likely to interfere with any kind of automation which depends on exit code to detect errors.

> 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)