The hadoop patch is missing a catch block for patching the latest CDH
---------------------------------------------------------------------

                 Key: MESOS-139
                 URL: https://issues.apache.org/jira/browse/MESOS-139
             Project: Mesos
          Issue Type: Bug
            Reporter: Matthew Rathbone
            Priority: Minor


I had to modify FrameworkExecutor.java to include another catch block, here is 
the diff on the patch after it has been modified


--- frameworks/hadoop-0.20.2/hadoop-mesos.patch (revision 1236419)
+++ frameworks/hadoop-0.20.2/hadoop-mesos.patch (working copy)
@@ -495,7 +495,10 @@
 +    } catch (IOException e) {
 +      LOG.fatal("Failed to deserialize HadoopFrameworkMessage", e);
 +      System.exit(1);
-+    }
++    } catch (InterruptedException e) {
++      LOG.fatal("Failed to close the taskTracker", e);
++      System.exit(1);
++     }
 +  }
 +  
 +  public void statusUpdate(Task task, org.apache.hadoop.mapred.TaskStatus 
status) {


--
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

        

Reply via email to