YARN-7257. AggregatedLogsBlock reports a bad 'end' value as a bad
'start' value. Contributed by Jason Lowe (cherry picked from commit28c4957fcc
) (cherry picked from commit81e7872793
)
This commit is contained in:
parent
c570ddaa66
commit
c143708acf
|
@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue