luoyuan3471 commented on code in PR #8895:
URL: https://github.com/apache/hadoop/pull/8895#discussion_r4431858758
##########
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/src/main/java/org/apache/hadoop/yarn/server/webapp/AppsBlock.java:
##########
@@ -108,8 +108,10 @@ protected void fetchData() throws YarnException,
IOException,
throw new BadRequestException(
"app.started-time.end must be greater than app.started-time.begin");
}
- request.setStartRange(
- Range.between(appStartedTimeBegain, appStartedTimeEnd));
+ if (appStartedTimeBegain != 0 || appStartedTimeEnd != Long.MAX_VALUE) {
Review Comment:
Thanks for the review, @ayushtkn! I fixed the typo in `3fdb3fc`. Could you
please take another look when convenient?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]