YARN-7257. AggregatedLogsBlock reports a bad 'end' value as a bad

'start' value. Contributed by Jason Lowe

(cherry picked from commit 28c4957fccebe2d7e63ec9fe9af58313b4f21d4f)
(cherry picked from commit 81e78727938a1c0369f164849cc3a08add31be46)
This commit is contained in:
Xuan 2017-09-27 15:46:18 -07:00
parent c570ddaa66
commit c143708acf

View File

@ -68,7 +68,7 @@ protected void render(Block html) {
LogAggregationWebUtils.getLogEndIndex(
html, $("end"));
} catch (NumberFormatException ne) {
html.h1()._("Invalid log start value: " + $("end"))._();
html.h1()._("Invalid log end value: " + $("end"))._();
isValid = false;
}
@ -133,4 +133,4 @@ private String getApplicationLogURL(ApplicationId applicationId) {
sb.append(scheme).append(nodeId).append("/node/application/").append(appId);
return sb.toString();
}
}
}