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

Nandor Kollar commented on PIG-2648:
------------------------------------

It seems this is fixed meanwhile in PIG-2699. [~rohini] can we close this with 
not applicable?

> MapReduceLauncher squashes unchecked exceptions
> -----------------------------------------------
>
>                 Key: PIG-2648
>                 URL: https://issues.apache.org/jira/browse/PIG-2648
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>            Reporter: Alex Levenson
>
> in:
> org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher.JobControlThreadExceptionHandler
> {code}
> jobControlExceptionStackTrace = getStackStraceStr(throwable);
> try { 
>     jobControlException = 
> getExceptionFromString(jobControlExceptionStackTrace);
> } catch (Exception e) {
>     String errMsg = "Could not resolve error that occured when launching map 
> reduce job: "
>             + jobControlExceptionStackTrace;
>     jobControlException = new RuntimeException(errMsg);
> }
> {code}
> The catch clause does not chain the original exception, this made tracking 
> down: https://issues.apache.org/jira/browse/PIG-2645 a lot more difficult.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to