hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Amit Gupta <gupta.v.a...@gmail.com>
Subject Need Help with HDFS Build Failure
Date Sun, 17 Apr 2011 00:37:27 GMT
Hi,
I'm an HDFS newbie. I'm trying to learn more about HDFS by doing a
student project.

Ive been facing build breaks since today with the error messages:

============================================================================================================
*compile-hdfs-test:*
*    [javac] Compiling 194 source files to
/media/Spring_2011/Distributed_Systems/project/hadoop_source_code/hadoop-hdfs/build/test/hdfs/classes
*
*    [javac]
/media/Spring_2011/Distributed_Systems/project/hadoop_source_code/hadoop-hdfs/src/test/hdfs/org/apache/hadoop/cli/CmdFactoryDFS.java:20:
cannot find symbol*
*    [javac] symbol  : class CLICommands*
*    [javac] location: package org.apache.hadoop.cli.util*
*    [javac] import org.apache.hadoop.cli.util.CLICommands;*
*    [javac]                                  ^*
*    [javac]
/media/Spring_2011/Distributed_Systems/project/hadoop_source_code/hadoop-hdfs/src/test/hdfs/org/apache/hadoop/cli/CmdFactoryDFS.java:22:
cannot find symbol*
*    [javac] symbol  : class CmdFactory*
*    [javac] location: package org.apache.hadoop.cli.util*
*    [javac] import org.apache.hadoop.cli.util.CmdFactory;*
*    [javac]                                  ^*
*    [javac]
/media/Spring_2011/Distributed_Systems/project/hadoop_source_code/hadoop-hdfs/src/test/hdfs/org/apache/hadoop/cli/CmdFactoryDFS.java:26:
cannot find symbol*
*    [javac] symbol: class CmdFactory*
*    [javac] public abstract class CmdFactoryDFS extends CmdFactory {*
*    [javac]                                             ^*
*    [javac]
/media/Spring_2011/Distributed_Systems/project/hadoop_source_code/hadoop-hdfs/src/test/hdfs/org/apache/hadoop/cli/CmdFactoryDFS.java:27:
cannot find symbol*
*    [javac] symbol  : class TestCmd*
*    [javac] location: class org.apache.hadoop.cli.util.CLITestData*
*    [javac]   public static CommandExecutor
getCommandExecutor(CLITestData.TestCmd cmd,*
*    [javac]                                                               ^
*
*    [javac]
/media/Spring_2011/Distributed_Systems/project/hadoop_source_code/hadoop-hdfs/src/test/hdfs/org/apache/hadoop/cli/TestHDFSCLI.java:21:
cannot find symbol*
*    [javac] symbol  : class TestCmd*
*    [javac] location: class org.apache.hadoop.cli.util.CLITestData*
*    [javac] import org.apache.hadoop.cli.util.CLITestData.TestCmd;*
*    [javac]                                              ^*
*    [javac]
/media/Spring_2011/Distributed_Systems/project/hadoop_source_code/hadoop-hdfs/src/test/hdfs/org/apache/hadoop/cli/TestHDFSCLI.java:93:
cannot find symbol*
*    [javac] symbol  : class TestCmd*
*    [javac] location: class org.apache.hadoop.cli.TestHDFSCLI*
*    [javac]   protected Result execute(TestCmd cmd) throws Exception {*
*    [javac]                            ^*
*    [javac]
/media/Spring_2011/Distributed_Systems/project/hadoop_source_code/hadoop-hdfs/src/test/hdfs/org/apache/hadoop/cli/CmdFactoryDFS.java:32:
cannot find symbol*
*    [javac] symbol  : variable DFSADMIN*
*    [javac] location: class org.apache.hadoop.cli.CmdFactoryDFS*
*    [javac]       case DFSADMIN:*
*    [javac]            ^*
*    [javac]
/media/Spring_2011/Distributed_Systems/project/hadoop_source_code/hadoop-hdfs/src/test/hdfs/org/apache/hadoop/cli/CmdFactoryDFS.java:33:
package CLICommands does not exist*
*    [javac]         executor = new CLICommands.FSCmdExecutor(tag, new
DFSAdmin());*
*    [javac]                                   ^*
*    [javac]
/media/Spring_2011/Distributed_Systems/project/hadoop_source_code/hadoop-hdfs/src/test/hdfs/org/apache/hadoop/cli/CmdFactoryDFS.java:36:
cannot find symbol*
*    [javac] symbol  : variable CmdFactory*
*    [javac] location: class org.apache.hadoop.cli.CmdFactoryDFS*
*    [javac]         executor = CmdFactory.getCommandExecutor(cmd, tag);*
*    [javac]                    ^*
*    [javac]
/media/Spring_2011/Distributed_Systems/project/hadoop_source_code/hadoop-hdfs/src/test/hdfs/org/apache/hadoop/hdfs/server/namenode/TestStorageRestore.java:355:
cannot find symbol*
*    [javac] symbol  : class TestCmd*
*    [javac] location: class org.apache.hadoop.cli.util.CLITestData*
*    [javac]           new CLITestData.TestCmd(cmd,
CLITestData.TestCmd.CommandType.DFSADMIN),*
*    [javac]                          ^*
*    [javac]
/media/Spring_2011/Distributed_Systems/project/hadoop_source_code/hadoop-hdfs/src/test/hdfs/org/apache/hadoop/hdfs/server/namenode/TestStorageRestore.java:355:
cannot find symbol*
*    [javac] symbol  : variable TestCmd*
*    [javac] location: class org.apache.hadoop.cli.util.CLITestData*
*    [javac]           new CLITestData.TestCmd(cmd,
CLITestData.TestCmd.CommandType.DFSADMIN),*
*    [javac]                                                   ^*
*    [javac] Note: Some input files use or override a deprecated API.*
*    [javac] Note: Recompile with -Xlint:deprecation for details.*
*    [javac] 11 errors*
============================================================================================================

Ive tried applying the following patch (posted by  Konstantin Boudnik)

https://issues.apache.org/jira/browse/HDFS-1486

to my code , but the build continues to fail.

Also, Is there a way for me to build HDFS while excluding hdfs-test for the
time being?

I'd appreciate any help someone could give me with understanding/resolving
this.

Thanks,
-- 
Amit Gupta

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