[
https://issues.apache.org/jira/browse/PIG-2648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13258715#comment-13258715
]
Daniel Dai commented on PIG-2648:
---------------------------------
Can you make a patch?
> 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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira