hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wangda Tan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-2671) ApplicationSubmissionContext change breaks the existing app submission
Date Thu, 09 Oct 2014 23:21:33 GMT

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

Wangda Tan updated YARN-2671:
-----------------------------
    Attachment: YARN-2617-20141009.1.patch

Attached a fix for this issue.

> ApplicationSubmissionContext change breaks the existing app submission
> ----------------------------------------------------------------------
>
>                 Key: YARN-2671
>                 URL: https://issues.apache.org/jira/browse/YARN-2671
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>            Reporter: Zhijie Shen
>            Assignee: Wangda Tan
>            Priority: Blocker
>         Attachments: YARN-2617-20141009.1.patch
>
>
> After YARN-2493, app submission goes wrong with the following exception:
> {code}
> 2014-10-09 15:50:35,774 WARN  [297524352@qtp-1314143300-2 - /ws/v1/cluster/apps] webapp.GenericExceptionHandler
(GenericExceptionHandler.java:toResponse(98)) - INTERNAL_SERVER_ERROR
> java.lang.NullPointerException
> 	at org.apache.hadoop.yarn.server.resourcemanager.scheduler.SchedulerUtils.validateResourceRequest(SchedulerUtils.java:194)
> 	at org.apache.hadoop.yarn.server.resourcemanager.RMAppManager.validateResourceRequest(RMAppManager.java:390)
> 	at org.apache.hadoop.yarn.server.resourcemanager.RMAppManager.createAndPopulateNewRMApp(RMAppManager.java:346)
> 	at org.apache.hadoop.yarn.server.resourcemanager.RMAppManager.submitApplication(RMAppManager.java:273)
> 	at org.apache.hadoop.yarn.server.resourcemanager.ClientRMService.submitApplication(ClientRMService.java:570)
> 	at org.apache.hadoop.yarn.server.resourcemanager.webapp.RMWebServices$2.run(RMWebServices.java:896)
> 	at org.apache.hadoop.yarn.server.resourcemanager.webapp.RMWebServices$2.run(RMWebServices.java:1)
> {code}
> This is because resource is putting into ResourceRequest of ApplicationSubmissionContext,
but not directly into ApplicationSubmissionContext, therefore the sanity check won't get resource
object from context.



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

Mime
View raw message