Explorar el Código

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

Jenny Kim hace 9 años
padre
commit
a7781266ce
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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():
-  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):