Pawan Agarwal 2012-03-08, 23:35
Matt Foley 2012-03-08, 23:52
-RE: Why is hadoop build I generated from a release branch different from release build?
ant -p (not for 0.23+) will tell you the available build targets.
Use mvn (maven) for 0.23 or newer
From: Matt Foley [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 08, 2012 3:52 PM
To: [EMAIL PROTECTED]
Subject: Re: Why is hadoop build I generated from a release branch different from release build?
The complete way releases are built (for v0.20/v1.0) is documented at
However, that does a bunch of stuff you don't need, like generate the documentation and do a ton of cross-checks.
The full set of ant build targets are defined in build.xml in the top level of the source code tree.
"binary" may be the target you want.
On Thu, Mar 8, 2012 at 3:35 PM, Pawan Agarwal <[EMAIL PROTECTED]>wrote:
> I am trying to generate hadoop binaries from source and execute hadoop
> from the build I generate. I am able to build, however I am seeing
> that as part of build *bin* folder which comes with hadoop
> installation is not generated in my build. Can someone tell me how to
> do a build so that I can generate build equivalent to hadoop release
> build and which can be used directly to run hadoop.
> Here's the details.
> Desktop: Ubuntu Server 11.10
> Hadoop version for installation: 0.20.203.0 (link:
> Hadoop Branch used build: branch-0.20-security-203 Build Command used:
> "Ant maven-install"
> Here's the directory structures from build I generated vs hadoop
> official release build.
> *Hadoop directory which I generated:*
> pawan@ubuntu01:/hadoop0.20.203.0/hadoop-common/build$ ls -1 ant
> *Official Hadoop build installation*
> pawan@ubuntu01:/hadoop0.20.203.0/hadoop-common/build$ ls /hadoop -1
> bin build.xml
> Any pointers for help are greatly appreciated?
> Also, if there are any other resources for understanding hadoop build
> system, pointers to that would be also helpful.
Pawan Agarwal 2012-03-09, 04:26