hadoop-mapreduce-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Avinash Kujur <avin...@gmail.com>
Subject Re: regarding hadoop source code
Date Tue, 11 Mar 2014 12:10:45 GMT
after executing this command :
mvn clean install

i am getting this error.

Failed tests:
  TestMetricsSystemImpl.testMultiThreadedPublish:232 expected:<0> but
was:<5>
  TestNetUtils.testNormalizeHostName:617 null

TestFsShellReturnCode.testGetWithInvalidSourcePathShouldNotDisplayNullInConsole:307
Return code should be 1 expected:<1> but was:<-1>
  TestFsShellReturnCode.testInvalidDefaultFS:379 Return code should be 0
  TestActiveStandbyElector.testWithoutZKServer:719 Did not throw zookeeper
connection loss exceptions!

Tests in error:
  TestZKFailoverController.testGracefulFailover:444->Object.wait:-2 »  test
time...
  TestConfigurationDeprecation.testConcurrentDeprecateAndManipulate:400 »
test ...

Tests run: 2312, Failures: 5, Errors: 2, Skipped: 103

[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Apache Hadoop Main ................................ SUCCESS [  9.745
s]
[INFO] Apache Hadoop Project POM ......................... SUCCESS [  2.895
s]
[INFO] Apache Hadoop Annotations ......................... SUCCESS [ 13.955
s]
[INFO] Apache Hadoop Project Dist POM .................... SUCCESS [  3.720
s]
[INFO] Apache Hadoop Assemblies .......................... SUCCESS [  1.121
s]
[INFO] Apache Hadoop Maven Plugins ....................... SUCCESS [ 14.362
s]
[INFO] Apache Hadoop MiniKDC ............................. SUCCESS [01:05
min]
[INFO] Apache Hadoop Auth ................................ SUCCESS [02:31
min]
[INFO] Apache Hadoop Auth Examples ....................... SUCCESS [  3.487
s]
[INFO] Apache Hadoop Common .............................. FAILURE [27:23
min]
[INFO] Apache Hadoop NFS ................................. SKIPPED
[INFO] Apache Hadoop Common Project ...................... SKIPPED
[INFO] Apache Hadoop HDFS ................................ SKIPPED
[INFO] Apache Hadoop HttpFS .............................. SKIPPED
[INFO] Apache Hadoop HDFS BookKeeper Journal ............. SKIPPED
[INFO] Apache Hadoop HDFS-NFS ............................ SKIPPED
[INFO] Apache Hadoop HDFS Project ........................ SKIPPED
[INFO] hadoop-yarn ....................................... SKIPPED
[INFO] hadoop-yarn-api ................................... SKIPPED
[INFO] hadoop-yarn-common ................................ SKIPPED
[INFO] hadoop-yarn-server ................................ SKIPPED
[INFO] hadoop-yarn-server-common ......................... SKIPPED
[INFO] hadoop-yarn-server-nodemanager .................... SKIPPED
[INFO] hadoop-yarn-server-web-proxy ...................... SKIPPED
[INFO] hadoop-yarn-server-applicationhistoryservice ...... SKIPPED
[INFO] hadoop-yarn-server-resourcemanager ................ SKIPPED
[INFO] hadoop-yarn-server-tests .......................... SKIPPED
[INFO] hadoop-yarn-client ................................ SKIPPED
[INFO] hadoop-yarn-applications .......................... SKIPPED
[INFO] hadoop-yarn-applications-distributedshell ......... SKIPPED
[INFO] hadoop-yarn-applications-unmanaged-am-launcher .... SKIPPED
[INFO] hadoop-yarn-site .................................. SKIPPED
[INFO] hadoop-yarn-project ............................... SKIPPED
[INFO] hadoop-mapreduce-client ........................... SKIPPED
[INFO] hadoop-mapreduce-client-core ...................... SKIPPED
[INFO] hadoop-mapreduce-client-common .................... SKIPPED
[INFO] hadoop-mapreduce-client-shuffle ................... SKIPPED
[INFO] hadoop-mapreduce-client-app ....................... SKIPPED
[INFO] hadoop-mapreduce-client-hs ........................ SKIPPED
[INFO] hadoop-mapreduce-client-jobclient ................. SKIPPED
[INFO] hadoop-mapreduce-client-hs-plugins ................ SKIPPED
[INFO] Apache Hadoop MapReduce Examples .................. SKIPPED
[INFO] hadoop-mapreduce .................................. SKIPPED
[INFO] Apache Hadoop MapReduce Streaming ................. SKIPPED
[INFO] Apache Hadoop Distributed Copy .................... SKIPPED
[INFO] Apache Hadoop Archives ............................ SKIPPED
[INFO] Apache Hadoop Rumen ............................... SKIPPED
[INFO] Apache Hadoop Gridmix ............................. SKIPPED
[INFO] Apache Hadoop Data Join ........................... SKIPPED
[INFO] Apache Hadoop Extras .............................. SKIPPED
[INFO] Apache Hadoop Pipes ............................... SKIPPED
[INFO] Apache Hadoop OpenStack support ................... SKIPPED
[INFO] Apache Hadoop Client .............................. SKIPPED
[INFO] Apache Hadoop Mini-Cluster ........................ SKIPPED
[INFO] Apache Hadoop Scheduler Load Simulator ............ SKIPPED
[INFO] Apache Hadoop Tools Dist .......................... SKIPPED
[INFO] Apache Hadoop Tools ............................... SKIPPED
[INFO] Apache Hadoop Distribution ........................ SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 32:00 min
[INFO] Finished at: 2014-03-11T05:01:00-08:00
[INFO] Final Memory: 52M/238M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-surefire-plugin:2.16:test (default-test) on
project hadoop-common: There are test failures.
[ERROR]
[ERROR] Please refer to
/home/cloudera/hadoop/hadoop-common-project/hadoop-common/target/surefire-reports
for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

i have already updated my java to 1.7 as u mentioned earlier.
help me out plz.

regards,
avinash



On Mon, Mar 10, 2014 at 9:10 PM, Oleg Zhurakousky <
oleg.zhurakousky@gmail.com> wrote:

> You must be using Java 1.5 or below where @Override is not allowed on any
> method that implements its counterpart from interface.
> Remember, both 1.5 and 1.6 are EOL, so I would suggest upgrading to 1.7.
> Oleg
>
>
> On Mon, Mar 10, 2014 at 10:49 AM, Avinash Kujur <avinz50@gmail.com> wrote:
>
>>
>> hi,
>>
>> i downloaded the code from https://github.com/apache/hadoop-common.git .
>>
>> but while executing the command
>>
>> mvn install -DskipTests
>>
>> its giving this error in between:
>>
>> [INFO] --- maven-compiler-plugin:2.5.1:compile (default-compile) @ hadoop-hdfs-httpfs
---
>>
>>
>> [INFO] Compiling 56 source files to /home/cloudera/hadoop/hadoop-hdfs-project/hadoop-hdfs-httpfs/target/classes
>> [INFO] -------------------------------------------------------------
>> [ERROR] COMPILATION ERROR :
>> [INFO] -------------------------------------------------------------
>>
>>
>> [ERROR] /home/cloudera/hadoop/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/client/HttpFSFileSystem.java:[921,2]
method does not override or implement a method from a supertype
>> [ERROR] /home/cloudera/hadoop/hadoop-hdfs-project/hadoop-hdfs-httpfs/src/main/java/org/apache/hadoop/fs/http/client/HttpsFSFileSystem.java:[26,7]
org.apache.hadoop.fs.http.client.HttpsFSFileSystem is not abstract and does not override abstract
method setDelegationToken(org.apache.hadoop.security.token.Token) in org.apache.hadoop.fs.DelegationTokenRenewer.Renewable
>>
>>
>> [INFO] 2 errors
>> [INFO] -------------------------------------------------------------
>> [INFO] ------------------------------------------------------------------------
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] Apache Hadoop Main ................................ SUCCESS [  8.062 s]
>>
>>
>> [INFO] Apache Hadoop Project POM ......................... SUCCESS [  2.231 s]
>> [INFO] Apache Hadoop Annotations ......................... SUCCESS [  4.954 s]
>> [INFO] Apache Hadoop Project Dist POM .................... SUCCESS [  5.232 s]
>>
>>
>> [INFO] Apache Hadoop Assemblies .......................... SUCCESS [  1.923 s]
>> [INFO] Apache Hadoop Maven Plugins ....................... SUCCESS [ 18.385 s]
>> [INFO] Apache Hadoop MiniKDC ............................. SUCCESS [  8.739 s]
>>
>>
>> [INFO] Apache Hadoop Auth ................................ SUCCESS [  7.932 s]
>> [INFO] Apache Hadoop Auth Examples ....................... SUCCESS [  2.803 s]
>> [INFO] Apache Hadoop Common .............................. SUCCESS [ 55.787 s]
>>
>>
>> [INFO] Apache Hadoop NFS ................................. SUCCESS [  3.162 s]
>> [INFO] Apache Hadoop Common Project ...................... SUCCESS [  0.256 s]
>> [INFO] Apache Hadoop HDFS ................................ SUCCESS [01:40 min]
>>
>>
>> [INFO] Apache Hadoop HttpFS .............................. FAILURE [  2.917 s]
>> [INFO] Apache Hadoop HDFS BookKeeper Journal ............. SKIPPED
>> [INFO] Apache Hadoop HDFS-NFS ............................ SKIPPED
>>
>>
>> [INFO] Apache Hadoop HDFS Project ........................ SKIPPED
>> [INFO] hadoop-yarn ....................................... SKIPPED
>> [INFO] hadoop-yarn-api ................................... SKIPPED
>>
>>
>> did you guys faced the same problem?
>>
>> plz give me some suggestion.
>>
>> Regards Avinash
>>
>>
>

Mime
View raw message