[
https://issues.apache.org/jira/browse/PIG-2648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Rohini Palaniswamy resolved PIG-2648.
-------------------------------------
Resolution: Duplicate
> 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)