Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-720

Storm.cmd should return ERRORLEVEL before exiting main block

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Duplicate
    • Affects Version/s: 0.9.3, 0.9.4
    • Fix Version/s: 0.9.3, 0.9.4
    • Component/s: storm-core
    • Labels:
      None

      Description

      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 @ sriharsha chintalapani shanyu zhao

        Attachments

        1. storm_cmd_exitcode_rev0.patch
          0.3 kB
          Ravi Tandon

          Issue Links

            Activity

              People

              • Assignee:
                rtandonmsft Ravi Tandon
                Reporter:
                rtandonmsft Ravi Tandon
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m