|
|
@@ -821,6 +821,23 @@
|
|
|
# Django cache to use to store temporarily used data during query execution. This is in addition to result_file_storage and result_backend.
|
|
|
## execution_storage='{"BACKEND": "django.core.cache.backends.locmem.LocMemCache", "LOCATION": "celery-hue"}'
|
|
|
|
|
|
+ # Path to a file containing a list of beat schedules.
|
|
|
+ # beat_schedules_file=/etc/hue/conf/schedules.py
|
|
|
+ # e.g.
|
|
|
+ # periodic_tasks = [{
|
|
|
+ # 'add-every-monday-morning': {
|
|
|
+ # 'task': 'desktop.celery.debug_task',
|
|
|
+ # 'schedule': crontab(minute='*'),
|
|
|
+ # },
|
|
|
+ # },
|
|
|
+ # {
|
|
|
+ # 'customer_count_query': {
|
|
|
+ # 'task': 'notebook.tasks.run_sync_query',
|
|
|
+ # 'schedule': crontab(minute='*'),
|
|
|
+ # 'args': (None, None),
|
|
|
+ # },
|
|
|
+ # }
|
|
|
+ # ]
|
|
|
|
|
|
###########################################################################
|
|
|
# Settings to configure the snippets available in the Notebook
|
|
|
@@ -1122,31 +1139,31 @@
|
|
|
|
|
|
# Host where LLAP is running
|
|
|
## llap_server_host = localhost
|
|
|
-
|
|
|
+
|
|
|
# Port where LLAP Thrift server runs on
|
|
|
## llap_server_port = 10501
|
|
|
-
|
|
|
+
|
|
|
# Alternatively, use Service Discovery for LLAP (Hive Server Interactive) and/or Hiveserver2, this will override the above
|
|
|
-
|
|
|
- # Whether to use Service Discovery for LLAP
|
|
|
+
|
|
|
+ # Whether to use Service Discovery for LLAP
|
|
|
## hive_discovery_llap = true
|
|
|
-
|
|
|
+
|
|
|
# is llap (hive server interactive) running in an HA configuration (more than 1)
|
|
|
# important as the zookeeper structure is different
|
|
|
## hive_discovery_llap_ha = false
|
|
|
-
|
|
|
+
|
|
|
# Shortcuts to finding LLAP znode Key
|
|
|
# Non-HA - hiveserver-interactive-site - hive.server2.zookeeper.namespace ex hive2 = /hive2
|
|
|
# HA-NonKerberized - <llap_app_name>_llap ex app name llap0 = /llap0_llap
|
|
|
# HA-Kerberized - <llap_app_name>_llap-sasl ex app name llap0 = /llap0_llap-sasl
|
|
|
## hive_discovery_llap_znode = /hiveserver2-hive2
|
|
|
-
|
|
|
+
|
|
|
# Whether to use Service Discovery for HiveServer2
|
|
|
## hive_discovery_hs2 = true
|
|
|
-
|
|
|
+
|
|
|
# Hiveserver2 is hive-site hive.server2.zookeeper.namespace ex hiveserver2 = /hiverserver2
|
|
|
## hive_discovery_hiveserver2_znode = /hiveserver2
|
|
|
-
|
|
|
+
|
|
|
# Applicable only for LLAP HA
|
|
|
# To keep the load on zookeeper to a minimum
|
|
|
# ---- we cache the LLAP activeEndpoint for the cache_timeout period
|
|
|
@@ -1155,7 +1172,7 @@
|
|
|
## caches_hive_discovery_key = hive_discovery
|
|
|
## caches_hive_discovery_key_path = /tmp/hive_discovery_cache
|
|
|
## cache_timeout = 60
|
|
|
-
|
|
|
+
|
|
|
# Host where Hive Metastore Server (HMS) is running.
|
|
|
# If Kerberos security is enabled, the fully-qualified domain name (FQDN) is required.
|
|
|
## hive_metastore_host=localhost
|