YARN-3700 and YARN-3787 add some limitations (number, time) to loading applications from yarn timelineservice. But this API missing the default implementation when we use FileSystemApplicationHistoryStore for applicationhistoryservice instead of using timelineservice.