-
Notifications
You must be signed in to change notification settings - Fork 58
Description
Anyone can help me on the following error..
[hadoop@linux01 mpich2-yarn-master]$ mvn clean package
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.apache.hadoop.yarn.mpi:mpich2-yarn:jar:1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-jar-plugin is missing. @ line 54, column 12
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building mpich2-yarn 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ mpich2-yarn ---
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ mpich2-yarn ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ mpich2-yarn ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 36 source files to /ifs/home/hadoop/tmp/mpich2-yarn-master/target/classes
[WARNING] /ifs/home/hadoop/tmp/mpich2-yarn-master/src/main/java/org/apache/hadoop/yarn/mpi/server/handler/MPINMAsyncHandler.java:[17,12] unmappable character for encoding UTF-8
[WARNING] /ifs/home/hadoop/tmp/mpich2-yarn-master/src/main/java/org/apache/hadoop/yarn/mpi/server/handler/MPINMAsyncHandler.java:[17,14] unmappable character for encoding UTF-8
[WARNING] /ifs/home/hadoop/tmp/mpich2-yarn-master/src/main/java/org/apache/hadoop/yarn/mpi/server/handler/MPINMAsyncHandler.java:[17,15] unmappable character for encoding UTF-8
[WARNING] /ifs/home/hadoop/tmp/mpich2-yarn-master/src/main/java/org/apache/hadoop/yarn/mpi/server/handler/MPIAMRMAsyncHandler.java:[20,12] unmappable character for encoding UTF-8
[WARNING] /ifs/home/hadoop/tmp/mpich2-yarn-master/src/main/java/org/apache/hadoop/yarn/mpi/server/handler/MPIAMRMAsyncHandler.java:[20,14] unmappable character for encoding UTF-8
[WARNING] /ifs/home/hadoop/tmp/mpich2-yarn-master/src/main/java/org/apache/hadoop/yarn/mpi/server/handler/MPIAMRMAsyncHandler.java:[20,15] unmappable character for encoding UTF-8
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ mpich2-yarn ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /ifs/home/hadoop/tmp/mpich2-yarn-master/src/test/resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ mpich2-yarn ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 5 source files to /ifs/home/hadoop/tmp/mpich2-yarn-master/target/test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ mpich2-yarn ---
[INFO] Surefire report directory: /ifs/home/hadoop/tmp/mpich2-yarn-master/target/surefire-reports
T E S T S
Running org.apache.hadoop.yarn.mpi.util.TestUtilities
log4j:WARN No appenders could be found for logger (org.apache.hadoop.yarn.mpi.util.TestUtilities).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Number0 Phrase is: XwemlFQjv1iIAjaC
Number5 Phrase is: dLR6Ym7usaKoNNDD
Number25 Phrase is: QDereGDnl3YgNOaL
Number125 Phrase is: 7I6XvRhsJR0XGKrs
Number625 Phrase is: k3W6Jzg0irarfwPm
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.473 sec
Running org.apache.hadoop.yarn.mpi.util.TestClient
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.401 sec
Running org.apache.hadoop.yarn.mpi.util.TestStringEfficiency
This test case will prove String.format() is memory friendly.
String.format() time: 1307, memory:4386400
Operator '+' time: 114, memory:269696
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 1.514 sec <<< FAILURE!
testMessageEfficiency(org.apache.hadoop.yarn.mpi.util.TestStringEfficiency) Time elapsed: 1.513 sec <<< FAILURE!
java.lang.AssertionError:
at org.junit.Assert.fail(Assert.java:91)
at org.junit.Assert.assertTrue(Assert.java:43)
at org.junit.Assert.assertTrue(Assert.java:54)
at org.apache.hadoop.yarn.mpi.util.TestStringEfficiency.testMessageEfficiency(TestStringEfficiency.java:47)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
at org.junit.runners.BlockJUnit4ClassRunner.runNotIgnored(BlockJUnit4ClassRunner.java:79)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:71)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:49)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:193)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:52)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:191)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:42)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:184)
at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
Running org.apache.hadoop.yarn.mpi.server.TestMPDListener
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.185 sec
Running org.apache.hadoop.yarn.mpi.server.TestMPIClientService
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.006 sec
Results :
Failed tests: testMessageEfficiency(org.apache.hadoop.yarn.mpi.util.TestStringEfficiency)
Tests run: 9, Failures: 1, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 22.096 s
[INFO] Finished at: 2014-11-07T07:43:39+08:00
[INFO] Final Memory: 18M/51M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project mpich2-yarn: There are test failures.
[ERROR]
[ERROR] Please refer to /ifs/home/hadoop/tmp/mpich2-yarn-master/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
[hadoop@linux01 mpich2-yarn-master]$