hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zoltán Zvara (JIRA) <j...@apache.org>
Subject [jira] [Created] (YARN-5721) NPE at AMRMClientImpl.getMatchingRequests
Date Tue, 11 Oct 2016 12:44:20 GMT
Zoltán Zvara created YARN-5721:
----------------------------------

             Summary: NPE at AMRMClientImpl.getMatchingRequests
                 Key: YARN-5721
                 URL: https://issues.apache.org/jira/browse/YARN-5721
             Project: Hadoop YARN
          Issue Type: Bug
          Components: api
         Environment: Tested on Windows 10, in Dockerized Linux containers & Ubuntu 16.04
with Java 7, Java 8.
            Reporter: Zoltán Zvara
            Priority: Critical


The following NPE was thrown using a Spark 2.1.0-SNAPSHOT (as client) by changing Hadoop dependency
to the latest (by the time the ERROR has been generated).

{{2016-10-10 11:33:53,392 ERROR yarn.ApplicationMaster: Uncaught exception: 
java.lang.NullPointerException
	at org.apache.hadoop.yarn.client.api.impl.AMRMClientImpl.getMatchingRequests(AMRMClientImpl.java:751)
	at org.apache.hadoop.yarn.client.api.impl.AMRMClientImpl.getMatchingRequests(AMRMClientImpl.java:734)
	at org.apache.spark.deploy.yarn.YarnAllocator.getPendingAtLocation(YarnAllocator.scala:210)
	at org.apache.spark.deploy.yarn.YarnAllocator.getPendingAllocate(YarnAllocator.scala:203)
	at org.apache.spark.deploy.yarn.YarnAllocator.updateResourceRequests(YarnAllocator.scala:318)
	at org.apache.spark.deploy.yarn.YarnAllocator.allocateResources(YarnAllocator.scala:278)
	at org.apache.spark.deploy.yarn.ApplicationMaster.registerAM(ApplicationMaster.scala:350)
	at org.apache.spark.deploy.yarn.ApplicationMaster.runExecutorLauncher(ApplicationMaster.scala:418)
	at org.apache.spark.deploy.yarn.ApplicationMaster.run(ApplicationMaster.scala:250)}}

We've also pulled the latest code (1 hour ago) from the repository, and ran a test for {{getMatchingRequests}}.
Same NPE has been encountered.

{{getMatchingRequests}} should never throw an NPE even if it has been called right after the
client has been started.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org


Mime
View raw message