-Re: How to build hadoop-2.0.3-alpha-src project to get a project like hadoop-2.0.3-alpha?
Chris Nauroth 2013-04-26, 15:44
After running that mvn command, you'll have a tarball located at
hadoop-dist/target/hadoop-<version>.tar.gz. You mentioned that you're
working with hadoop-2.0.3-alpha, so I expect the full path would
be hadoop-dist/target/hadoop-2.0.3-alpha.tar.gz. This is the full
distribution tarball. If you extract this in its own directory using "tar
xf", then I expect you'll get what you need.
If for some reason you need just individual components (i.e. just HDFS or
just Hadoop Common), then you can find similar component-specific tarballs
in the target directory of each sub-module.
Hope this helps!
On Thu, Apr 25, 2013 at 10:06 PM, sam liu <[EMAIL PROTECTED]> wrote:
> I got hadoop-2.0.3-alpha-src.tar.gz and hadoop-2.0.3-alpha.tar.gz, but
> found they have different structures as below:
> - hadoop-2.0.3-alpha contains folder/file:
> bin etc include lib libexec LICENSE.txt NOTICE.txt README.txt sbin
> - hadoop-2.0.3-alpha-src.tar.gz contains folder/file:
> BUILDING.txt hadoop-client hadoop-hdfs-project
> hadoop-project hadoop-yarn-project
> pom.xml releasenotes.HDFS.2.0.3-alpha.html
> dev-support hadoop-common-project hadoop-mapreduce-project
> hadoop-project-dist LICENSE.txt
> hadoop-assemblies hadoop-dist hadoop-minicluster
> hadoop-tools NOTICE.txt
> releasenotes.HADOOP.2.0.3-alpha.html releasenotes.YARN.2.0.3-alpha.html
> And then, in hadoop-2.0.3-alpha-src, I successfully run 'mvn package -Pdist
> -DskipTests -Dtar', but do not know how to get a target project which has
> similar folder/file structure like the downloaded 'hadoop-2.0.3-alpha'
> project after building. Any suggestions?
> Sam Liu