Browse Source

HUE-7446 [core] RM HA gets called by mistake on each navopt call

Romain Rigaux 8 năm trước cách đây
mục cha
commit
18890c9
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      desktop/libs/metadata/src/metadata/conf.py

+ 1 - 1
desktop/libs/metadata/src/metadata/conf.py

@@ -68,7 +68,7 @@ def has_navigator(user):
 def get_security_default():
   '''Get default security value from Hadoop'''
   from hadoop import cluster # Avoid dependencies conflicts
-  cluster = cluster.get_cluster_conf_for_job_submission()
+  cluster = cluster.get_yarn()
 
   return cluster.SECURITY_ENABLED.get()