 +  <import file="../build-contrib.xml"/>
 +
 +</project>
-diff -X excludes -Nru hadoop-0.20.2.orig/src/contrib/mesos/ivy/libraries.properties hadoop-0.20.2/src/contrib/mesos/ivy/libraries.properties
+diff -X excludes -ruN hadoop-0.20.2.orig/src/contrib/mesos/ivy/libraries.properties hadoop-0.20.2/src/contrib/mesos/ivy/libraries.properties
 --- hadoop-0.20.2.orig/src/contrib/mesos/ivy/libraries.properties	1969-12-31 16:00:00.000000000 -0800
-+++ hadoop-0.20.2/src/contrib/mesos/ivy/libraries.properties	2011-03-19 19:36:37.000000000 -0700
++++ hadoop-0.20.2/src/contrib/mesos/ivy/libraries.properties	2011-10-12 18:24:05.000000000 -0700
 @@ -0,0 +1,5 @@
 +#This properties file lists the versions of the various artifacts used by streaming.
 +#It drives ivy and the generation of a maven POM
 +
 +#Please list the dependencies name with version if they are different from the ones 
 +#listed in the global libraries.properties file (in alphabetical order)
-diff -X excludes -Nru hadoop-0.20.2.orig/src/contrib/mesos/ivy.xml hadoop-0.20.2/src/contrib/mesos/ivy.xml
+diff -X excludes -ruN hadoop-0.20.2.orig/src/contrib/mesos/ivy.xml hadoop-0.20.2/src/contrib/mesos/ivy.xml
 --- hadoop-0.20.2.orig/src/contrib/mesos/ivy.xml	1969-12-31 16:00:00.000000000 -0800
-+++ hadoop-0.20.2/src/contrib/mesos/ivy.xml	2011-06-26 20:02:27.000000000 -0700
++++ hadoop-0.20.2/src/contrib/mesos/ivy.xml	2011-10-12 18:24:05.000000000 -0700
 @@ -0,0 +1,42 @@
 +<?xml version="1.0" ?>
 +<ivy-module version="1.0">

+    System.exit(1);
+  }
+}
diff -X excludes -Nru hadoop-0.20.2.orig/src/contrib/mesos/src/java/org/apache/hadoop/mapred/MesosJobTrackerRunner.java hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/MesosJobTrackerRunner.java
--- hadoop-0.20.2.orig/src/contrib/mesos/src/java/org/apache/hadoop/mapred/MesosJobTrackerRunner.java	1969-12-31 16:00:00.000000000 -0800
+++ hadoop-0.20.2/src/contrib/mesos/src/java/org/apache/hadoop/mapred/MesosJobTrackerRunner.java	2011-03-19 19:36:37.000000000 -0700
@@ -0,0 +1,132 @@
+package org.apache.hadoop.mapred;
+

+  }
+  
+  @Override
+  public void resourceOffers(SchedulerDriver d, List<Offer> offers) {
+    try {
+      synchronized(jobTracker) {
+        
+        int numOffers = (int) offers.size();
+        double[] cpus = new double[numOffers];
