[
https://issues.apache.org/jira/browse/STORM-2338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jungtaek Lim resolved STORM-2338.
---------------------------------
Resolution: Fixed
Fix Version/s: 1.0.3
1.1.0
2.0.0
Thanks [[email protected]], I merged insto master, 1.x, 1.0.x branches.
> Subprocess exception handling is broken in storm.py on Windows environment
> --------------------------------------------------------------------------
>
> Key: STORM-2338
> URL: https://issues.apache.org/jira/browse/STORM-2338
> Project: Apache Storm
> Issue Type: Bug
> Components: storm-core
> Affects Versions: 2.0.0, 1.x, 0.10.3
> Reporter: Tibor Kiss
> Assignee: Tibor Kiss
> Priority: Minor
> Fix For: 2.0.0, 1.1.0, 1.0.3
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> There is typo in the exception handling branch in {{storm.py::
> exec_storm_class()}}:
> {code}
> try:
> ret = sub.check_output(all_args, stderr=sub.STDOUT)
> print(ret)
> except sub.CalledProcessor as e:
> sys.exit(e.returncode)
> {code}
> There is no "CalledProcessor" type of exception exists in subprocess module.
> The correct exception name is CalledProcessError.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)