hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mohammad Mustaqeem <3m.mustaq...@gmail.com>
Subject Re: Building Hadoop from source code
Date Tue, 09 Apr 2013 09:02:54 GMT
@Ling, you mean to say to run "find -name *tar*"??
I run but don't know which file will be used to install Hadoop.

@Niranjan
I haven't changed anything I just executed "svn checkout
http://svn.apache.org/repos/asf/hadoop/common/trunk/ hadoop-trunk" to get
the Hadoop source code in the "hadoop-trunk" directory.
After that I executed the "cd hadoop-trunk" and finally executed "mvn
package -Pdist -Dtar -DskipTests -Dmaven.javadoc.skip=true".
I want to ask what is location of tar file created which can be used to
install the Hadoop ??


On Tue, Apr 9, 2013 at 2:08 PM, maisnam ns <maisnam.ns@gmail.com> wrote:

> @Mohammad Mustaqeem - Once you create the patch as given in the 'How to
> contribute to Hadoop' and apply the patch. The  changes will be reflected
> in the files you have modified.
>
> 1.Now you trigger the build ant or maven. I tried with ant so the ant
> command I gave is  ant clean compile bin-package. Don't forget to download
> ivy.jar and copy into you ant home/ lib folder. Once the build is triggered
> Hadoop should get built along with the changes you made.
>
> If , I am not mistaken , you modified some hadoop files say
> BlockLocation.java, in your
> Hadoopx.x\src\core\org\apache\hadoop\fs\BlockLocation.java.
>
> The jar will be in Hadoopx.x\build\hadoop-0.20.3-dev-core.jar(In my
> version)
>
> Hope this clears your doubt.
>
> Regards
> Niranjan Singh
>
>
> On Tue, Apr 9, 2013 at 1:38 PM, Mohammad Mustaqeem
> <3m.mustaqeem@gmail.com>wrote:
>
> > @Steve
> > I am new to Hadoop developement.
> > Can you please tell me, whats is the location of tar file??
> >
> >
> > On Tue, Apr 9, 2013 at 12:09 AM, Steve Loughran <stevel@hortonworks.com
> > >wrote:
> >
> > > On 8 April 2013 16:08, Mohammad Mustaqeem <3m.mustaqeem@gmail.com>
> > wrote:
> > >
> > > > Please, tell what I am doing wrong??
> > > > Whats the problem??
> > > >
> > >
> > > a lot of these seem to be network-related tests. You can turn off all
> the
> > > tests; look in BUILDING.TXT at the root of the source tree for the
> > various
> > > operations, then add -DskipTests to the end of every command, such as
> > >
> > > mvn package -Pdist -Dtar -DskipTests
> > >
> > > to build the .tar packages
> > >
> > >  mvn package -Pdist -Dtar -DskipTests -Dmaven.javadoc.skip=true
> > > to turn off the javadoc creation too, for an even faster build
> > >
> >
> >
> >
> > --
> > *With regards ---*
> > *Mohammad Mustaqeem*,
> > M.Tech (CSE)
> > MNNIT Allahabad
> > 9026604270
> >
>



-- 
*With regards ---*
*Mohammad Mustaqeem*,
M.Tech (CSE)
MNNIT Allahabad
9026604270

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message