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

Storm.cmd should return ERRORLEVEL before exiting main block

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Duplicate
    • 0.9.3, 0.9.4
    • 0.9.3, 0.9.4
    • storm-core
    • 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 @ harsha_ch shanyu

      Attachments

        1. storm_cmd_exitcode_rev0.patch
          0.3 kB
          Ravi Tandon

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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