You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by Giridharan Kesavan <gk...@yahoo-inc.com> on 2009/07/16 13:00:47 UTC

hdfs build fails with latest trunks hadoop-core.jar

Hdfs build fails as we compile it with the latest hadoop-core-0.21.0-dev.jar build from latest common/trunk

compile-hdfs-classes:
    [javac] Compiling 151 source files to /home/gkesavan/hdfs-trunk/build/classes
    [javac] /home/gkesavan/hdfs-trunk/src/java/org/apache/hadoop/hdfs/DFSClient.java:177: cannot find symbol
    [javac] symbol  : method getTimeout(org.apache.hadoop.conf.Configuration)
    [javac] location: class org.apache.hadoop.ipc.Client
    [javac]     this.hdfsTimeout = Client.getTimeout(conf);
    [javac]                              ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 1 error

Can someone take a look?

Thanks,
Giri

Re: hdfs build fails with latest trunks hadoop-core.jar

Posted by Dhruba Borthakur <dh...@gmail.com>.
The hadoop-core-0.21-dev.jar is checked into the lib directory in hdfs
trunk. This was a change I made to it last Sunday.

svn log hadoop-core-0.21.0-dev.jar
------------------------------------------------------------------------
r793365 | dhruba | 2009-07-12 08:34:17 -0700 (Sun, 12 Jul 2009) | 3 lines
HDFS-278. Pull in changes from version 793364 from common.

I think your workspace does not have this. If you do an "svn update" on your
workspace, it should compile fine.

thanks,
dhruba


On Thu, Jul 16, 2009 at 4:00 AM, Giridharan Kesavan
<gk...@yahoo-inc.com>wrote:

> Hdfs build fails as we compile it with the latest
> hadoop-core-0.21.0-dev.jar build from latest common/trunk
>
> compile-hdfs-classes:
>    [javac] Compiling 151 source files to
> /home/gkesavan/hdfs-trunk/build/classes
>    [javac]
> /home/gkesavan/hdfs-trunk/src/java/org/apache/hadoop/hdfs/DFSClient.java:177:
> cannot find symbol
>    [javac] symbol  : method
> getTimeout(org.apache.hadoop.conf.Configuration)
>    [javac] location: class org.apache.hadoop.ipc.Client
>    [javac]     this.hdfsTimeout = Client.getTimeout(conf);
>    [javac]                              ^
>    [javac] Note: Some input files use or override a deprecated API.
>    [javac] Note: Recompile with -Xlint:deprecation for details.
>    [javac] 1 error
>
> Can someone take a look?
>
> Thanks,
> Giri
>

Re: hdfs build fails with latest trunks hadoop-core.jar

Posted by Dhruba Borthakur <dh...@gmail.com>.
Looking at it


Dhruba



On 7/16/09, Giridharan  Kesavan <gk...@yahoo-inc.com> wrote:
> Hdfs build fails as we compile it with the latest hadoop-core-0.21.0-dev.jar
> build from latest common/trunk
>
> compile-hdfs-classes:
>     [javac] Compiling 151 source files to
> /home/gkesavan/hdfs-trunk/build/classes
>     [javac]
> /home/gkesavan/hdfs-trunk/src/java/org/apache/hadoop/hdfs/DFSClient.java:177:
> cannot find symbol
>     [javac] symbol  : method
> getTimeout(org.apache.hadoop.conf.Configuration)
>     [javac] location: class org.apache.hadoop.ipc.Client
>     [javac]     this.hdfsTimeout = Client.getTimeout(conf);
>     [javac]                              ^
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] 1 error
>
> Can someone take a look?
>
> Thanks,
> Giri
>

-- 
Sent from Gmail for mobile | mobile.google.com