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
|
token for the right ResourceManager when HA is enabled. (Karthik Kambatla via
|
||||||
vinodkv)
|
vinodkv)
|
||||||
|
|
||||||
|
YARN-1785. FairScheduler treats app lookup failures as ERRORs.
|
||||||
|
(bc Wong via kasha)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
@ -1094,7 +1094,9 @@ public SchedulerAppReport getSchedulerAppInfo(
|
|||||||
ApplicationAttemptId appAttemptId) {
|
ApplicationAttemptId appAttemptId) {
|
||||||
FSSchedulerApp attempt = getSchedulerApp(appAttemptId);
|
FSSchedulerApp attempt = getSchedulerApp(appAttemptId);
|
||||||
if (attempt == null) {
|
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 null;
|
||||||
}
|
}
|
||||||
return new SchedulerAppReport(attempt);
|
return new SchedulerAppReport(attempt);
|
||||||
@ -1105,7 +1107,9 @@ public ApplicationResourceUsageReport getAppResourceUsageReport(
|
|||||||
ApplicationAttemptId appAttemptId) {
|
ApplicationAttemptId appAttemptId) {
|
||||||
FSSchedulerApp attempt = getSchedulerApp(appAttemptId);
|
FSSchedulerApp attempt = getSchedulerApp(appAttemptId);
|
||||||
if (attempt == null) {
|
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 null;
|
||||||
}
|
}
|
||||||
return attempt.getResourceUsageReport();
|
return attempt.getResourceUsageReport();
|
||||||
|
Loading…
Reference in New Issue
Block a user