mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From " (JIRA)" <>
Subject [jira] [Commented] (MESOS-182) Patch for CDH3u3 for mesos 0.9.0
Date Sat, 28 Apr 2012 01:20:49 GMT

] commented on MESOS-182:

This is an automatically generated e-mail. To reply, visit:

Review request for mesos and Matei Zaharia.


I wanted to break down the changes to Hadoop so that someone could see exactly how minimal
they really are. In addition, I wanted the patches to the Hadoop source code itself to be
clearly identifiable. So, I broke the mega patch up. Now, we apply the small Hadoop patch
(which has been submitted to Hadoop trunk), COPY the Mesos contrib code over, and then apply
two other small patches for and mapred-site.xml.

In addition, we also copy the native library into lib as well as the mesos.jar and protobuf.jar
so that we don't need to point to any build directory. Likewise, we don't even need to set
MESOS_NATIVE_LIBRARY at all! The resulting patch for is very small indeed.

I also deleted the hadoop.tar.gz that we included because I figured it would be just as easy
to download it via the tutorial (once it's downloaded once, the tutorial just keeps using
that, only deleting it if you do a 'make clean').

The final directory you get after running 'make hadoop-' can be zipped, copied,
and used right away in a Mesos cluster.

I also used the patch from to do the same
thing for cdh3u3. You get this via 'make hadoop-0.20.2-cdh3u3'.

This addresses bug MESOS-182.


  hadoop/mesos/src/java/org/apache/hadoop/mapred/ PRE-CREATION 
  hadoop/mesos/src/java/org/apache/hadoop/mapred/ PRE-CREATION 
  hadoop/mesos/ivy/ PRE-CREATION 
  hadoop/mapred-site.xml.patch PRE-CREATION 
  hadoop/mesos-executor PRE-CREATION 
  hadoop/mesos/build.xml PRE-CREATION 
  hadoop/mesos/ivy.xml PRE-CREATION 
  hadoop/ PRE-CREATION 
  hadoop/hadoop- PRE-CREATION 
  hadoop/hadoop- 4764496 
  hadoop/hadoop- bc605a3 
  hadoop/ 6733ef5 
  hadoop/ PRE-CREATION 
  hadoop/hadoop-0.20.2-cdh3u3_mesos.patch PRE-CREATION 
  hadoop/hadoop- c113001 
  hadoop/hadoop-0.20.2-cdh3u3.patch PRE-CREATION 
  hadoop/ c122387 
  hadoop/TUTORIAL 36f5fb0 
  hadoop/ PRE-CREATION 
  README 0d58255 f1e2c3a 
  ec2/ PRE-CREATION 99a21d7 
  hadoop/mesos/src/java/org/apache/hadoop/mapred/ PRE-CREATION

  hadoop/mesos/src/java/org/apache/hadoop/mapred/ PRE-CREATION 
  hadoop/mesos/src/java/org/apache/hadoop/mapred/ PRE-CREATION



$ pwd
$ make hadoop-
$ make hadoop-0.20.2-cdh3u3



> Patch for CDH3u3 for mesos 0.9.0
> --------------------------------
>                 Key: MESOS-182
>                 URL:
>             Project: Mesos
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 0.9.0
>            Reporter: Hiral Patel
>            Priority: Trivial
>              Labels: patch
>         Attachments: 0001-Manually-patched-using-0.20.250-patch-for-mesos-plus.patch
> I've attached a patch for cdh3u3 which uses the patch for 0.20.205 as a bases plus adds
protobuff jar and a mesos-0.9.0.jar compiled from RC3.  I tested it on my local machine with
wordcount to validate the tasks run on mesos.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message