Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Yarn Job History Web UI is not showing old logs

Highlighted

Yarn Job History Web UI is not showing old logs

Explorer

Hello Everyone,

 

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?

 

Thanks,

Mani

 

 

1 REPLY 1

Re: Yarn Job History Web UI is not showing old logs

Explorer

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?

 

Thanks,

Mani