[ 
https://issues.apache.org/jira/browse/PIG-137?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12575826#action_12575826
 ] 

Olga Natkovich commented on PIG-137:
------------------------------------

I ran into the same issue yesterday. I traced it down to the fact that commons 
error command only prints the top exception.

I replaced log.error(e) with e.printStackTrace() in Main and it worked fine.

Experts in commons logging, could you, please, let us know if there is a way to 
resolve this issue.

If it can't be resolved, I think it is bad enough to consider rolling back 
commons stuff.

> test instantiation of StoreFunc in LOStore swallows (cause) exceptions
> ----------------------------------------------------------------------
>
>                 Key: PIG-137
>                 URL: https://issues.apache.org/jira/browse/PIG-137
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>            Reporter: Johannes Zillmann
>
> The current handling
> {noformat}
> IOException ioe = new IOException(e.getMessage());
> ioe.setStackTrace(e.getStackTrace());
> throw ioe;
> {noformat}
> passes the exception message and the stacktrace of the exception, but not the 
> stacktraces of the exceptions wich caused the exception.

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

Reply via email to