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

storm.py and storm.ps1 don't handle errors correctly on Windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0.0
    • 2.0.0
    • None
    • None

    Description

      The powershell script doesn't return the exit code it gets when running the python script. This causes it to always return 0.

      When the python script executes a java class on Windows, it throws away the subprocess output if there's an error. This makes it difficult to figure out why the process failed (e.g. "storm jar" with an incorrect class name)

      Attachments

        Issue Links

          Activity

            People

              srdo Stig Rohde Døssing
              srdo Stig Rohde Døssing
              Votes:
              0 Vote for this issue
              Watchers:
              1 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 - 0.5h
                  0.5h