I had the same question earlier and the answer was buried in another thread. Here's what to do:
1. Get the patch file. Place it in the base directory of your Hadoop install (the one that has the directories src/, bin/, etc) 2. From the base directory of your Hadoop install, type "patch -p0 < name_of_patch_file". 3. Repeat 1 and 2 if you want to apply more patches. Careful that the order in which you apply them might matter. 4. Type "ant tar" from the base directory. 5. You will now have a directory build/ and inside there will be a file named "hadoop-XXX.tar.gz". If you installed Hadoop by downloading a tar ball, treat this new tar ball as you did the one you originally downloaded to install it. Hope that helps. Mac On Mon, Jul 27, 2009 at 2:50 PM, Bill Graham <[email protected]> wrote: > http://wiki.apache.org/hadoop/HowToContribute > > Search for "Applying a patch" and you'll find this: > > patch -p0 < cool_patch.patch > > On Mon, Jul 27, 2009 at 2:33 PM, Gopal Gandhi <[email protected] > >wrote: > > > I am going to apply a patch to hadoop (version 18.3). I searched on line > > but could not find a step by step how-to manual. Would any hadoop guru > tell > > me how to apply a patch, say HADOOP-xxxx.patch to hadoop? Thanks lot. > > > > > > >
