Parcourir la source

HUE-4075 [editor] Hue will not start if impala is blacklisted

Jenny Kim il y a 9 ans
Parent
commit
a7781266ce
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      desktop/libs/notebook/src/notebook/connectors/hiveserver2.py

+ 1 - 1
desktop/libs/notebook/src/notebook/connectors/hiveserver2.py

@@ -74,7 +74,7 @@ def query_error_handler(func):
 
 
 
 
 def is_impala_enabled():
 def is_impala_enabled():
-  return impala_settings is not None or type(impala_settings) == BoundConfig
+  return impala_settings is not None and type(impala_settings) == BoundConfig
 
 
 
 
 class HiveConfiguration(object):
 class HiveConfiguration(object):