浏览代码

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

Jenny Kim 9 年之前
父节点
当前提交
a7781266ce
共有 1 个文件被更改,包括 1 次插入1 次删除
  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):