Pārlūkot izejas kodu

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

Romain Rigaux 10 gadi atpakaļ
vecāks
revīzija
8953e50

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

@@ -62,10 +62,10 @@ SERVER_CONN_TIMEOUT = Config(
 
 
 USE_GET_LOG_API = Config(
 USE_GET_LOG_API = Config(
   key='use_get_log_api',
   key='use_get_log_api',
-  default=True,
+  default=False,
   type=coerce_bool,
   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(
 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
   # Timeout in seconds for thrift calls to Hive service
   ## server_conn_timeout=120
   ## 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.
   # 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.
   # 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
   # Timeout in seconds for thrift calls to Hive service
   ## server_conn_timeout=120
   ## 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.
   # 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.
   # A positive value will be set as the LIMIT. If 0 or negative, do not set any limit.