hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rekha Joshi (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-1457) YARN single node install issues on mvn clean install assembly:assembly on mapreduce project
Date Thu, 28 Nov 2013 10:55:35 GMT

     [ https://issues.apache.org/jira/browse/YARN-1457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rekha Joshi updated YARN-1457:
------------------------------

    Description: 
YARN single node install - http://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/SingleCluster.html

On Mac OSX 10.7.3, Java 1.6, Protobuf 2.5.0 and hadoop-2.0.5-alpha.tar,  mvn clean install
-DskipTests succeds after a YARN fix on pom.xml(using 2.5.0 protobuf)
But on hadoop-mapreduce-project mvn install fails for tests with below errors
$ mvn clean install assembly:assembly -Pnative

errors as in atatched yarn-mvn-mapreduce,txt

On $mvn clean install assembly:assembly  -DskipTests
Reactor Summary:
[INFO] 
[INFO] hadoop-mapreduce-client ........................... SUCCESS [2.410s]
[INFO] hadoop-mapreduce-client-core ...................... SUCCESS [13.781s]
[INFO] hadoop-mapreduce-client-common .................... SUCCESS [8.486s]
[INFO] hadoop-mapreduce-client-shuffle ................... SUCCESS [0.774s]
[INFO] hadoop-mapreduce-client-app ....................... SUCCESS [4.409s]
[INFO] hadoop-mapreduce-client-hs ........................ SUCCESS [1.618s]
[INFO] hadoop-mapreduce-client-jobclient ................. SUCCESS [4.470s]
[INFO] hadoop-mapreduce-client-hs-plugins ................ SUCCESS [0.561s]
[INFO] Apache Hadoop MapReduce Examples .................. SUCCESS [1.620s]
[INFO] hadoop-mapreduce .................................. FAILURE [10.107s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 49.606s
[INFO] Finished at: Thu Nov 28 16:20:52 GMT+05:30 2013
[INFO] Final Memory: 34M/118M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.3:assembly
(default-cli) on project hadoop-mapreduce: Error reading assemblies: No assembly descriptors
found. -> [Help 1]


  was:
YARN single node install - http://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/SingleCluster.html

On Mac OSX 10.7.3, Java 1.6, Protobuf 2.5.0 and hadoop-2.0.5-alpha.tar,  mvn clean install
-DskipTests succeds after a YARN fix on pom.xml(using 2.5.0 protobuf)
But on hadoop-mapreduce-project mvn install fails for tests with below errors
$ mvn clean install assembly:assembly -Pnative


-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running org.apache.hadoop.mapred.TestTaskAttemptListenerImpl
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.294 sec
Running org.apache.hadoop.mapreduce.jobhistory.TestJobHistoryEventHandler
Tests run: 5, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 5.386 sec <<< FAILURE!
testFirstFlushOnCompletionEvent(org.apache.hadoop.mapreduce.jobhistory.TestJobHistoryEventHandler)
 Time elapsed: 2903 sec  <<< ERROR!
org.mockito.exceptions.misusing.NullInsteadOfMockException: 
Argument passed to verify() should be a mock but is null!
Examples of correct verifications:
    verify(mock).someMethod();
    verify(mock, times(10)).someMethod();
    verify(mock, atLeastOnce()).someMethod();
Also, if you use @Mock annotation don't miss initMocks()
	at org.apache.hadoop.mapreduce.jobhistory.TestJobHistoryEventHandler.testFirstFlushOnCompletionEvent(TestJobHistoryEventHandler.java:95)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	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:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	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.mapreduce.v2.app.job.impl.TestJobImpl
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.112 sec <<< FAILURE!
org.apache.hadoop.mapreduce.v2.app.job.impl.TestJobImpl  Time elapsed: 111 sec  <<<
ERROR!
java.lang.Error: Unresolved compilation problem: 

	at org.apache.hadoop.mapreduce.v2.app.job.impl.TestJobImpl.setup(TestJobImpl.java:93)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	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.RunBefores.evaluate(RunBefores.java:27)
	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:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	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)
  testStagingCleanupOrder(org.apache.hadoop.mapreduce.v2.app.TestStagingCleanup): Unresolved
compilation problems: (..)

Tests run: 200, Failures: 2, Errors: 87, Skipped: 0


> YARN single node install issues on mvn clean install assembly:assembly on mapreduce project
> -------------------------------------------------------------------------------------------
>
>                 Key: YARN-1457
>                 URL: https://issues.apache.org/jira/browse/YARN-1457
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: site
>    Affects Versions: 2.0.5-alpha
>            Reporter: Rekha Joshi
>            Priority: Minor
>         Attachments: yarn-mvn-mapreduce.txt
>
>
> YARN single node install - http://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/SingleCluster.html
> On Mac OSX 10.7.3, Java 1.6, Protobuf 2.5.0 and hadoop-2.0.5-alpha.tar,  mvn clean install
-DskipTests succeds after a YARN fix on pom.xml(using 2.5.0 protobuf)
> But on hadoop-mapreduce-project mvn install fails for tests with below errors
> $ mvn clean install assembly:assembly -Pnative
> errors as in atatched yarn-mvn-mapreduce,txt
> On $mvn clean install assembly:assembly  -DskipTests
> Reactor Summary:
> [INFO] 
> [INFO] hadoop-mapreduce-client ........................... SUCCESS [2.410s]
> [INFO] hadoop-mapreduce-client-core ...................... SUCCESS [13.781s]
> [INFO] hadoop-mapreduce-client-common .................... SUCCESS [8.486s]
> [INFO] hadoop-mapreduce-client-shuffle ................... SUCCESS [0.774s]
> [INFO] hadoop-mapreduce-client-app ....................... SUCCESS [4.409s]
> [INFO] hadoop-mapreduce-client-hs ........................ SUCCESS [1.618s]
> [INFO] hadoop-mapreduce-client-jobclient ................. SUCCESS [4.470s]
> [INFO] hadoop-mapreduce-client-hs-plugins ................ SUCCESS [0.561s]
> [INFO] Apache Hadoop MapReduce Examples .................. SUCCESS [1.620s]
> [INFO] hadoop-mapreduce .................................. FAILURE [10.107s]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 49.606s
> [INFO] Finished at: Thu Nov 28 16:20:52 GMT+05:30 2013
> [INFO] Final Memory: 34M/118M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-assembly-plugin:2.3:assembly
(default-cli) on project hadoop-mapreduce: Error reading assemblies: No assembly descriptors
found. -> [Help 1]



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message