Return-Path: X-Original-To: apmail-hadoop-common-dev-archive@www.apache.org Delivered-To: apmail-hadoop-common-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8A2471009C for ; Tue, 9 Apr 2013 11:59:23 +0000 (UTC) Received: (qmail 35541 invoked by uid 500); 9 Apr 2013 11:59:21 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 35386 invoked by uid 500); 9 Apr 2013 11:59:21 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 35366 invoked by uid 99); 9 Apr 2013 11:59:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Apr 2013 11:59:20 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of 3m.mustaqeem@gmail.com designates 209.85.192.175 as permitted sender) Received: from [209.85.192.175] (HELO mail-pd0-f175.google.com) (209.85.192.175) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Apr 2013 11:59:16 +0000 Received: by mail-pd0-f175.google.com with SMTP id g10so3534243pdj.34 for ; Tue, 09 Apr 2013 04:58:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=DUaPgmKKdL/3o0JPCCXmpCsZSMMWpFanescSXKvPGQc=; b=Av+jAOB49fP8B9EmrwJG845iO17dEKNGZ1n9x6HvQX5+8g3V+VaYBOrOjwMRx68AMn ra6npOTVNIhhhDAezj+1rNXcLEczwMxd4BagGHf8sISwRVF0ELrtCAWUNUz+b+3Z4+76 CUbbO7t3xZzdXblobWH9oT5DfQCbiSLgXpYQ3YQg9flVRSMWno/7z0YFGG95F9EBrEbQ fOBsEjCoAm70KFyAopEhbTDX7EWbSuGfFiDc+tSsNFqzwccqNFWYO+XPkTQY4G31Q5sV yX1uxPqDyd+Pf704/rCpHNVIZw3wQXm6nII3NJUUaViPM+m5C32lmR2+qPdyrVK2mbtR bpXQ== X-Received: by 10.66.6.231 with SMTP id e7mr24274538paa.218.1365508735554; Tue, 09 Apr 2013 04:58:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.70.24.197 with HTTP; Tue, 9 Apr 2013 04:58:35 -0700 (PDT) In-Reply-To: References: From: Mohammad Mustaqeem <3m.mustaqeem@gmail.com> Date: Tue, 9 Apr 2013 17:28:35 +0530 Message-ID: Subject: Re: Building Hadoop from source code To: common-dev Content-Type: multipart/mixed; boundary=bcaec5314b271edcb004d9ec472e X-Virus-Checked: Checked by ClamAV on apache.org --bcaec5314b271edcb004d9ec472e Content-Type: multipart/alternative; boundary=bcaec5314b271edcac04d9ec472c --bcaec5314b271edcac04d9ec472c Content-Type: text/plain; charset=ISO-8859-1 @maisnam, I am using ubuntu and after running svn I get hadoop folder as given in screenshot. I didn't finf any build folder On Tue, Apr 9, 2013 at 5:22 PM, maisnam ns wrote: > @@Mohammad Mustaqeem please ignore the earlier mail as the screenshots > where not copied in the mail I have attached a doc file. > > You can follow the steps earlier using the screenshots I have attached. > > > On Tue, Apr 9, 2013 at 5:15 PM, maisnam ns wrote: > >> @Mohammad Mustaqeem please follow the screenshots one by one >> >> >> cd build you will find >> >> >> Now cd hadoop-0.20.3-dev you will find the below screenshot >> >> >> Now the bin contains all the scripts you may need to start hadoop >> 1. Go to that bin directory and format your namenode >> 2. configure you site-xmls >> 3. start-all.sh note there are other ways also >> 4. do jps to see if all daemons are running >> >> >> >> On Tue, Apr 9, 2013 at 4:54 PM, Mohammad Mustaqeem < >> 3m.mustaqeem@gmail.com> wrote: >> >>> Please, anyone tell me where is the build hadoop?? >>> that can be used to install the hadoop cluster. >>> >>> >>> On Tue, Apr 9, 2013 at 2:32 PM, Mohammad Mustaqeem >>> <3m.mustaqeem@gmail.com>wrote: >>> >>> > @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 >>> 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 >>> > >>> > >>> > >>> >>> >>> -- >>> *With regards ---* >>> *Mohammad Mustaqeem*, >>> M.Tech (CSE) >>> MNNIT Allahabad >>> 9026604270 >>> >> >> > -- *With regards ---* *Mohammad Mustaqeem*, M.Tech (CSE) MNNIT Allahabad 9026604270 --bcaec5314b271edcac04d9ec472c Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
@maisnam, I am using ubuntu and after running svn I get ha= doop folder as given in screenshot.
I didn't finf any build f= older


On Tue, Apr 9, 2013 at 5:22 PM, maisnam ns <maisnam.ns@gmail.com>= ; wrote:
@@Mohammad Mustaqeem please ignore the earlier mail a= s the screenshots where not copied in the mail I have attached a doc file.<= br>
You can follow the steps earlier using the screenshots I have = attached.


On Tue, Apr 9, 2013 at 5:15 PM, maisnam ns <= ;maisnam.ns@gmail= .com> wrote:
<= div>
@Mohammad Mustaqeem please follow the = screenshots one by one

3D""
cd build you will find

3D""<= br>
Now cd hadoop-0.20.3-dev you will find the below sc= reenshot

=A03D""
Now the bin contains all the scripts you may n= eed to start hadoop
1. Go to t= hat bin directory and format your namenode
2. configur= e you site-xmls
3. start-all.sh=A0 note there are other ways a= lso
4. do jps to see if all daemons ar= e running



On Tue, Apr 9, 2013 at 4:54 PM, Mohammad= Mustaqeem <3m.mustaqeem@gmail.com> wrote:
Please, anyone tell me where is the build ha= doop??
that can be used to install the hadoop cluster.


On Tue, Apr 9, 2013 at 2:32 PM, Mohammad Mustaqeem
<3= m.mustaqeem@gmail.com>wrote:

> @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/ hadoo= p-trunk" to get
> the Hadoop source code in the "hadoop-trunk" directory.
> After that I executed the "cd hadoop-trunk" and finally exec= uted "mvn
> package -Pdist -Dtar -DskipTests -Dmaven.javadoc.skip=3Dtrue". > I want to ask what is location of tar file created which can be used t= o
> 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 &#= 39;How to
>> contribute to Hadoop' and apply the patch. The =A0changes 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 =A0ant clean compile bin-package. Don't forg= et to download
>> ivy.jar and copy into you ant home/ lib folder. Once the build is<= br> >> 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 m= y
>> 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 tr= ee for the
>> > various
>> > > operations, then add -DskipTests to the end of every com= mand, such as
>> > >
>> > > mvn package -Pdist -Dtar -DskipTests
>> > >
>> > > to build the .tar packages
>> > >
>> > > =A0mvn package -Pdist -Dtar -DskipTests -Dmaven.javadoc.= skip=3Dtrue
>> > > 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*,
> =A0M.Tech (CSE)
> MNNIT Allahabad
> 9026604270
>
>
>


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





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

--bcaec5314b271edcac04d9ec472c-- --bcaec5314b271edcb004d9ec472e--