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

'start' value. Contributed by Jason Lowe

(cherry picked from commit 28c4957fcc)
(cherry picked from commit 81e7872793)
This commit is contained in:
Xuan 2017-09-27 15:46:18 -07:00
parent c570ddaa66
commit c143708acf
1 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ public class AggregatedLogsBlock extends HtmlBlock {
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 @@ public class AggregatedLogsBlock extends HtmlBlock {
sb.append(scheme).append(nodeId).append("/node/application/").append(appId);
return sb.toString();
}
}
}