You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Benjamin Mahler (JIRA)" <ji...@apache.org> on 2013/02/08 00:27:13 UTC

[jira] [Resolved] (MESOS-139) The hadoop patch is missing a catch block for patching the latest CDH

     [ https://issues.apache.org/jira/browse/MESOS-139?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Mahler resolved MESOS-139.
-----------------------------------

    Resolution: Won't Fix

We've re-written the hadoop scheduler and executor, they no longer have this code present.
                
> 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
For more information on JIRA, see: http://www.atlassian.com/software/jira