@Mohammad Mustaqeem, Hadoop can be built using maven and ant

1.Building with maven assuming you are using ubuntu
First download  Hadoop by issuing the command-----svn checkout
http://svn.apache.org/repos/asf/hadoop/common/trunk/ hadoop-trunk(this you
can find in how to contribute to hadoop wiki)
now cd to hadoop-trunk there you will find one file called pom.xml.

a. Type the command ------------sudo apt-get install maven(This will
install maven latest) if you have not installed maven, in case you have
installed maven version < 3 version it will give you errors. type mvn
-version and see what version you have if you don't have the latest one
just follow a.
b. then use the command
mvn package -Pdist -Dtar -DskipTests -Dmaven.javadoc.skip=true(now maven
will start downloading the dependencies and build)
c. the final hadoop-x.x.x-snaphsot.tar.gz will be inside
hadoop-trunk/hadoop-dist/target/  now you will have other files also.
d.unzip the tar.gz and unzip and start your hadoop as if you have
downloaded hadoop from cloudera or from apache.hope you know how to start
the daemons and run the basic map reduce programs.

for ant as you have mentioned earlier you are not using it so i am leaving
it. i have already discussed building with ant earlier.

Regards
niranjan singh

(sorry my caps lock is not working properly )




On Wed, Apr 10, 2013 at 6:24 PM, Mohammad Mustaqeem
<3m.mustaq...@gmail.com>wrote:

> @Chandrashekhar, How you build the Hadoop??
> Plz, guide me.
> I also want to build.
> Which version of Hadoop u are using?
>
>
> On Wed, Apr 10, 2013 at 5:01 PM, Chandrashekhar Kotekar <
> shekhar.kote...@gmail.com> wrote:
>
> > Hello everyone,
> >
> > Its been some time I have used Hadoop in my projects and now I want to
> > contribute back to Hadoop. So this is my first time I am trying to
> > contribute to Hadoop. I do not have experience of contributing to any
> open
> > source project.
> >
> > I would like to know how to start working on an issue? Till now I have
> > downloaded Hadoop source code and successfully built it.
> >
> > Now I have chosen one trivial issue which I think I can solve but I do
> not
> > how to start working on it.
> >
> > If I have some question regarding the functionality of some piece of code
> > then to whom can I ask?
> >
> > Do we need to learn by debugging or other people who know that piece of
> > code will help us?
> >
> > Request you to please help.
> >
> > Thanks and Regards,
> > Chandrash3khar
> >
>
>
>
> --
> *With regards ---*
> *Mohammad Mustaqeem*,
> M.Tech (CSE)
> MNNIT Allahabad
> 9026604270
>

Reply via email to