Yarn JHS Web UI is showing recent 20K jobs (or entries), not more than that. But, I can able to see the old jobs logs using yarn cli. for example, yarn logs -applicationId <applicationid>.
Can you please check?
I figured out to do the same by setting mapreduce.jobhistory.joblist.cache.size to higher value. I used "JobHistory Server Advanced Configuration Snippet (Safety Valve) for mapred-site.xml" option in YARN Configuration tab in CM. It works.
Inaddition, I tried to increase the job name limit using mapreduce.jobhistory.jobname.limit to increase the job name displayed in JHS web UI, but it doesn't seem to work.
Had anyone come across this behaviour?