hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Anderson <t.dt.aander...@gmail.com>
Subject Could not resolve dependencies for project org.apache.hadoop:yarn-api:jar:1.0-SNAPSHOT
Date Thu, 05 May 2011 03:43:01 GMT
I follow the instruction at
http://svn.apache.org/repos/asf/hadoop/mapreduce/branches/MR-279/INSTALL

But at step 2, the command `ant veryclean mvn-install
-Dresolvers=internal ` throws errors (http://pastebin.com/MsZQHtGS).

compile-hdfs-classes:
    [javac] /home/user/HDFS-1052/build.xml:345: warning:
'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 239 source files to /home/user/HDFS-1052/build/classes
    [javac] /home/user/HDFS-1052/src/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java:117:
cannot find symbol
    [javac] symbol  : class ProtocolSignature
    [javac] location: package org.apache.hadoop.ipc
    [javac] import org.apache.hadoop.ipc.ProtocolSignature;
    [javac]                             ^
    [javac] /home/user/HDFS-1052/src/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java:2329:
cannot find symbol
    [javac] symbol  : class ProtocolSignature
    [javac] location: class org.apache.hadoop.hdfs.server.datanode.DataNode
    [javac]   public ProtocolSignature getProtocolSignature(String protocol,
    [javac]          ^
    [javac] /home/user/HDFS-1052/src/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java:86:
cannot find symbol
    [javac] symbol  : class ProtocolSignature
    [javac] location: package org.apache.hadoop.ipc
    [javac] import org.apache.hadoop.ipc.ProtocolSignature;
    [javac]                             ^
    [javac] /home/user/HDFS-1052/src/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java:166:
cannot find symbol
    [javac] symbol  : class ProtocolSignature
    [javac] location: class org.apache.hadoop.hdfs.server.namenode.NameNode
    [javac]   public ProtocolSignature getProtocolSignature(String protocol,
    [javac]          ^
    [javac] /home/user/HDFS-1052/src/java/org/apache/hadoop/fs/Hdfs.java:317:
method does not override or implement a method from a supertype
    [javac]   @Override
    [javac]   ^
    [javac] /home/user/HDFS-1052/src/java/org/apache/hadoop/fs/Hdfs.java:399:
cannot find symbol
    [javac] symbol  : method getCanonicalServiceName()
    [javac] location: class org.apache.hadoop.fs.Hdfs
    [javac]     result.setService(new Text(this.getCanonicalServiceName()));
    [javac]                                    ^
    [javac] /home/user/HDFS-1052/src/java/org/apache/hadoop/fs/Hdfs.java:395:
method does not override or implement a method from a supertype
    [javac]   @Override //AbstractFileSystem
    [javac]   ^
    [javac] /home/user/HDFS-1052/src/java/org/apache/hadoop/hdfs/DFSClient.java:681:
cannot find symbol
    [javac] symbol  : method
validate(java.util.EnumSet<org.apache.hadoop.fs.CreateFlag>)
    [javac] location: class org.apache.hadoop.fs.CreateFlag
    [javac]     CreateFlag.validate(flag);
    [javac]               ^
    [javac] /home/user/HDFS-1052/src/java/org/apache/hadoop/hdfs/DistributedFileSystem.java:611:
method does not override or implement a method from a supertype
    [javac]   @Override
    [javac]   ^
    [javac] /home/user/HDFS-1052/src/java/org/apache/hadoop/hdfs/DistributedFileSystem.java:818:
method does not override or implement a method from a supertype
    [javac]   @Override // FileSystem
    [javac]   ^
    [javac] /home/user/HDFS-1052/src/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java:2331:
cannot find symbol
    [javac] symbol  : variable ProtocolSignature
    [javac] location: class org.apache.hadoop.hdfs.server.datanode.DataNode
    [javac]     return ProtocolSignature.getProtocolSignature(
   [javac]            ^
    [javac] /home/user/HDFS-1052/src/java/org/apache/hadoop/hdfs/server/datanode/DataNode.java:2328:
method does not override or implement a method from a supertype
    [javac]   @Override
    [javac]   ^
    [javac] /home/user/HDFS-1052/src/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java:168:
cannot find symbol
    [javac] symbol  : variable ProtocolSignature
    [javac] location: class org.apache.hadoop.hdfs.server.namenode.NameNode
    [javac]     return ProtocolSignature.getProtocolSignature(
    [javac]            ^
    [javac] /home/user/HDFS-1052/src/java/org/apache/hadoop/hdfs/server/namenode/NameNode.java:165:
method does not override or implement a method from a supertype
    [javac]   @Override
    [javac]   ^
    [javac] /home/user/HDFS-1052/src/java/org/apache/hadoop/hdfs/server/namenode/SecondaryNameNode.java:204:
cannot find symbol
    [javac] symbol  : method get(int)
    [javac] location: class java.lang.String[]
    [javac]
Krb5AndCertsSslSocketConnector.KRB5_CIPHER_SUITES.get(0));
    [javac]                                                                  ^
    [javac] /home/user/HDFS-1052/src/java/org/apache/hadoop/hdfs/tools/DFSAdmin.java:273:
cannot find symbol
    [javac] symbol  : method getFS()
    [javac] location: class org.apache.hadoop.hdfs.tools.DFSAdmin
    [javac]     FileSystem fs = getFS();
    [javac]                     ^
    [javac] /home/user/HDFS-1052/src/java/org/apache/hadoop/hdfs/tools/DFSck.java:240:
cannot find symbol
    [javac] symbol  : method get(int)
    [javac] location: class java.lang.String[]
    [javac]           Krb5AndCertsSslSocketConnector.KRB5_CIPHER_SUITES.get(0));
    [javac]                                                            ^
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] 17 errors


This seems to cause the error below is thrown because it requires hdfs
artifact installed. How to solve this problem?

Could not resolve dependencies for project
org.apache.hadoop:yarn-api:jar:1.0-SNAPSHOT: Could not find artifact
org.apache.hadoop:hadoop-hdfs:jar:0.22.0-SNAPSHOT in
jboss-public-repository-group
(https://repository.jboss.org/nexus/content/groups/public-jboss/)

Thanks for help.

Mime
View raw message