[jobbrowser] Show Hive Query Browser even if yarn not configured
As the query data does not necessary comes from YARN but also from
the Query Processor DB.
@@ -1981,8 +1981,9 @@ class ClusterConfig(object):
if 'jobbrowser' in self.apps:
from hadoop.cluster import get_default_yarncluster # Circular loop
+ from jobbrowser.conf import ENABLE_HIVE_QUERY_BROWSER
- if get_default_yarncluster():
+ if get_default_yarncluster() or ENABLE_HIVE_QUERY_BROWSER.get():
interpreters.append({
'type': 'yarn',
'displayName': _('Jobs'),
