You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Ravi Tandon (JIRA)" <ji...@apache.org> on 2017/07/27 21:21:00 UTC

[jira] [Closed] (STORM-720) Storm.cmd should return ERRORLEVEL before exiting main block

     [ https://issues.apache.org/jira/browse/STORM-720?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ravi Tandon closed STORM-720.
-----------------------------
    Resolution: Duplicate

The PR was never merged as of STORM-2558 the batch scripts have been deleted and the storm.ps1 exits with $LastExcitCode, so this is no longer needed. I will discard the PR related to this JIRA.

> Storm.cmd should return ERRORLEVEL before exiting main block
> ------------------------------------------------------------
>
>                 Key: STORM-720
>                 URL: https://issues.apache.org/jira/browse/STORM-720
>             Project: Apache Storm
>          Issue Type: Bug
>          Components: storm-core
>    Affects Versions: 0.9.3, 0.9.4
>            Reporter: Ravi Tandon
>            Assignee: Ravi Tandon
>            Priority: Trivial
>             Fix For: 0.9.3, 0.9.4
>
>         Attachments: storm_cmd_exitcode_rev0.patch
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> This JIRA is for a very small PR that I will post soon (attached patch)
> Issue: The Storm.cmd does not exit with an ErrorLevel.
> Impact: Any automation via windows banks on return or exit code from the program to determine success.
> When can this occur: Passing wrong arguments (like wrong class name or bad topology builder code) to java will result in error and any automation program will check on the exit code.
> FYI @ [~harsha_ch] [~shanyu]



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)