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

Rohini Palaniswamy commented on PIG-3178:
-----------------------------------------

public void error(Object message);
public void error(Object message, Throwable t);

It is logging only the message as the first API is used. Can you just add a 
message - LOG.error("Error running blah blah", t); - so that the stacktrace 
gets logged.
                
> Print a stacktrace when ExecutableManager hits an OOM
> -----------------------------------------------------
>
>                 Key: PIG-3178
>                 URL: https://issues.apache.org/jira/browse/PIG-3178
>             Project: Pig
>          Issue Type: Improvement
>            Reporter: Koji Noguchi
>            Assignee: Koji Noguchi
>            Priority: Trivial
>         Attachments: pig-3178-trunk-v01.patch
>
>
> When looking at user's pig streaming failing with OOM, it only showed
> 2013-02-09 03:35:08,694 ERROR [Thread-14]
> org.apache.pig.impl.streaming.ExecutableManager: java.lang.OutOfMemoryError:
> Java heap space
> It would have been nice if it also showed the stack trace.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to