You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Rohini Palaniswamy (JIRA)" <ji...@apache.org> on 2017/05/24 16:21:04 UTC
[jira] [Resolved] (PIG-2648) MapReduceLauncher squashes unchecked
exceptions
[ 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)