Эх сурвалжийг харах

[beeswax] Document beeswax_running_query_lifetime

Romain Rigaux 12 жил өмнө
parent
commit
966ead1

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

@@ -101,7 +101,7 @@ BEESWAX_RUNNING_QUERY_LIFETIME = Config(
   key='beeswax_running_query_lifetime',
   default=604800000L, # 7*24*60*60*1000 (1 week)
   type=long,
-  help=_('Time in seconds for Beeswax to persist queries in its cache.'))
+  help=_('Time in milliseconds for Beeswax to persist queries in its cache.'))
 
 BROWSE_PARTITIONED_TABLE_LIMIT = Config(
   key='browse_partitioned_table_limit',

+ 4 - 0
desktop/conf.dist/hue.ini

@@ -389,6 +389,10 @@
   # Choices are 'beeswax' (default), 'hiveserver2'.
   ## server_interface=beeswax
 
+  # Time in milliseconds for Beeswax to persist queries in its cache.
+  # 7*24*60*60*1000 = 1 week
+  ## beeswax_running_query_lifetime=604800000L
+
 
 ###########################################################################
 # Settings to configure Impala

+ 4 - 0
desktop/conf/pseudo-distributed.ini.tmpl

@@ -392,6 +392,10 @@
   # Choices are 'beeswax' (default), 'hiveserver2'.
   ## server_interface=beeswax
 
+  # Time in milliseconds for Beeswax to persist queries in its cache.
+  # 7*24*60*60*1000 = 1 week
+  ## beeswax_running_query_lifetime=604800000L
+
 
 ###########################################################################
 # Settings to configure Impala