[
https://issues.apache.org/jira/browse/YARN-1785?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
bc Wong updated YARN-1785:
--------------------------
Attachment: 0001-YARN-1785.-FairScheduler-treats-app-lookup-failures-.patch
Attaching "0001-YARN-1785.-FairScheduler-treats-app-lookup-failures-.patch".
Verified via manual testing.
> FairScheduler treats app lookup failures as ERRORs
> --------------------------------------------------
>
> Key: YARN-1785
> URL: https://issues.apache.org/jira/browse/YARN-1785
> Project: Hadoop YARN
> Issue Type: Bug
> Affects Versions: 2.2.0
> Reporter: bc Wong
> Attachments:
> 0001-YARN-1785.-FairScheduler-treats-app-lookup-failures-.patch
>
>
> When invoking the /ws/v1/cluster/apps endpoint, RM will eventually get to
> RMAppImpl#createAndGetApplicationReport, which calls
> RMAppAttemptImpl#getApplicationResourceUsageReport, which looks up the app in
> the scheduler, which may or may not exist. So FairScheduler shouldn't log an
> error for every lookup failure:
> {noformat}
> 2014-02-17 08:23:21,240 ERROR
> org.apache.hadoop.yarn.server.resourcemanager.scheduler.fair.FairScheduler:
> Request for appInfo of unknown attemptappattempt_1392419715319_0135_000001
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)