Return-Path: Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: (qmail 87566 invoked from network); 22 May 2010 18:14:43 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 22 May 2010 18:14:43 -0000 Received: (qmail 31416 invoked by uid 500); 22 May 2010 18:14:43 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 31157 invoked by uid 500); 22 May 2010 18:14:41 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 31141 invoked by uid 99); 22 May 2010 18:14:41 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 May 2010 18:14:41 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [206.190.38.136] (HELO web51005.mail.re2.yahoo.com) (206.190.38.136) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 22 May 2010 18:14:34 +0000 Received: (qmail 5240 invoked by uid 60001); 22 May 2010 18:14:12 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1274552052; bh=VnrXlFUf+Ib8P4cfmcMQDTsTmetjqhQbBntz1GPbCSs=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=MH4foSKXdEhg8d/V2LUeiG+2xlcwG3+iwA5DmPxkVQ5unLW//9vB3bkWr8jCLbZMmNhtb4I8urGW8uNcT2mtXaWNQ2pi39yQu+CfbSY+QfPjWhJWrRvbBiVcbTeLMc5A7Um9JjOiqe5KdEf8k7RPBGF3M6WzPq5D6KdueD2EYYo= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=4t42bWqE5I1h6Fsy4dWI0tcRLjaT5Iu6XrEufrtxNVPwniuN7Vvpx10HoIZzCHBxraH6OVtlUjxPqSiEJjpTQxwDs8Xoam+nMi5SgZK815A+8/QoWxIpmbgMdi/IajAqL/xTrg/CQkSoF7XXszVhHeXejC7pTEbiGMV28xNXK8A=; Message-ID: <539035.3293.qm@web51005.mail.re2.yahoo.com> X-YMail-OSG: Tjc6780VM1k9gRWZkgT.Ry.UFqOwfwp5QuN1bX7CQ5woNCw iR6i29Eaf14DcN1YM3ICNArk38MG3oUgB4evCjYu6zJ29cJxUMNawngfg1UK nVgaAPEZDOP6FeJu2EB_Z.FO5K3k8r4yje3NDeww8MNbq5BhX5.2F_uWUH4. w1YYXy99cL6qx0uPC1InVfvBaOuQna2TJMK8jCfHfLJL8sma9USpSyvLJ4YE 8mtgDko0yGYKGuYL35XpEzeUdBTcSqwu30G7yyMG79t7uUs75Hd8GCGgrLx2 f9xnRBS3jwVe0JNHaY_taYJnx75YhMlSH95MZWQ-- Received: from [65.219.168.131] by web51005.mail.re2.yahoo.com via HTTP; Sat, 22 May 2010 11:14:12 PDT X-Mailer: YahooMailClassic/11.0.8 YahooMailWebService/0.8.103.269680 Date: Sat, 22 May 2010 11:14:12 -0700 (PDT) From: Harold Lim Subject: Re: Problem compiling from source To: hdfs-user@hadoop.apache.org, hdfs-dev@hadoop.apache.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org Thanks!. That worked. =0A=0A=0A-Harold=0A=0A--- On Fri, 5/21/10, Jitendra N= ath Pandey wrote:=0A=0A> From: Jitendra Nath Pande= y =0A> Subject: Re: Problem compiling from source= =0A> To: hdfs-user@hadoop.apache.org, "hdfs-dev@hadoop.apache.org" =0A> Date: Friday, May 21, 2010, 1:10 PM=0A> Hi Harold,= =0A> =A0 It seems you don't have latest hdfs code.=0A> KerberosInfo annotat= ion has=0A> slightly changed in the latest code.=0A> =A0 Also, KerberosInfo= not being found means you have=0A> older jar for common.=0A> Try 'ant clea= n clean-cache'=A0 before compiling.=0A> =0A> > How do I force the compile t= o use my own jar file, the=0A> jar from the version of=0A> > hadoop-common = that I have?=0A> =0A> To use your on version of jar do ant mvn-install in t= he the=0A> common=0A> And in hdfs give -Dresolvers=3Dinternal flag to the a= nt=0A> command line. Please=0A> make sure to clean-cache before this.=0A> = =0A> =0A> On 5/20/10 10:35 PM, "Harold Lim" =0A> wrote:= =0A> =0A> > Hi,=0A> > =0A> > I also have the source from hadoop-common. How= ever,=0A> when I do ant clean jar=0A> > from hdfs folder, ivy seems to try = and download the=0A> hadoop-core jar file from=0A> > the repository? =0A> >= =0A> > Maybe the newer version of hadoop-core is not=0A> compatible with m= ine?=0A> > How do I force the compile to use my own jar file, the=0A> jar f= rom the version of=0A> > hadoop-common that I have?=0A> > =0A> > =0A> > Tha= nks,=0A> > Harold=0A> > =0A> > --- On Fri, 5/21/10, Sagar Shukla =0A> wrote:=0A> > =0A> >> From: Sagar Shukla =0A> >> Subject: RE: Problem compiling from source=0A= > >> To: "hdfs-user@hadoop.apache.org"=0A> ,= =0A> >> "hdfs-dev@hadoop.apache.org"=0A> =0A> >= > Date: Friday, May 21, 2010, 12:28 AM=0A> >> Hi Harold,=0A> >> =A0 =A0 =A0= The error message "cannot find symbol"=0A> >> hints of not having necessar= y libraries. Looks=0A> like it is=0A> >> trying to access Kerberos librarie= s which it is=0A> unable to=0A> >> find. You can check if all the required = Kerberos=0A> libraries=0A> >> are available.=0A> >> =0A> >> Regards,=0A> >>= Sagar=0A> >> =0A> >> -----Original Message-----=0A> >> From: Harold Lim [m= ailto:rold_50@yahoo.com]=0A> >> Sent: Friday, May 21, 2010 9:54 AM=0A> >> T= o: hdfs-dev@hadoop.apache.org=0A> >> Cc: hdfs-user@hadoop.apache.org=0A> >>= Subject: Problem compiling from source=0A> >> =0A> >> Hi All,=0A> >> =0A> = >> =0A> >> For some reason, my hdfs source code can't compile=0A> anymore.= =0A> >> ~1-2 weeks ago it was compiling fine but now it's=0A> not. I=0A> >>= haven't made any changes to my code since I last=0A> compiled.=0A> >> =0A>= >> When I do ant clean jar: I get the following=0A> errors.=0A> >> =0A> >>= compile-hdfs-classes:=0A> >> =A0=A0=A0[javac] Compiling 198 source files t= o=0A> >> /hadoop_0.22/hdfs_new/build/classes=0A> >> =A0=A0=A0[javac]=0A> >>= =0A> /hadoop_0.22/hdfs_new/src/java/org/apache/hadoop/hdfs/protocol/ClientP= rotoco=0A> >> l.java:53: cannot find symbol=0A> >> =A0=A0=A0[javac] symbol= =A0 : method value()=0A> >> =A0=A0=A0[javac] location: @interface=0A> >> or= g.apache.hadoop.security.KerberosInfo=0A> >> =A0=A0=A0[javac]=0A> >>=0A> @K= erberosInfo(DFSConfigKeys.DFS_NAMENODE_USER_NAME_KEY)=0A> >> =A0=A0=A0[java= c]=A0 =A0 =A0 =A0 =A0=0A> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=0A> >> =A0 ^= =0A> >> =A0=A0=A0[javac]=0A> >>=0A> /hadoop_0.22/hdfs_new/src/java/org/apac= he/hadoop/hdfs/server/protocol/Nameno=0A> >> deProtocol.java:34: cannot fin= d symbol=0A> >> =A0=A0=A0[javac] symbol=A0 : method value()=0A> >> =A0=A0= =A0[javac] location: @interface=0A> >> org.apache.hadoop.security.KerberosI= nfo=0A> >> =A0=A0=A0[javac]=0A> >>=0A> @KerberosInfo(DFSConfigKeys.DFS_NAME= NODE_USER_NAME_KEY)=0A> >> =A0=A0=A0[javac]=A0 =A0 =A0 =A0 =A0=0A> >> =A0 = =A0 =A0 =A0 =A0 =A0 =A0 =A0=0A> >> =A0 ^=0A> >> =A0=A0=A0[javac]=0A> >>=0A>= /hadoop_0.22/hdfs_new/src/java/org/apache/hadoop/hdfs/server/protocol/Inte= rD=0A> >> atanodeProtocol.java:33: cannot find symbol=0A> >> =A0=A0=A0[java= c] symbol=A0 : method value()=0A> >> =A0=A0=A0[javac] location: @interface= =0A> >> org.apache.hadoop.security.KerberosInfo=0A> >> =A0=A0=A0[javac]=0A>= >>=0A> @KerberosInfo(DFSConfigKeys.DFS_NAMENODE_USER_NAME_KEY)=0A> >> =A0= =A0=A0[javac]=A0 =A0 =A0 =A0 =A0=0A> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=0A>= >> =A0 ^=0A> >> =A0=A0=A0[javac]=0A> >>=0A> /hadoop_0.22/hdfs_new/src/java= /org/apache/hadoop/hdfs/server/protocol/Datano=0A> >> deProtocol.java:40: c= annot find symbol=0A> >> =A0=A0=A0[javac] symbol=A0 : method value()=0A> >>= =A0=A0=A0[javac] location: @interface=0A> >> org.apache.hadoop.security.Ke= rberosInfo=0A> >> =A0=A0=A0[javac]=0A> >>=0A> @KerberosInfo(DFSConfigKeys.D= FS_NAMENODE_USER_NAME_KEY)=0A> >> =A0=A0=A0[javac]=A0 =A0 =A0 =A0 =A0=0A> >= > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=0A> >> =A0 ^=0A> >> =A0=A0=A0[javac]=0A> = >>=0A> /hadoop_0.22/hdfs_new/src/java/org/apache/hadoop/hdfs/protocol/Clien= tProtoco=0A> >> l.java:53: annotation=0A> >> org.apache.hadoop.security.Ker= berosInfo is=0A> missing=0A> >> serverPrincipal=0A> >> =A0=A0=A0[javac]=0A>= >>=0A> @KerberosInfo(DFSConfigKeys.DFS_NAMENODE_USER_NAME_KEY)=0A> >> =A0= =A0=A0[javac] ^=0A> >> =A0=A0=A0[javac]=0A> >>=0A> /hadoop_0.22/hdfs_new/sr= c/java/org/apache/hadoop/hdfs/server/protocol/Nameno=0A> >> deProtocol.java= :34: annotation=0A> >> org.apache.hadoop.security.KerberosInfo is=0A> >> mi= ssing serverPrincipal=0A> >> =A0=A0=A0[javac]=0A> >>=0A> @KerberosInfo(DFSC= onfigKeys.DFS_NAMENODE_USER_NAME_KEY)=0A> >> =A0=A0=A0[javac] ^=0A> >> =A0= =A0=A0[javac]=0A> >>=0A> /hadoop_0.22/hdfs_new/src/java/org/apache/hadoop/h= dfs/server/protocol/InterD=0A> >> atanodeProtocol.java:33: annotation=0A> >= > org.apache.hadoop.security.KerberosInfo=0A> >> is missing serverPrincipal= =0A> >> =A0=A0=A0[javac]=0A> >>=0A> @KerberosInfo(DFSConfigKeys.DFS_NAMENOD= E_USER_NAME_KEY)=0A> >> =A0=A0=A0[javac] ^=0A> >> =A0=A0=A0[javac]=0A> >>= =0A> /hadoop_0.22/hdfs_new/src/java/org/apache/hadoop/hdfs/server/protocol/= Datano=0A> >> deProtocol.java:40: annotation=0A> >> org.apache.hadoop.secur= ity.KerberosInfo is=0A> >> missing serverPrincipal=0A> >> =A0=A0=A0[javac]= =0A> >>=0A> @KerberosInfo(DFSConfigKeys.DFS_NAMENODE_USER_NAME_KEY)=0A> >> = =A0=A0=A0[javac] ^=0A> >> =A0=A0=A0[javac] Note: Some input files use or=0A= > >> override a deprecated API.=0A> >> =A0=A0=A0[javac] Note: Recompile wit= h=0A> >> -Xlint:deprecation for details.=0A> >> =A0=A0=A0[javac] 8 errors= =0A> >> =0A> >> BUILD FAILED=0A> >> =0A> >> =0A> >> =0A> >> =0A> >> DISCLAI= MER=0A> >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=0A> >> This e-mail may contain pr= ivileged and=0A> confidential=0A> >> information which is the property of P= ersistent=0A> Systems Ltd.=0A> >> It is intended only for the use of the in= dividual=0A> or entity=0A> >> to which it is addressed. If you are not the= =0A> intended=0A> >> recipient, you are not authorized to read, retain,=0A>= copy,=0A> >> print, distribute or use this message. If you have=0A> receiv= ed=0A> >> this communication in error, please notify the=0A> sender and=0A>= >> delete all copies of this message. Persistent=0A> Systems Ltd.=0A> >> d= oes not accept any liability for virus infected=0A> mails.=0A> >> =0A> > = =0A> > =0A> > =0A> =0A> =0A=0A=0A