浏览代码

[hive] Switch to Hive 1.0 new way to fetch job logs

Romain Rigaux 10 年之前
父节点
当前提交
8953e50
共有 3 个文件被更改,包括 9 次插入9 次删除
  1. 3 3
      apps/beeswax/src/beeswax/conf.py
  2. 3 3
      desktop/conf.dist/hue.ini
  3. 3 3
      desktop/conf/pseudo-distributed.ini.tmpl

+ 3 - 3
apps/beeswax/src/beeswax/conf.py

@@ -62,10 +62,10 @@ SERVER_CONN_TIMEOUT = Config(
 
 USE_GET_LOG_API = Config(
   key='use_get_log_api',
-  default=True,
+  default=False,
   type=coerce_bool,
-  help=_t('Choose whether Hue uses the GetLog() thrift call to retrieve Hive logs.'
-          'If false, Hue will use the FetchResults() thrift call instead.')
+  help=_t('Choose whether to use the old GetLog() thrift call from before Hive 0.14 to retrieve the logs.'
+          'If false, use the FetchResults() thrift call from Hive 1.0 or more instead.')
 )
 
 BROWSE_PARTITIONED_TABLE_LIMIT = Config(

+ 3 - 3
desktop/conf.dist/hue.ini

@@ -775,9 +775,9 @@
   # Timeout in seconds for thrift calls to Hive service
   ## server_conn_timeout=120
 
-  # Choose whether Hue uses the GetLog() thrift call to retrieve Hive logs.
-  # If false, Hue will use the FetchResults() thrift call instead.
-  ## use_get_log_api=true
+  # Choose whether to use the old GetLog() thrift call from before Hive 0.14 to retrieve the logs.
+  # If false, use the FetchResults() thrift call from Hive 1.0 or more instead.
+  ## use_get_log_api=false
 
   # Set a LIMIT clause when browsing a partitioned table.
   # A positive value will be set as the LIMIT. If 0 or negative, do not set any limit.

+ 3 - 3
desktop/conf/pseudo-distributed.ini.tmpl

@@ -781,9 +781,9 @@
   # Timeout in seconds for thrift calls to Hive service
   ## server_conn_timeout=120
 
-  # Choose whether Hue uses the GetLog() thrift call to retrieve Hive logs.
-  # If false, Hue will use the FetchResults() thrift call instead.
-  ## use_get_log_api=true
+  # Choose whether to use the old GetLog() thrift call from before Hive 0.14 to retrieve the logs.
+  # If false, use the FetchResults() thrift call from Hive 1.0 or more instead.
+  ## use_get_log_api=false
 
   # Set a LIMIT clause when browsing a partitioned table.
   # A positive value will be set as the LIMIT. If 0 or negative, do not set any limit.