Created 04-20-2022 08:38 PM
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.
Created 04-21-2022 01:56 AM
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.
Created 04-24-2022 11:39 PM
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,Created on 04-27-2023 07:18 PM - edited 04-27-2023 07:18 PM
painful part,every time i click this area have to wait at least 1minuts,because i got at least 20K+ jobs in 7 days.