Reply
Highlighted
Expert Contributor
Posts: 94
Registered: ‎02-15-2016
Accepted Solution

Job application has expired Cannot be found on the History Server

Hi ,

I am not able to see log in hue job browser . job completed successfully

 

hue.PNG\

 

but when click on log it gives 

 

hue2.PNG

 

2017-02-07 11:46:59,592 ERROR org.apache.hadoop.mapreduce.v2.hs.CachedHistoryStorage: Unable to find job job_1485978333557_0001

Posts: 642
Topics: 3
Kudos: 105
Solutions: 67
Registered: ‎08-16-2016

Re: Job application has expired Cannot be found on the History Server

There are a number of settings for Jobhistory that can be causing it to expire and remove the logs.

The first is the number of milliseconds that it will keep a job and its logs around (log removal only applies if log aggregation is in use). The default is 7 days. The second is the number of jobs and the default is 20,000. That sounds like a lot of I have seen large, active clusters burn through that in 2 - 3 days.

mapreduce.jobhistory.max-age-ms
mapreduce.jobhistory.joblist.cache.size
Expert Contributor
Posts: 94
Registered: ‎02-15-2016

Re: Job application has expired Cannot be found on the History Server

this is resolved my setting proper permission .
Thanks
New Contributor
Posts: 2
Registered: ‎10-18-2017

Re: Job application has expired Cannot be found on the History Server

Thread is old but I have had the same problem.

Resolution:
The value of history_server_api_url in hue.ini should be the same as the YARN history server (yarn.log.server.url setting in YARN).
If not, update hue.ini and restart Hue.

Announcements