[
https://issues.apache.org/jira/browse/YARN-1867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13947199#comment-13947199
]
Karthik Kambatla commented on YARN-1867:
----------------------------------------
bq. A little bit of cleanup per patch should be okay. I'd like to keep them
here unless you feel strongly that it is prohibiting the review.
I am not very particular about it - the patch is fairly small and those changes
don't get in the way of review. I am okay with leaving them in, if you insist.
My only concern is the git history wouldn't tell us why we made these changes
if we hide them behind a bug fix.
> 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: Vinod Kumar Vavilapalli
> Priority: Blocker
> Labels: rest_api
> Attachments: YARN-1867-20140325-trunk.txt, YARN-1867-20140325.txt
>
>
> 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)