[ 
https://issues.apache.org/jira/browse/YARN-1867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13945741#comment-13945741
 ] 

Vinod Kumar Vavilapalli commented on YARN-1867:
-----------------------------------------------

That doesn't sound right. When RM recovers, it just simply puts the app back 
into *both* the context and the acls manager. Can you debug more?

> NPE while fetching apps via the REST API
> ----------------------------------------
>
>                 Key: YARN-1867
>                 URL: https://issues.apache.org/jira/browse/YARN-1867
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: resourcemanager
>    Affects Versions: 2.4.0
>            Reporter: Karthik Kambatla
>            Assignee: Karthik Kambatla
>            Priority: Blocker
>              Labels: rest_api
>
> We ran into the following NPE when fetching applications using the REST API:
> {noformat}
> INTERNAL_SERVER_ERROR
> java.lang.NullPointerException
> at 
> org.apache.hadoop.yarn.server.security.ApplicationACLsManager.checkAccess(ApplicationACLsManager.java:104)
> at 
> org.apache.hadoop.yarn.server.resourcemanager.webapp.RMWebServices.hasAccess(RMWebServices.java:123)
> at 
> org.apache.hadoop.yarn.server.resourcemanager.webapp.RMWebServices.getApps(RMWebServices.java:418)
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to