From c143708acfb17e91c5e4fc9bd9b496fc7d2db29c Mon Sep 17 00:00:00 2001 From: Xuan Date: Wed, 27 Sep 2017 15:46:18 -0700 Subject: [PATCH] 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) --- .../apache/hadoop/yarn/webapp/log/AggregatedLogsBlock.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/log/AggregatedLogsBlock.java b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/log/AggregatedLogsBlock.java index 1c0b9903d6a..d1abce4df1e 100644 --- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/log/AggregatedLogsBlock.java +++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/webapp/log/AggregatedLogsBlock.java @@ -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(); } -} \ No newline at end of file +}