Support Questions

Find answers, ask questions, and share your expertise

Hue job browser default filter change

avatar
New Contributor

Hi.

Is ir possible to change the default filter in hue job browser? By default it is last 7  days but i want to change it to last 12 hours so i don't have to change it every time the page reloads.

3 REPLIES 3

avatar
Master Collaborator

@Juris  

 

The default filter value of 7 days is hardcoded in Hue. 

You can find this set in your cluster hosts

/usr/lib/hue/apps/jobbrowser/src/jobbrowser/templates/job_browser.mako

[default file] as shown below. As a workaround this file can be edited across all hosts followed by Hue restart but changes would persist for all users. We generally don't recommend to edit the install files but just providing you with the information here.

 

self.timeValueFilter  = ko.observable (7).extend({ throttle: 500 });

self.timeUnitFilter  = ko.observable ('days').extend({ throttle: 500 });

 

Hope this helps,
Paras
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.

avatar
Community Manager

Has the reply helped resolve your issue? If so, please mark the appropriate reply as the solution, as it will make it easier for others to find the answer in the future. 



Regards,

Vidya Sargur,
Community Manager


Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
Learn more about the Cloudera Community:

avatar
Explorer

painful part,every time i click this area have to wait at least 1minuts,because i got at least 20K+ jobs in 7 days.