You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Stig Rohde Døssing (JIRA)" <ji...@apache.org> on 2017/07/19 13:06:00 UTC

[jira] [Created] (STORM-2641) storm.py and storm.ps1 don't handle errors correctly on Windows

Stig Rohde Døssing created STORM-2641:
-----------------------------------------

             Summary: storm.py and storm.ps1 don't handle errors correctly on Windows
                 Key: STORM-2641
                 URL: https://issues.apache.org/jira/browse/STORM-2641
             Project: Apache Storm
          Issue Type: Bug
    Affects Versions: 2.0.0
            Reporter: Stig Rohde Døssing
            Assignee: Stig Rohde Døssing


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)



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