hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Subroto Sanyal (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (MAPREDUCE-3109) NPE exception in the TestClass org.apache.hadoop.yarn.server.resourcemanager.Application
Date Tue, 27 Sep 2011 12:55:16 GMT
NPE exception in the TestClass org.apache.hadoop.yarn.server.resourcemanager.Application
----------------------------------------------------------------------------------------

                 Key: MAPREDUCE-3109
                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-3109
             Project: Hadoop Map/Reduce
          Issue Type: Bug
          Components: mrv2
    Affects Versions: 0.23.0
            Reporter: Subroto Sanyal
            Assignee: Devaraj K
             Fix For: 0.23.0


Method *List<Container> org.apache.hadoop.yarn.server.resourcemanager.Application.getResources()
throws IOException* throws NPE. 

This is causing TestCases to fail like:
*void org.apache.hadoop.yarn.server.resourcemanager.TestResourceManager.testContainerStatusesWillBeStoredInResourceManager()
throws Exception* with following trace:
{noformat}
java.lang.NullPointerException
	at org.apache.hadoop.yarn.server.resourcemanager.Application.getResources(Application.java:283)
	at org.apache.hadoop.yarn.server.resourcemanager.Application.schedule(Application.java:311)
	at org.apache.hadoop.yarn.server.resourcemanager.TestResourceManager.testContainerStatusesWillBeStoredInResourceManager(TestResourceManager.java:196)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	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.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:76)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:50)
	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.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:46)
	at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
	at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)


{noformat}


Devraj,

Can you please take a look into it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message