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/20 21:31:00 UTC

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

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

Stig Rohde Døssing resolved STORM-2641.
---------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.0.0

> 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
>             Fix For: 2.0.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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)