YARN-1785. FairScheduler treats app lookup failures as ERRORs. (bc Wong via kasha)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1574604 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e1162ebb1f
commit
2e7c512270
|
@ -256,6 +256,9 @@ Release 2.4.0 - UNRELEASED
|
|||
token for the right ResourceManager when HA is enabled. (Karthik Kambatla via
|
||||
vinodkv)
|
||||
|
||||
YARN-1785. FairScheduler treats app lookup failures as ERRORs.
|
||||
(bc Wong via kasha)
|
||||
|
||||
OPTIMIZATIONS
|
||||
|
||||
BUG FIXES
|
||||
|
|
|
@ -1094,7 +1094,9 @@ public class FairScheduler extends AbstractYarnScheduler {
|
|||
ApplicationAttemptId appAttemptId) {
|
||||
FSSchedulerApp attempt = getSchedulerApp(appAttemptId);
|
||||
if (attempt == null) {
|
||||
LOG.error("Request for appInfo of unknown attempt" + appAttemptId);
|
||||
if (LOG.isDebugEnabled()) {
|
||||
LOG.debug("Request for appInfo of unknown attempt " + appAttemptId);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
return new SchedulerAppReport(attempt);
|
||||
|
@ -1105,7 +1107,9 @@ public class FairScheduler extends AbstractYarnScheduler {
|
|||
ApplicationAttemptId appAttemptId) {
|
||||
FSSchedulerApp attempt = getSchedulerApp(appAttemptId);
|
||||
if (attempt == null) {
|
||||
LOG.error("Request for appInfo of unknown attempt" + appAttemptId);
|
||||
if (LOG.isDebugEnabled()) {
|
||||
LOG.debug("Request for appInfo of unknown attempt " + appAttemptId);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
return attempt.getResourceUsageReport();
|
||||
|
|
Loading…
Reference in New Issue