Uploaded image for project: 'Pig'
  1. Pig
  2. PIG-2648

MapReduceLauncher squashes unchecked exceptions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • impl
    • None

    Description

      in:
      org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher.JobControlThreadExceptionHandler

      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);
      }
      

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              alexlevenson Alex Levenson
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: