|
|
-
Re: JUint test failing in HDFS when building Hadoop from source.Hemanth Yamijala 2013-02-20, 02:14
Hi,
In the past, some tests have been flaky. It would be good if you can search jira and see whether this is a known issue. Else, please file it, and if possible, provide a patch. :) Regarding whether this will be a reliable build, it depends a little bit on what you are going to use it for. For development / test purposes, personally, I would still go with it. Thanks Hemanth On Tuesday, February 19, 2013, Leena Rajendran wrote: > Hi, > > I am posting for the first time. Please let me know if this needs to go to > any other mailing list. > > I am trying to build Hadoop from source code, and I am able to > successfully build until the Hadoop-Common-Project. However, in case of > HDFS the test called "TestHftpURLTimeouts" is failing intermittently. > Please note that when I run the test individually, it passes. I have taken > care of all steps given in HowToContribute twiki page of Hadoop. Please let > me know , > > 1. Whether this kind of behaviour is expected > 2. Can this intermittent test case failure be ignored. > 3. Will it be a reliable build if I use the -DskipTests option in mvn > command > > Adding build results below for the following command : mvn -e package > -Pdist,native -Dtar > > Results : > > Failed tests: > testHftpSocketTimeout(org.apache.hadoop.hdfs.TestHftpURLTimeouts): > expected:<connect timed out> but was:<null> > > Tests run: 705, Failures: 1, Errors: 0, Skipped: 3 > > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] Apache Hadoop Main ................................ SUCCESS > [2.280s] > [INFO] Apache Hadoop Project POM ......................... SUCCESS > [2.339s] > [INFO] Apache Hadoop Annotations ......................... SUCCESS > [3.916s] > [INFO] Apache Hadoop Assemblies .......................... SUCCESS > [0.323s] > [INFO] Apache Hadoop Project Dist POM .................... SUCCESS > [2.762s] > [INFO] Apache Hadoop Auth ................................ SUCCESS > [7.695s] > [INFO] Apache Hadoop Auth Examples ....................... SUCCESS > [1.997s] > [INFO] Apache Hadoop Common .............................. SUCCESS > [14:13.276s] > [INFO] Apache Hadoop Common Project ...................... SUCCESS > [0.026s] > [INFO] Apache Hadoop HDFS ................................ FAILURE > [1:36:02.602s] > [INFO] Apache Hadoop HttpFS .............................. SKIPPED > [INFO] Apache Hadoop HDFS BookKeeper Journal ............. 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-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-mapreduce-client ........................... SKIPPED > [INFO] hadoop-mapreduce-client-core ...................... SKIPPED > [INFO] hadoop-yarn-applications-unmanaged-am-launcher .... SKIPPED > [INFO] hadoop-yarn-site .................................. SKIPPED > [INFO] hadoop-yarn-project ............................... 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 |