hadoop-pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Gates (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (PIG-80) Stacktrace information is lost at MapReduceLauncher.java:289
Date Thu, 14 Feb 2008 17:55:08 GMT

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

Alan Gates resolved PIG-80.
---------------------------

       Resolution: Fixed
    Fix Version/s: 0.1.0

Last patch (PIG-80-v05.patch) without changes to use generics checked in.  Ben Reed convinced
me that there were very few cases where we were throwing anything other than an IOException,
so making the wrapping mechanism generic wasn't worth the extra effort.  Thank Benjamin for
the patch.

> Stacktrace information is lost at MapReduceLauncher.java:289
> ------------------------------------------------------------
>
>                 Key: PIG-80
>                 URL: https://issues.apache.org/jira/browse/PIG-80
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: 0.1.0
>            Reporter: Benjamin Francisoud
>            Priority: Minor
>             Fix For: 0.1.0
>
>         Attachments: PIG-80-generics.patch, PIG-80-v01.patch, PIG-80-v02.patch, PIG-80-v03.patch,
PIG-80-v04.patch, PIG-80-v05.patch
>
>
> {code:java}
> ...
> }catch (Exception e) {
>     // Do we need different handling for different exceptions
>     e.printStackTrace();
>     throw new IOException(e.getMessage());
> }finally{ ...
> {code}
> in my case the sandard output is redirtected to /dev/null so "e.printStackTrace();" is
lost.
> it should be :
> {code:java}throw new IOException(e);{code} 
> no getMessage() because we loose the rest of the stacktrace

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message