[prev in list] [next in list] [prev in thread] [next in thread]
List: mesos-dev
Subject: [jira] [Created] (MESOS-139) The hadoop patch is missing a catch block for patching the latest CDH
From: "Matthew Rathbone (Created) (JIRA)" <jira () apache ! org>
Date: 2012-01-27 18:00:10
Message-ID: 797801878.1123.1327687210972.JavaMail.tomcat () hel ! zones ! apache ! org
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic