pseudo-distributed.ini.tmpl 75 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082
  1. #####################################
  2. # DEVELOPMENT EDITION
  3. #####################################
  4. # Hue configuration file
  5. # ===================================
  6. #
  7. # For complete documentation about the contents of this file, run
  8. # $ <hue_root>/build/env/bin/hue config_help
  9. #
  10. # All .ini files under the current directory are treated equally. Their
  11. # contents are merged to form the Hue configuration, which can
  12. # can be viewed on the Hue at
  13. # http://<hue_host>:<port>/dump_config
  14. ###########################################################################
  15. # General configuration for core Desktop features (authentication, etc)
  16. ###########################################################################
  17. [desktop]
  18. # Set this to a random string, the longer the better.
  19. # This is used for secure hashing in the session store.
  20. secret_key=
  21. # Execute this script to produce the Django secret key. This will be used when
  22. # 'secret_key' is not set.
  23. ## secret_key_script=
  24. # Webserver listens on this address and port
  25. http_host=0.0.0.0
  26. http_port=8000
  27. # A comma-separated list of available Hue load balancers
  28. ## hue_load_balancer=
  29. # Time zone name
  30. time_zone=America/Los_Angeles
  31. # Enable or disable debug mode.
  32. ## django_debug_mode=true
  33. # Enable development mode, where notably static files are not cached.
  34. dev=true
  35. # Enable or disable database debug mode.
  36. ## database_logging=false
  37. # Whether to send debug messages from JavaScript to the server logs.
  38. send_dbug_messages=true
  39. # Enable or disable backtrace for server error
  40. ## http_500_debug_mode=true
  41. # Enable or disable instrumentation. If django_debug_mode is True, this is automatically enabled
  42. ## instrumentation=false
  43. # Server email for internal error messages
  44. ## django_server_email='hue@localhost.localdomain'
  45. # Email backend
  46. django_email_backend=django.core.mail.backends.console.EmailBackend
  47. # Set to true to use CherryPy as the webserver, set to false
  48. # to use Gunicorn as the webserver. Defaults to CherryPy if
  49. # key is not specified.
  50. ## use_cherrypy_server=true
  51. # Gunicorn work class: gevent or evenlet, gthread or sync.
  52. ## gunicorn_work_class=eventlet
  53. # The number of Gunicorn worker processes. If not specified, it uses: (number of CPU * 2) + 1.
  54. ## gunicorn_number_of_workers=None
  55. # Webserver runs as this user
  56. ## server_user=hue
  57. ## server_group=hue
  58. # This should be the Hue admin and proxy user
  59. ## default_user=hue
  60. # This should be the hadoop cluster admin
  61. ## default_hdfs_superuser=hdfs
  62. # If set to false, runcpserver will not actually start the web server.
  63. # Used if Apache is being used as a WSGI container.
  64. ## enable_server=yes
  65. # Number of threads used by the CherryPy web server
  66. ## cherrypy_server_threads=50
  67. # This property specifies the maximum size of the receive buffer in bytes in thrift sasl communication,
  68. # default value is 2097152 (2 MB), which equals to (2 * 1024 * 1024)
  69. ## sasl_max_buffer=2097152
  70. # Hue will try to get the actual host of the Service, even if it resides behind a load balancer.
  71. # This will enable an automatic configuration of the service without requiring custom configuration of the service load balancer.
  72. # This is available for the Impala service only currently. It is highly recommended to only point to a series of coordinator-only nodes only.
  73. # enable_smart_thrift_pool=false
  74. # Filename of SSL Certificate
  75. ## ssl_certificate=
  76. # Filename of SSL RSA Private Key
  77. ## ssl_private_key=
  78. # Filename of SSL Certificate Chain
  79. ## ssl_certificate_chain=
  80. # SSL certificate password
  81. ## ssl_password=
  82. # Execute this script to produce the SSL password. This will be used when 'ssl_password' is not set.
  83. ## ssl_password_script=
  84. # X-Content-Type-Options: nosniff This is a HTTP response header feature that helps prevent attacks based on MIME-type confusion.
  85. ## secure_content_type_nosniff=true
  86. # X-Xss-Protection: \"1; mode=block\" This is a HTTP response header feature to force XSS protection.
  87. ## secure_browser_xss_filter=true
  88. # X-Content-Type-Options: nosniff This is a HTTP response header feature that helps prevent attacks based on MIME-type confusion.
  89. ## secure_content_security_policy="script-src 'self' 'unsafe-inline' 'unsafe-eval' *.google-analytics.com *.doubleclick.net data:;img-src 'self' *.google-analytics.com *.doubleclick.net http://*.tile.osm.org *.tile.osm.org *.gstatic.com data:;style-src 'self' 'unsafe-inline' fonts.googleapis.com;connect-src 'self';frame-src *;child-src 'self' data: *.vimeo.com;object-src 'none'"
  90. # Strict-Transport-Security HTTP Strict Transport Security(HSTS) is a policy which is communicated by the server to the user agent via HTTP response header field name "Strict-Transport-Security". HSTS policy specifies a period of time during which the user agent(browser) should only access the server in a secure fashion(https).
  91. ## secure_ssl_redirect=False
  92. ## secure_redirect_host=0.0.0.0
  93. ## secure_redirect_exempt=[]
  94. ## secure_hsts_seconds=31536000
  95. ## secure_hsts_include_subdomains=true
  96. # List of allowed and disallowed ciphers in cipher list format.
  97. # See http://www.openssl.org/docs/apps/ciphers.html for more information on
  98. # cipher list format. This list is from
  99. # https://wiki.mozilla.org/Security/Server_Side_TLS v3.7 intermediate
  100. # recommendation, which should be compatible with Firefox 1, Chrome 1, IE 7,
  101. # Opera 5 and Safari 1.
  102. ## ssl_cipher_list=ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-DSS-AES128-GCM-SHA256:kEDH+AESGCM:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA:ECDHE-ECDSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA256:DHE-RSA-AES256-SHA256:DHE-DSS-AES256-SHA:DHE-RSA-AES256-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:AES:CAMELLIA:DES-CBC3-SHA:!aNULL:!eNULL:!EXPORT:!DES:!RC4:!MD5:!PSK:!aECDH:!EDH-DSS-DES-CBC3-SHA:!EDH-RSA-DES-CBC3-SHA:!KRB5-DES-CBC3-SHA
  103. # Path to default Certificate Authority certificates.
  104. ## ssl_cacerts=/etc/hue/cacerts.pem
  105. # Choose whether Hue should validate certificates received from the server.
  106. ## ssl_validate=true
  107. # Default LDAP/PAM/.. username and password of the hue user used for authentications with other services.
  108. # Inactive if password is empty.
  109. # e.g. LDAP pass-through authentication for HiveServer2 or Impala. Apps can override them individually.
  110. ## auth_username=hue
  111. ## auth_password=
  112. # Default encoding for site data
  113. ## default_site_encoding=utf-8
  114. # Help improve Hue with anonymous usage analytics.
  115. # Use Google Analytics to see how many times an application or specific section of an application is used, nothing more.
  116. ## collect_usage=true
  117. # Tile layer server URL for the Leaflet map charts
  118. # Read more on http://leafletjs.com/reference.html#tilelayer
  119. # Make sure you add the tile domain to the img-src section of the 'secure_content_security_policy' configuration parameter as well.
  120. ## leaflet_tile_layer=http://{s}.tile.osm.org/{z}/{x}/{y}.png
  121. # The copyright message for the specified Leaflet maps Tile Layer
  122. ## leaflet_tile_layer_attribution='&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
  123. # All the map options accordingly to http://leafletjs.com/reference-0.7.7.html#map-options
  124. # To change CRS, just use the name, ie. "EPSG4326"
  125. ## leaflet_map_options='{}'
  126. # All the tile layer options, accordingly to http://leafletjs.com/reference-0.7.7.html#tilelayer
  127. ## leaflet_tile_layer_options='{}'
  128. # X-Frame-Options HTTP header value. Use 'DENY' to deny framing completely
  129. ## http_x_frame_options=SAMEORIGIN
  130. # Enable X-Forwarded-Host header if the load balancer requires it.
  131. ## use_x_forwarded_host=true
  132. # Support for HTTPS termination at the load-balancer level with SECURE_PROXY_SSL_HEADER.
  133. ## secure_proxy_ssl_header=false
  134. # Comma-separated list of Django middleware classes to use.
  135. # See https://docs.djangoproject.com/en/1.4/ref/middleware/ for more details on middlewares in Django.
  136. ## middleware=desktop.auth.backend.LdapSynchronizationBackend
  137. # Comma-separated list of regular expressions, which match the redirect URL.
  138. # For example, to restrict to your local domain and FQDN, the following value can be used:
  139. # ^\/.*$,^http:\/\/www.mydomain.com\/.*$
  140. ## redirect_whitelist=^(\/[a-zA-Z0-9]+.*|\/)$
  141. # Comma separated list of apps to not load at server startup.
  142. # e.g.: pig,zookeeper
  143. ## app_blacklist=
  144. # Id of the cluster where Hue is located.
  145. ## cluster_id='default'
  146. # Choose whether to show the new SQL editor.
  147. ## use_new_editor=true
  148. # Global setting to allow or disable end user downloads in all Hue.
  149. # e.g. Query result in Editors and Dashboards, file in File Browser...
  150. ## enable_download=true
  151. # Choose whether to enable the new SQL syntax checker or not
  152. ## enable_sql_syntax_check=true
  153. # Choose whether to show the improved assist panel and the right context panel
  154. ## use_new_side_panels=false
  155. # Choose whether to use new charting library across the whole Hue.
  156. ## use_new_charts=false
  157. # Choose whether to allow multi tenancy or not.
  158. ## enable_organizations=false
  159. # Editor autocomplete timeout (ms) when fetching columns, fields, tables etc.
  160. # To disable this type of autocompletion set the value to 0.
  161. ## editor_autocomplete_timeout=30000
  162. # Enable saved default configurations for Hive, Impala, Spark, and Oozie.
  163. ## use_default_configuration=false
  164. # The directory where to store the auditing logs. Auditing is disable if the value is empty.
  165. # e.g. /var/log/hue/audit.log
  166. ## audit_event_log_dir=
  167. # Size in KB/MB/GB for audit log to rollover.
  168. ## audit_log_max_file_size=100MB
  169. # Timeout in seconds for REST calls.
  170. ## rest_conn_timeout=120
  171. # A json file containing a list of log redaction rules for cleaning sensitive data
  172. # from log files. It is defined as:
  173. #
  174. # {
  175. # "version": 1,
  176. # "rules": [
  177. # {
  178. # "description": "This is the first rule",
  179. # "trigger": "triggerstring 1",
  180. # "search": "regex 1",
  181. # "replace": "replace 1"
  182. # },
  183. # {
  184. # "description": "This is the second rule",
  185. # "trigger": "triggerstring 2",
  186. # "search": "regex 2",
  187. # "replace": "replace 2"
  188. # }
  189. # ]
  190. # }
  191. #
  192. # Redaction works by searching a string for the [TRIGGER] string. If found,
  193. # the [REGEX] is used to replace sensitive information with the
  194. # [REDACTION_MASK]. If specified with 'log_redaction_string', the
  195. # 'log_redaction_string' rules will be executed after the
  196. # 'log_redaction_file' rules.
  197. #
  198. # For example, here is a file that would redact passwords and social security numbers:
  199. # {
  200. # "version": 1,
  201. # "rules": [
  202. # {
  203. # "description": "Redact passwords",
  204. # "trigger": "password",
  205. # "search": "password=\".*\"",
  206. # "replace": "password=\"???\""
  207. # },
  208. # {
  209. # "description": "Redact social security numbers",
  210. # "trigger": "",
  211. # "search": "\d{3}-\d{2}-\d{4}",
  212. # "replace": "XXX-XX-XXXX"
  213. # }
  214. # ]
  215. # }
  216. ## log_redaction_file=
  217. # Comma separated list of strings representing the host/domain names that the Hue server can serve.
  218. # e.g.: localhost,domain1,*
  219. ## allowed_hosts="*"
  220. # Allow use django debug tool with Chrome browser for debugging issue, django_debug_mode must be true also
  221. ## enable_django_debug_tool=false
  222. # Comma separated list of users' username that allow to use django debug tool. If it is empty, all users are allowed.
  223. ## django_debug_tool_users=
  224. # Number of characters in rest api reponse calls to dump to the logs when debug is enabled. Set to -1 for entire response.
  225. ## rest_response_size=2000
  226. # Turn on Prometheus metrics end point /metrics.
  227. ## enable_prometheus=false
  228. # Turn on the Gist snippet sharing.
  229. ## enable_gist=false
  230. # Administrators
  231. # ----------------
  232. [[django_admins]]
  233. [[[admin-1]]]
  234. name=Hue
  235. email=hue@localhost.com
  236. # UI customizations
  237. # -------------------
  238. [[custom]]
  239. # Top banner HTML code
  240. # e.g. <H4>Test Lab A2 Hue Services</H4>
  241. ## banner_top_html='<div style="padding: 4px; text-align: center; background-color: #003F6C; color: #DBE8F1">This is Hue 4 Beta! - Please feel free to email any feedback / questions to <a href="mailto:team@gethue.com" target="_blank" style="color: #FFF; font-weight: bold">team@gethue.com</a> or <a href="https://twitter.com/gethue" target="_blank" style="color: #FFF; font-weight: bold">@gethue</a>.</div>'
  242. # Login splash HTML code
  243. # e.g. WARNING: You are required to have authorization before you proceed
  244. ## login_splash_html=<h4>GetHue.com</h4><br/><br/>WARNING: You have accessed a computer managed by GetHue. You are required to have authorization from GetHue before you proceed.
  245. # Cache timeout in milliseconds for the assist, autocomplete, etc.
  246. # defaults to 10 days, set to 0 to disable caching
  247. ## cacheable_ttl=864000000
  248. # SVG code to replace the default Hue logo in the top bar and sign in screen
  249. # e.g. <image xlink:href="/static/desktop/art/hue-logo-mini-white.png" x="0" y="0" height="40" width="160" />
  250. ## logo_svg=
  251. # Configuration options for user authentication into the web application
  252. # ------------------------------------------------------------------------
  253. [[auth]]
  254. # Authentication backend. Common settings are:
  255. # - django.contrib.auth.backends.ModelBackend (entirely Django backend)
  256. # - desktop.auth.backend.AllowAllBackend (allows everyone)
  257. # - desktop.auth.backend.AllowFirstUserDjangoBackend
  258. # (Default. Relies on Django and user manager, after the first login)
  259. # - desktop.auth.backend.LdapBackend
  260. # - desktop.auth.backend.PamBackend
  261. # - desktop.auth.backend.SpnegoDjangoBackend
  262. # - desktop.auth.backend.KnoxSpnegoDjangoBackend
  263. # - desktop.auth.backend.RemoteUserDjangoBackend
  264. # - libsaml.backend.SAML2Backend
  265. # - liboauth.backend.OAuthBackend
  266. # - desktop.auth.backend.OIDCBackend
  267. # (New oauth, support Twitter, Facebook, Google+ and Linkedin
  268. # Multiple Authentication backends are supported by specifying a comma-separated list in order of priority.
  269. # However, in order to enable OAuthBackend, it must be the ONLY backend configured.
  270. ## backend=desktop.auth.backend.AllowFirstUserDjangoBackend
  271. # Class which defines extra accessor methods for User objects.
  272. ## user_aug=desktop.auth.backend.DefaultUserAugmentor
  273. # The service to use when querying PAM.
  274. ## pam_service=login
  275. # When using the desktop.auth.backend.RemoteUserDjangoBackend, this sets
  276. # the normalized name of the header that contains the remote user.
  277. # The HTTP header in the request is converted to a key by converting
  278. # all characters to uppercase, replacing any hyphens with underscores
  279. # and adding an HTTP_ prefix to the name. So, for example, if the header
  280. # is called Remote-User that would be configured as HTTP_REMOTE_USER
  281. #
  282. # Defaults to HTTP_REMOTE_USER
  283. ## remote_user_header=HTTP_REMOTE_USER
  284. # Ignore the case of usernames when searching for existing users.
  285. # Supported in remoteUserDjangoBackend and SpnegoDjangoBackend
  286. ## ignore_username_case=true
  287. # Forcibly cast usernames to lowercase, takes precedence over force_username_uppercase
  288. # Supported in remoteUserDjangoBackend and SpnegoDjangoBackend
  289. ## force_username_lowercase=true
  290. # Forcibly cast usernames to uppercase, cannot be combined with force_username_lowercase
  291. ## force_username_uppercase=false
  292. # Users will expire after they have not logged in for 'n' amount of seconds.
  293. # A negative number means that users will never expire.
  294. ## expires_after=-1
  295. # Apply 'expires_after' to superusers.
  296. ## expire_superusers=true
  297. # Users will automatically be logged out after 'n' seconds of inactivity.
  298. # A negative number means that idle sessions will not be timed out.
  299. idle_session_timeout=-1
  300. # Force users to change password on first login with desktop.auth.backend.AllowFirstUserDjangoBackend
  301. ## change_default_password=false
  302. # Number of login attempts allowed before a record is created for failed logins
  303. ## login_failure_limit=3
  304. # After number of allowed login attempts are exceeded, do we lock out this IP and optionally user agent?
  305. ## login_lock_out_at_failure=false
  306. # If set, defines period of inactivity in hours after which failed logins will be forgotten.
  307. # A value of 0 or None will disable this check. Default: None
  308. ## login_cooloff_time=None
  309. # If True, lock out based on an IP address AND a user agent.
  310. # This means requests from different user agents but from the same IP are treated differently.
  311. ## login_lock_out_use_user_agent=false
  312. # If True, lock out based on IP and user
  313. ## login_lock_out_by_combination_user_and_ip=false
  314. # If True, it will look for the IP address from the header defined at reverse_proxy_header.
  315. ## behind_reverse_proxy=false
  316. # If behind_reverse_proxy is True, it will look for the IP address from this header. Default: HTTP_X_FORWARDED_FOR
  317. ## reverse_proxy_header=HTTP_X_FORWARDED_FOR
  318. # Configuration options for connecting to LDAP and Active Directory
  319. # -------------------------------------------------------------------
  320. [[ldap]]
  321. # The search base for finding users and groups
  322. ## base_dn="DC=mycompany,DC=com"
  323. # URL of the LDAP server
  324. ## ldap_url=ldap://auth.mycompany.com
  325. # The NT domain used for LDAP authentication
  326. ## nt_domain=mycompany.com
  327. # A PEM-format file containing certificates for the CA's that
  328. # Hue will trust for authentication over TLS.
  329. # The certificate for the CA that signed the
  330. # LDAP server certificate must be included among these certificates.
  331. # See more here http://www.openldap.org/doc/admin24/tls.html.
  332. ## ldap_cert=
  333. ## use_start_tls=true
  334. # Distinguished name of the user to bind as -- not necessary if the LDAP server
  335. # supports anonymous searches
  336. ## bind_dn="CN=ServiceAccount,DC=mycompany,DC=com"
  337. # Password of the bind user -- not necessary if the LDAP server supports
  338. # anonymous searches
  339. ## bind_password=
  340. # Execute this script to produce the bind user password. This will be used
  341. # when 'bind_password' is not set.
  342. ## bind_password_script=
  343. # Pattern for searching for usernames -- Use <username> for the parameter
  344. # For use when using LdapBackend for Hue authentication
  345. ## ldap_username_pattern="uid=<username>,ou=People,dc=mycompany,dc=com"
  346. # Create users in Hue when they try to login with their LDAP credentials
  347. # For use when using LdapBackend for Hue authentication
  348. ## create_users_on_login = true
  349. # Synchronize a users groups when they login
  350. ## sync_groups_on_login=true
  351. # A comma-separated list of Ldap groups with users that can login
  352. ## login_groups=
  353. # Ignore the case of usernames when searching for existing users in Hue.
  354. ## ignore_username_case=true
  355. # Force usernames to lowercase when creating new users from LDAP.
  356. # Takes precedence over force_username_uppercase
  357. ## force_username_lowercase=true
  358. # Force usernames to uppercase, cannot be combined with force_username_lowercase
  359. ## force_username_uppercase=false
  360. # Use search bind authentication.
  361. ## search_bind_authentication=true
  362. # Choose which kind of subgrouping to use: nested or suboordinate (deprecated).
  363. ## subgroups=suboordinate
  364. # Define the number of levels to search for nested members.
  365. ## nested_members_search_depth=10
  366. # Whether or not to follow referrals
  367. ## follow_referrals=false
  368. # Enable python-ldap debugging.
  369. ## debug=false
  370. # Sets the debug level within the underlying LDAP C lib.
  371. ## debug_level=255
  372. # Possible values for trace_level are 0 for no logging, 1 for only logging the method calls with arguments,
  373. # 2 for logging the method calls with arguments and the complete results and 9 for also logging the traceback of method calls.
  374. ## trace_level=0
  375. [[[users]]]
  376. # Base filter for searching for users
  377. ## user_filter="objectclass=*"
  378. # The username attribute in the LDAP schema
  379. ## user_name_attr=sAMAccountName
  380. [[[groups]]]
  381. # Base filter for searching for groups
  382. ## group_filter="objectclass=*"
  383. # The group name attribute in the LDAP schema
  384. ## group_name_attr=cn
  385. # The attribute of the group object which identifies the members of the group
  386. ## group_member_attr=members
  387. [[[ldap_servers]]]
  388. ## [[[[mycompany]]]]
  389. # The search base for finding users and groups
  390. ## base_dn="DC=mycompany,DC=com"
  391. # URL of the LDAP server
  392. ## ldap_url=ldap://auth.mycompany.com
  393. # The NT domain used for LDAP authentication
  394. ## nt_domain=mycompany.com
  395. # A PEM-format file containing certificates for the CA's that
  396. # Hue will trust for authentication over TLS.
  397. # The certificate for the CA that signed the
  398. # LDAP server certificate must be included among these certificates.
  399. # See more here http://www.openldap.org/doc/admin24/tls.html.
  400. ## ldap_cert=
  401. ## use_start_tls=true
  402. # Distinguished name of the user to bind as -- not necessary if the LDAP server
  403. # supports anonymous searches
  404. ## bind_dn="CN=ServiceAccount,DC=mycompany,DC=com"
  405. # Password of the bind user -- not necessary if the LDAP server supports
  406. # anonymous searches
  407. ## bind_password=
  408. # Execute this script to produce the bind user password. This will be used
  409. # when 'bind_password' is not set.
  410. ## bind_password_script=
  411. # Pattern for searching for usernames -- Use <username> for the parameter
  412. # For use when using LdapBackend for Hue authentication
  413. ## ldap_username_pattern="uid=<username>,ou=People,dc=mycompany,dc=com"
  414. ## Use search bind authentication.
  415. ## search_bind_authentication=true
  416. # Whether or not to follow referrals
  417. ## follow_referrals=false
  418. # Enable python-ldap debugging.
  419. ## debug=false
  420. # Sets the debug level within the underlying LDAP C lib.
  421. ## debug_level=255
  422. # Possible values for trace_level are 0 for no logging, 1 for only logging the method calls with arguments,
  423. # 2 for logging the method calls with arguments and the complete results and 9 for also logging the traceback of method calls.
  424. ## trace_level=0
  425. ## [[[[[users]]]]]
  426. # Base filter for searching for users
  427. ## user_filter="objectclass=Person"
  428. # The username attribute in the LDAP schema
  429. ## user_name_attr=sAMAccountName
  430. ## [[[[[groups]]]]]
  431. # Base filter for searching for groups
  432. ## group_filter="objectclass=groupOfNames"
  433. # The username attribute in the LDAP schema
  434. ## group_name_attr=cn
  435. # Configuration options for specifying the Source Version Control.
  436. # ----------------------------------------------------------------
  437. [[vcs]]
  438. ## [[[git-read-only]]]
  439. ## Base URL to Remote Server
  440. # remote_url=https://github.com/cloudera/hue/tree/master
  441. ## Base URL to Version Control API
  442. # api_url=https://api.github.com
  443. ## [[[github]]]
  444. ## Base URL to Remote Server
  445. # remote_url=https://github.com/cloudera/hue/tree/master
  446. ## Base URL to Version Control API
  447. # api_url=https://api.github.com
  448. # These will be necessary when you want to write back to the repository.
  449. ## Client ID for Authorized Application
  450. # client_id=
  451. ## Client Secret for Authorized Application
  452. # client_secret=
  453. ## [[[svn]]
  454. ## Base URL to Remote Server
  455. # remote_url=https://github.com/cloudera/hue/tree/master
  456. ## Base URL to Version Control API
  457. # api_url=https://api.github.com
  458. # These will be necessary when you want to write back to the repository.
  459. ## Client ID for Authorized Application
  460. # client_id=
  461. ## Client Secret for Authorized Application
  462. # client_secret=
  463. # Configuration options for specifying the Desktop Database. For more info,
  464. # see http://docs.djangoproject.com/en/1.11/ref/settings/#database-engine
  465. # ------------------------------------------------------------------------
  466. [[database]]
  467. # Database engine is typically one of:
  468. # postgresql_psycopg2, mysql, sqlite3 or oracle.
  469. #
  470. # Note that for sqlite3, 'name', below is a path to the filename. For other backends, it is the database name.
  471. # Note for Oracle, options={"threaded":true} must be set in order to avoid crashes.
  472. # Note for Oracle, you can use the Oracle Service Name by setting "host=" and "port=" and then "name=<host>:<port>/<service_name>".
  473. # Note for MariaDB use the 'mysql' engine.
  474. ## engine=sqlite3
  475. ## host=
  476. ## port=
  477. ## user=
  478. ## password=
  479. # conn_max_age option to make database connection persistent value in seconds
  480. # https://docs.djangoproject.com/en/1.9/ref/databases/#persistent-connections
  481. ## conn_max_age=0
  482. # Execute this script to produce the database password. This will be used when 'password' is not set.
  483. ## password_script=/path/script
  484. ## name=desktop/desktop.db
  485. ## options={}
  486. # Configuration options for specifying the Desktop session.
  487. # For more info, see https://docs.djangoproject.com/en/1.11/topics/http/sessions/
  488. # ------------------------------------------------------------------------
  489. [[session]]
  490. # The name of the cookie to use for sessions.
  491. # This can have any value that is not used by the other cookie names in your application.
  492. ## cookie_name=sessionid
  493. # The cookie containing the users' session ID will expire after this amount of time in seconds.
  494. # Default is 2 weeks.
  495. ## ttl=1209600
  496. # The cookie containing the users' session ID and csrf cookie will be secure.
  497. # Should only be enabled with HTTPS.
  498. ## secure=false
  499. # The cookie containing the users' session ID and csrf cookie will use the HTTP only flag.
  500. ## http_only=true
  501. # Use session-length cookies. Logs out the user when she closes the browser window.
  502. ## expire_at_browser_close=false
  503. # If set, limits the number of concurrent user sessions. 1 represents 1 browser session per user. Default: 0 (unlimited sessions per user)
  504. ## concurrent_user_session_limit=0
  505. # A list of hosts which are trusted origins for unsafe requests. See django's CSRF_TRUSTED_ORIGINS for more information
  506. ## trusted_origins=.cloudera.com
  507. # Configuration options for connecting to an external SMTP server
  508. # ------------------------------------------------------------------------
  509. [[smtp]]
  510. # The SMTP server information for email notification delivery
  511. host=localhost
  512. port=25
  513. user=
  514. password=
  515. # Whether to use a TLS (secure) connection when talking to the SMTP server
  516. tls=no
  517. # Default email address to use for various automated notification from Hue
  518. ## default_from_email=hue@localhost
  519. # Configuration options for KNOX integration for secured CDPD cluster
  520. # ------------------------------------------------------------------------
  521. [[knox]]
  522. # This is a list of hosts that knox proxy requests can come from
  523. ## knox_proxyhosts="server1.domain.com,server2.domain.com"
  524. # List of Kerberos principal name which is allowed to impersonate others
  525. ## knox_principal=knox1,knox2
  526. # Comma separated list of strings representing the ports that the Hue server can trust as knox port.
  527. ## knox_ports=80,8443
  528. # Configuration options for Kerberos integration for secured Hadoop clusters
  529. # ------------------------------------------------------------------------
  530. [[kerberos]]
  531. # Path to Hue's Kerberos keytab file
  532. ## hue_keytab=
  533. # Kerberos principal name for Hue
  534. ## hue_principal=hue/hostname.foo.com
  535. # Frequency in seconds with which Hue will renew its keytab
  536. ## keytab_reinit_frequency=3600
  537. # Path to keep Kerberos credentials cached
  538. ## ccache_path=/var/run/hue/hue_krb5_ccache
  539. # Path to kinit
  540. ## kinit_path=/path/to/kinit
  541. # Mutual authentication from the server, attaches HTTP GSSAPI/Kerberos Authentication to the given Request object
  542. ## mutual_authentication="OPTIONAL" or "REQUIRED" or "DISABLED"
  543. # Configuration options for using OAuthBackend (Core) login
  544. # ------------------------------------------------------------------------
  545. [[oauth]]
  546. # The Consumer key of the application
  547. ## consumer_key=XXXXXXXXXXXXXXXXXXXXX
  548. # The Consumer secret of the application
  549. ## consumer_secret=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  550. # The Request token URL
  551. ## request_token_url=https://api.twitter.com/oauth/request_token
  552. # The Access token URL
  553. ## access_token_url=https://api.twitter.com/oauth/access_token
  554. # The Authorize URL
  555. ## authenticate_url=https://api.twitter.com/oauth/authorize
  556. # Configuration options for using OIDCBackend (Core) login for SSO
  557. # ------------------------------------------------------------------------
  558. [[oidc]]
  559. # The client ID as relay party set in OpenID provider
  560. ## oidc_rp_client_id=XXXXXXXXXXXXXXXXXXXXX
  561. # The client secret as relay party set in OpenID provider
  562. ## oidc_rp_client_secret=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  563. # The OpenID provider authoriation endpoint
  564. ## oidc_op_authorization_endpoint=https://keycloak.example.com/auth/realms/Cloudera/protocol/openid-connect/auth
  565. # The OpenID provider token endpoint
  566. ## oidc_op_token_endpoint=https://keycloak.example.com/auth/realms/cloudera/protocol/openid-connect/token
  567. # The OpenID provider user info endpoint
  568. ## oidc_op_user_endpoint=https://keycloak.example.com/auth/realms/cloudera/protocol/openid-connect/userinfo
  569. # The OpenID provider signing key in PEM or DER format
  570. ## oidc_rp_idp_sign_key=/path/to/key_file
  571. # The OpenID provider authoriation endpoint
  572. ## oidc_op_jwks_endpoint=https://keycloak.example.com/auth/realms/Cloudera/protocol/openid-connect/certs
  573. # Whether Hue as OpenID Connect client verify SSL cert
  574. ## oidc_verify_ssl=true
  575. # As relay party Hue URL path to redirect to after login
  576. ## login_redirect_url=https://localhost:8888/oidc/callback/
  577. # The OpenID provider URL path to redirect to after logout
  578. ## logout_redirect_url=https://keycloak.example.com/auth/realms/cloudera/protocol/openid-connect/logout
  579. # As relay party Hue URL path to redirect to after login
  580. ## login_redirect_url_failure=https://localhost:8888/hue/oidc_failed/
  581. # Create a new user from OpenID Connect on login if it doesn't exist
  582. ## create_users_on_login=true
  583. # When creating a new user, which 'claims' attribute from the OIDC provider to be used for creating the username.
  584. # Default to 'preferred_username'. Possible values include: 'email'
  585. ## oidc_username_attribute=preferred_username
  586. # The group of users will be created and updated as superuser. To use this feature, setup in Keycloak:
  587. # 1. add the name of the group here
  588. # 2. in Keycloak, go to your_realm --> your_clients --> Mappers, add a mapper
  589. # Mapper Type: Group Membership (this is predefined mapper type)
  590. # Token Claim Name: group_membership (required exact string)
  591. ## superuser_group=hue_superusers
  592. # Configuration options for Metrics
  593. # ------------------------------------------------------------------------
  594. [[metrics]]
  595. # Enable the metrics URL "/desktop/metrics"
  596. ## enable_web_metrics=True
  597. # If specified, Hue will write metrics to this file.
  598. ## location=/var/log/hue/metrics.json
  599. # Time in milliseconds on how frequently to collect metrics
  600. ## collection_interval=30000
  601. # Configuration options for the request Tracing
  602. # ------------------------------------------------------------------------
  603. [[tracing]]
  604. ## If tracing is enabled.
  605. # enabled=false
  606. ## Trace all the requests instead of a few specific ones like the SQL Editor. Much noisiers.
  607. # trace_all=false
  608. # Configuration options for the Task Server
  609. # ------------------------------------------------------------------------
  610. [[task_server]]
  611. # If resource intensive or blocking can be delegated to an already running task server.
  612. ## enabled=False
  613. # Switch on the integration with the Task Scheduler.
  614. ## beat_enabled=False
  615. # Number of query results rows to fetch into the result storage.
  616. ## fetch_result_limit=2000
  617. # Django file storage class to use to temporarily store query results
  618. ## result_storage='{"backend": "django.core.files.storage.FileSystemStorage", "properties": {"location": "./logs"}}'
  619. # How the task server and tasks communicate.
  620. ## broker_url=amqp://guest:guest@localhost//
  621. # Where to store task results. Defaults to local file system path. Celery comes with a several other backends.
  622. ## celery_result_backend=file:///$HUE_ROOT/logs
  623. # Default options provided to the task server at startup.
  624. ## celeryd_opts='--time-limit=300'
  625. # Django cache to use to store temporarily used data during query execution. This is in addition to result_file_storage and result_backend.
  626. ## execution_storage='{"BACKEND": "django.core.cache.backends.locmem.LocMemCache", "LOCATION": "celery-hue"}'
  627. # Settings for the Google Cloud lib
  628. # ------------------------------------------------------------------------
  629. [[gc_accounts]]
  630. [[[default]]]
  631. # The JSON credentials to authenticate to Google Cloud e.g. '{ "type": "service_account", "project_id": .... }'
  632. # json_credentials=None
  633. ###########################################################################
  634. # Settings to configure the snippets available in the Notebook
  635. ###########################################################################
  636. [notebook]
  637. ## Show the notebook menu or not
  638. # show_notebooks=true
  639. ## Flag to enable the selection of queries from files, saved queries into the editor or as snippet.
  640. # enable_external_statements=false
  641. ## Flag to enable the bulk submission of queries as a background task through Oozie.
  642. # enable_batch_execute=false
  643. ## Flag to turn on the SQL indexer.
  644. # enable_sql_indexer=false
  645. ## Flag to turn on the Presentation mode of the editor.
  646. # enable_presentation=true
  647. ## Flag to enable the SQL query builder of the table assist.
  648. # enable_query_builder=true
  649. ## Flag to enable the creation of a coordinator for the current SQL query.
  650. # enable_query_scheduling=false
  651. ## Main flag to override the automatic starting of the DBProxy server.
  652. # enable_dbproxy_server=true
  653. ## Classpath to be appended to the default DBProxy server classpath.
  654. # dbproxy_extra_classpath=
  655. ## Comma separated list of interpreters that should be shown on the wheel. This list takes precedence over the
  656. ## order in which the interpreter entries appear. Only the first 5 interpreters will appear on the wheel.
  657. # interpreters_shown_on_wheel=
  658. # One entry for each type of snippet.
  659. [[interpreters]]
  660. # Define the name and how to connect and execute the language.
  661. # https://docs.gethue.com/administrator/configuration/editor/
  662. # [[[mysql]]]
  663. # name = MySQL
  664. # interface=sqlalchemy
  665. # ## https://docs.sqlalchemy.org/en/latest/dialects/mysql.html
  666. # options='{"url": "mysql://root:secret@database:3306/hue"}'
  667. # ## options='{"url": "mysql://${USER}:${PASSWORD}@localhost:3306/hue"}'
  668. # [[[hive]]]
  669. # name=Hive
  670. # interface=hiveserver2
  671. # [[[llap]]]
  672. # name=LLAP
  673. # interface=hiveserver2
  674. # [[[impala]]]
  675. # name=Impala
  676. # interface=hiveserver2
  677. # [[[postgresql]]]
  678. # name = postgresql
  679. # interface=sqlalchemy
  680. # options='{"url": "postgresql://hue:hue@host:5432/hue"}'
  681. # [[[druid]]]
  682. # name = Druid
  683. # interface=sqlalchemy
  684. # options='{"url": "druid://host:8082/druid/v2/sql/"}'
  685. # [[[sql]]]
  686. # name=SparkSql
  687. # interface=livy
  688. # [[[spark]]]
  689. # name=Scala
  690. # interface=livy
  691. # [[[pyspark]]]
  692. # name=PySpark
  693. # interface=livy
  694. # [[[r]]]
  695. # name=R
  696. # interface=livy
  697. # [[jar]]]
  698. # name=Spark Submit Jar
  699. # interface=livy-batch
  700. # [[[py]]]
  701. # name=Spark Submit Python
  702. # interface=livy-batch
  703. # [[[text]]]
  704. # name=Text
  705. # interface=text
  706. # [[[markdown]]]
  707. # name=Markdown
  708. # interface=text
  709. # [[[sqlite]]]
  710. # name = SQLite
  711. # interface=rdbms
  712. # [[[oracle]]]
  713. # name = Oracle
  714. # interface=rdbms
  715. # [[[solr]]]
  716. # name = Solr SQL
  717. # interface=solr
  718. # ## Name of the collection handler
  719. # options='{"collection": "default"}'
  720. # [[[pig]]]
  721. # name=Pig
  722. # interface=oozie
  723. # [[[java]]]
  724. # name=Java
  725. # interface=oozie
  726. # [[[spark2]]]
  727. # name=Spark
  728. # interface=oozie
  729. # [[[mapreduce]]]
  730. # name=MapReduce
  731. # interface=oozie
  732. # [[[sqoop1]]]
  733. # name=Sqoop1
  734. # interface=oozie
  735. # [[[distcp]]]
  736. # name=Distcp
  737. # interface=oozie
  738. # [[[shell]]]
  739. # name=Shell
  740. # interface=oozie
  741. # [[[presto]]]
  742. # name=Presto SQL
  743. # interface=presto
  744. # ## Specific options for connecting to the Presto server.
  745. # ## The JDBC driver presto-jdbc.jar need to be in the CLASSPATH environment variable.
  746. # ## If 'user' and 'password' are omitted, they will be prompted in the UI.
  747. # options='{"url": "jdbc:presto://localhost:8080/catalog/schema", "driver": "io.prestosql.jdbc.PrestoDriver", "user": "root", "password": "root"}'
  748. # [[[clickhouse]]]
  749. # name=ClickHouse
  750. # interface=jdbc
  751. # ## Specific options for connecting to the ClickHouse server.
  752. # ## The JDBC driver clickhouse-jdbc.jar and its related jars need to be in the CLASSPATH environment variable.
  753. # options='{"url": "jdbc:clickhouse://localhost:8123", "driver": "ru.yandex.clickhouse.ClickHouseDriver", "user": "readonly", "password": ""}'
  754. # [[[vertica]]]
  755. # name=Vertica
  756. # interface=jdbc
  757. # ## Specific options for connecting to a Vertica server.
  758. # ## The JDBC driver vertica-jdbc-*.jar and its related jars need to be in the CLASSPATH environment variable.
  759. # ## If 'user' and 'password' are omitted, they will be prompted in the UI.
  760. # options='{"url": "jdbc:vertica://localhost:5434", "driver": "com.vertica.jdbc.Driver"}'
  761. ###########################################################################
  762. # Settings to configure your Analytics Dashboards
  763. ###########################################################################
  764. [dashboard]
  765. # Activate the Dashboard link in the menu.
  766. ## is_enabled=true
  767. # Activate the SQL Dashboard (beta).
  768. ## has_sql_enabled=false
  769. # Activate the Query Builder (beta).
  770. ## has_query_builder_enabled=false
  771. # Activate the static report layout (beta).
  772. ## has_report_enabled=false
  773. # Activate the new grid layout system.
  774. ## use_gridster=true
  775. # Activate the widget filter and comparison (beta).
  776. ## has_widget_filter=false
  777. # Activate the tree widget (to drill down fields as dimensions, alpha).
  778. ## has_tree_widget=false
  779. [[engines]]
  780. # [[[solr]]]
  781. # Requires Solr 6+
  782. ## analytics=true
  783. ## nesting=false
  784. # [[[sql]]]
  785. ## analytics=true
  786. ## nesting=false
  787. ###########################################################################
  788. # Settings to configure your Hadoop cluster.
  789. ###########################################################################
  790. [hadoop]
  791. # Configuration for HDFS NameNode
  792. # ------------------------------------------------------------------------
  793. [[hdfs_clusters]]
  794. # HA support by using HttpFs
  795. [[[default]]]
  796. # Enter the filesystem uri
  797. fs_defaultfs=hdfs://localhost:8020
  798. # NameNode logical name.
  799. ## logical_name=
  800. # Use WebHdfs/HttpFs as the communication mechanism.
  801. # Domain should be the NameNode or HttpFs host.
  802. # Default port is 14000 for HttpFs.
  803. ## webhdfs_url=http://localhost:50070/webhdfs/v1
  804. # Change this if your HDFS cluster is Kerberos-secured
  805. ## security_enabled=false
  806. # In secure mode (HTTPS), if SSL certificates from YARN Rest APIs
  807. # have to be verified against certificate authority
  808. ## ssl_cert_ca_verify=True
  809. # Directory of the Hadoop configuration
  810. ## hadoop_conf_dir=$HADOOP_CONF_DIR when set or '/etc/hadoop/conf'
  811. # Configuration for YARN (MR2)
  812. # ------------------------------------------------------------------------
  813. [[yarn_clusters]]
  814. [[[default]]]
  815. # Enter the host on which you are running the ResourceManager
  816. ## resourcemanager_host=localhost
  817. # The port where the ResourceManager IPC listens on
  818. ## resourcemanager_port=8032
  819. # Whether to submit jobs to this cluster
  820. submit_to=True
  821. # Resource Manager logical name (required for HA)
  822. ## logical_name=
  823. # Change this if your YARN cluster is Kerberos-secured
  824. ## security_enabled=false
  825. # URL of the ResourceManager API
  826. ## resourcemanager_api_url=http://localhost:8088
  827. # URL of the ProxyServer API
  828. ## proxy_api_url=http://localhost:8088
  829. # URL of the HistoryServer API
  830. ## history_server_api_url=http://localhost:19888
  831. # URL of the Spark History Server
  832. ## spark_history_server_url=http://localhost:18088
  833. # Change this if your Spark History Server is Kerberos-secured
  834. ## spark_history_server_security_enabled=false
  835. # In secure mode (HTTPS), if SSL certificates from YARN Rest APIs
  836. # have to be verified against certificate authority
  837. ## ssl_cert_ca_verify=True
  838. # HA support by specifying multiple clusters.
  839. # Redefine different properties there.
  840. # e.g.
  841. # [[[ha]]]
  842. # Resource Manager logical name (required for HA)
  843. ## logical_name=my-rm-name
  844. # Un-comment to enable
  845. ## submit_to=True
  846. # URL of the ResourceManager API
  847. ## resourcemanager_api_url=http://localhost:8088
  848. # ...
  849. ###########################################################################
  850. # Settings to configure Beeswax with Hive
  851. ###########################################################################
  852. [beeswax]
  853. # Host where HiveServer2 is running.
  854. # If Kerberos security is enabled, use fully-qualified domain name (FQDN).
  855. ## hive_server_host=localhost
  856. # Port where HiveServer2 Thrift server runs on.
  857. ## hive_server_port=10000
  858. # Http thrift port for HiveServer2.
  859. ## hive_server_http_port=10001
  860. # Host where LLAP is running
  861. ## llap_server_host = localhost
  862. # LLAP binary thrift port
  863. ## llap_server_port = 10500
  864. # LLAP HTTP Thrift port
  865. ## llap_server_thrift_port = 10501
  866. # Alternatively, use Service Discovery for LLAP (Hive Server Interactive) and/or Hiveserver2, this will override server and thrift port
  867. # Whether to use Service Discovery for LLAP
  868. ## hive_discovery_llap = true
  869. # is llap (hive server interactive) running in an HA configuration (more than 1)
  870. # important as the zookeeper structure is different
  871. ## hive_discovery_llap_ha = false
  872. # Shortcuts to finding LLAP znode Key
  873. # Non-HA - hiveserver-interactive-site - hive.server2.zookeeper.namespace ex hive2 = /hive2
  874. # HA-NonKerberized - <llap_app_name>_llap ex app name llap0 = /llap0_llap
  875. # HA-Kerberized - <llap_app_name>_llap-sasl ex app name llap0 = /llap0_llap-sasl
  876. ## hive_discovery_llap_znode = /hiveserver2-hive2
  877. # Whether to use Service Discovery for HiveServer2
  878. ## hive_discovery_hs2 = true
  879. # Hiveserver2 is hive-site hive.server2.zookeeper.namespace ex hiveserver2 = /hiverserver2
  880. ## hive_discovery_hiveserver2_znode = /hiveserver2
  881. # Applicable only for LLAP HA
  882. # To keep the load on zookeeper to a minimum
  883. # ---- we cache the LLAP activeEndpoint for the cache_timeout period
  884. # ---- we cache the hiveserver2 endpoint for the length of session
  885. # configurations to set the time between zookeeper checks
  886. ## cache_timeout = 60
  887. # Host where Hive Metastore Server (HMS) is running.
  888. # If Kerberos security is enabled, the fully-qualified domain name (FQDN) is required.
  889. ## hive_metastore_host=localhost
  890. # Configure the port the Hive Metastore Server runs on.
  891. ## hive_metastore_port=9083
  892. # Hive configuration directory, where hive-site.xml is located
  893. ## hive_conf_dir=/etc/hive/conf
  894. # Timeout in seconds for thrift calls to Hive service
  895. ## server_conn_timeout=120
  896. # Choose whether to use the old GetLog() thrift call from before Hive 0.14 to retrieve the logs.
  897. # If false, use the FetchResults() thrift call from Hive 1.0 or more instead.
  898. ## use_get_log_api=false
  899. # Limit the number of partitions that can be listed.
  900. ## list_partitions_limit=10000
  901. # The maximum number of partitions that will be included in the SELECT * LIMIT sample query for partitioned tables.
  902. ## query_partitions_limit=10
  903. # A limit to the number of rows that can be downloaded from a query before it is truncated.
  904. # A value of -1 means there will be no limit.
  905. ## download_row_limit=100000
  906. # A limit to the number of bytes that can be downloaded from a query before it is truncated.
  907. # A value of -1 means there will be no limit.
  908. ## download_bytes_limit=-1
  909. # Hue will try to close the Hive query when the user leaves the editor page.
  910. # This will free all the query resources in HiveServer2, but also make its results inaccessible.
  911. ## close_queries=false
  912. # Hue will use at most this many HiveServer2 sessions per user at a time.
  913. # For Tez, increase the number to more if you need more than one query at the time, e.g. 2 or 3 (Tez has a maximum of 1 query by session).
  914. ## max_number_of_sessions=1
  915. # Thrift version to use when communicating with HiveServer2.
  916. # Version 11 comes with Hive 3.0. If issues, try 7.
  917. ## thrift_version=11
  918. # A comma-separated list of white-listed Hive configuration properties that users are authorized to set.
  919. ## config_whitelist=hive.map.aggr,hive.exec.compress.output,hive.exec.parallel,hive.execution.engine,mapreduce.job.queuename
  920. # Override the default desktop username and password of the hue user used for authentications with other services.
  921. # e.g. Used for LDAP/PAM pass-through authentication.
  922. ## auth_username=hue
  923. ## auth_password=
  924. # Use SASL framework to establish connection to host.
  925. ## use_sasl=false
  926. [[ssl]]
  927. # Path to Certificate Authority certificates.
  928. ## cacerts=/etc/hue/cacerts.pem
  929. # Choose whether Hue should validate certificates received from the server.
  930. ## validate=true
  931. ###########################################################################
  932. # Settings to configure Metastore
  933. ###########################################################################
  934. [metastore]
  935. # Flag to turn on the new version of the create table wizard.
  936. ## enable_new_create_table=true
  937. # Flag to force all metadata calls (e.g. list tables, table or column details...) to happen via HiveServer2 if available instead of Impala.
  938. ## force_hs2_metadata=false
  939. ###########################################################################
  940. # Settings to configure Impala
  941. ###########################################################################
  942. [impala]
  943. # Host of the Impala Server (one of the Impalad)
  944. ## server_host=localhost
  945. # Port of the Impala Server
  946. ## server_port=21050
  947. # Kerberos principal
  948. ## impala_principal=impala/hostname.foo.com
  949. # Turn on/off impersonation mechanism when talking to Impala
  950. ## impersonation_enabled=False
  951. # Number of initial rows of a result set to ask Impala to cache in order
  952. # to support re-fetching them for downloading them.
  953. # Set to 0 for disabling the option and backward compatibility.
  954. ## querycache_rows=50000
  955. # Timeout in seconds for thrift calls
  956. ## server_conn_timeout=120
  957. # Hue will try to close the Impala query when the user leaves the editor page.
  958. # This will free all the query resources in Impala, but also make its results inaccessible.
  959. ## close_queries=true
  960. # If > 0, the query will be timed out (i.e. cancelled) if Impala does not do any work
  961. # (compute or send back results) for that query within QUERY_TIMEOUT_S seconds.
  962. ## query_timeout_s=300
  963. # If > 0, the session will be timed out (i.e. cancelled) if Impala does not do any work
  964. # (compute or send back results) for that session within SESSION_TIMEOUT_S seconds (default 15 min).
  965. ## session_timeout_s=900
  966. # Override the desktop default username and password of the hue user used for authentications with other services.
  967. # e.g. Used for LDAP/PAM pass-through authentication.
  968. ## auth_username=hue
  969. ## auth_password=
  970. # Username and password for Impala Daemon Web interface for getting Impala queries in JobBrowser
  971. # Set when webserver_htpassword_user and webserver_htpassword_password are set for Impala
  972. ## daemon_api_username=
  973. ## daemon_api_password=
  974. # Execute this script to produce the password to avoid entering in clear text
  975. ## daemon_api_password_script=
  976. # A comma-separated list of white-listed Impala configuration properties that users are authorized to set.
  977. ## config_whitelist=debug_action,explain_level,mem_limit,optimize_partition_key_scans,query_timeout_s,request_pool
  978. # Path to the impala configuration dir which has impalad_flags file
  979. ## impala_conf_dir=${HUE_CONF_DIR}/impala-conf
  980. # Use SASL framework to establish connection to host.
  981. ## use_sasl=true
  982. [[ssl]]
  983. # SSL communication enabled for this server.
  984. ## enabled=false
  985. # Path to Certificate Authority certificates.
  986. ## cacerts=/etc/hue/cacerts.pem
  987. # Choose whether Hue should validate certificates received from the server.
  988. ## validate=true
  989. ###########################################################################
  990. # Settings to configure the Spark application.
  991. ###########################################################################
  992. [spark]
  993. # The Livy Server URL.
  994. ## livy_server_url=http://localhost:8998
  995. # Configure Livy to start in local 'process' mode, or 'yarn' workers.
  996. ## livy_server_session_kind=yarn
  997. # Whether Livy requires client to perform Kerberos authentication.
  998. ## security_enabled=false
  999. # Whether Livy requires client to use csrf protection.
  1000. ## csrf_enabled=false
  1001. # Host of the Sql Server
  1002. ## sql_server_host=localhost
  1003. # Port of the Sql Server
  1004. ## sql_server_port=10000
  1005. # Choose whether Hue should validate certificates received from the server.
  1006. ## ssl_cert_ca_verify=true
  1007. # Use SASL framework to establish connection to host.
  1008. ## use_sasl=false
  1009. ###########################################################################
  1010. # Settings to configure the Oozie app
  1011. ###########################################################################
  1012. [oozie]
  1013. # Location on local FS where the examples are stored.
  1014. ## local_data_dir=..../examples
  1015. # Location on local FS where the data for the examples is stored.
  1016. ## sample_data_dir=...thirdparty/sample_data
  1017. # Location on HDFS where the oozie examples and workflows are stored.
  1018. # Parameters are $TIME and $USER, e.g. /user/$USER/hue/workspaces/workflow-$TIME
  1019. ## remote_data_dir=/user/hue/oozie/workspaces
  1020. # Maximum of Oozie workflows or coodinators to retrieve in one API call.
  1021. ## oozie_jobs_count=100
  1022. # Use Cron format for defining the frequency of a Coordinator instead of the old frequency number/unit.
  1023. ## enable_cron_scheduling=true
  1024. # Flag to enable the saved Editor queries to be dragged and dropped into a workflow.
  1025. ## enable_document_action=true
  1026. # Flag to enable Oozie backend filtering instead of doing it at the page level in Javascript. Requires Oozie 4.3+.
  1027. ## enable_oozie_backend_filtering=true
  1028. # Flag to enable the Impala action.
  1029. ## enable_impala_action=false
  1030. # Flag to enable the Altus action.
  1031. ## enable_altus_action=false
  1032. ###########################################################################
  1033. # Settings to configure the Filebrowser app
  1034. ###########################################################################
  1035. [filebrowser]
  1036. # Location on local filesystem where the uploaded archives are temporary stored.
  1037. ## archive_upload_tempdir=/tmp
  1038. # Show Download Button for HDFS file browser.
  1039. ## show_download_button=true
  1040. # Show Upload Button for HDFS file browser.
  1041. ## show_upload_button=true
  1042. # Flag to enable the extraction of a uploaded archive in HDFS.
  1043. ## enable_extract_uploaded_archive=true
  1044. # Redirect client to WebHdfs or S3 for file download. Note: Turning this on will override notebook/redirect_whitelist for user selected file downloads on WebHdfs & S3.
  1045. ## redirect_download=false
  1046. ###########################################################################
  1047. # Settings to configure Pig
  1048. ###########################################################################
  1049. [pig]
  1050. # Path to directory with piggybank.jar on local filesystem.
  1051. ## local_sample_dir=/usr/share/hue/apps/pig/examples
  1052. # Location piggybank.jar will be copied to in HDFS.
  1053. ## remote_data_dir=/user/hue/pig/examples
  1054. ###########################################################################
  1055. # Settings to configure Sqoop2
  1056. ###########################################################################
  1057. [sqoop]
  1058. # If the Sqoop2 app is enabled. Sqoop2 project is deprecated. Sqoop1 is recommended.
  1059. ## is_enabled=false
  1060. # Sqoop server URL
  1061. ## server_url=http://localhost:12000/sqoop
  1062. # Path to configuration directory
  1063. ## sqoop_conf_dir=/etc/sqoop2/conf
  1064. # Choose whether Hue should validate certificates received from the server.
  1065. ## ssl_cert_ca_verify=true
  1066. # For autocompletion, fill out the librdbms section.
  1067. ###########################################################################
  1068. # Settings to configure Proxy
  1069. ###########################################################################
  1070. [proxy]
  1071. # Comma-separated list of regular expressions,
  1072. # which match 'host:port' of requested proxy target.
  1073. ## whitelist=(localhost|127\.0\.0\.1):(50030|50070|50060|50075)
  1074. # Comma-separated list of regular expressions,
  1075. # which match any prefix of 'host:port/path' of requested proxy target.
  1076. # This does not support matching GET parameters.
  1077. ## blacklist=
  1078. ###########################################################################
  1079. # Settings to configure HBase Browser
  1080. ###########################################################################
  1081. [hbase]
  1082. # Comma-separated list of HBase Thrift servers for clusters in the format of '(name|host:port)'.
  1083. # Use full hostname. If hbase.thrift.ssl.enabled in hbase-site is set to true, https will be used otherwise it will use http
  1084. # If using Kerberos we assume GSSAPI SASL, not PLAIN.
  1085. ## hbase_clusters=(Cluster|localhost:9090)
  1086. # HBase configuration directory, where hbase-site.xml is located.
  1087. ## hbase_conf_dir=/etc/hbase/conf
  1088. # Hard limit of rows or columns per row fetched before truncating.
  1089. ## truncate_limit = 500
  1090. # Should come from hbase-site.xml, do not set. 'framed' is used to chunk up responses, used with the nonblocking server in Thrift but is not supported in Hue.
  1091. # 'buffered' used to be the default of the HBase Thrift Server. Default is buffered when not set in hbase-site.xml.
  1092. ## thrift_transport=buffered
  1093. # Choose whether Hue should validate certificates received from the server.
  1094. ## ssl_cert_ca_verify=true
  1095. ###########################################################################
  1096. # Settings to configure Solr Search
  1097. ###########################################################################
  1098. [search]
  1099. # URL of the Solr Server
  1100. ## solr_url=http://localhost:8983/solr/
  1101. # Requires FQDN in solr_url if enabled
  1102. ## security_enabled=false
  1103. ## Query sent when no term is entered
  1104. ## empty_query=*:*
  1105. ###########################################################################
  1106. # Settings to configure Solr API lib
  1107. ###########################################################################
  1108. [libsolr]
  1109. # Choose whether Hue should validate certificates received from the server.
  1110. ## ssl_cert_ca_verify=true
  1111. # Default path to Solr in ZooKeeper.
  1112. ## solr_zk_path=/solr
  1113. ###########################################################################
  1114. # Settings to configure the Data Importer Wizard
  1115. ###########################################################################
  1116. [indexer]
  1117. # Filesystem directory containing Solr Morphline indexing libs.
  1118. ## config_indexer_libs_path=/tmp/smart_indexer_lib
  1119. # Filesystem directory containing JDBC libs.
  1120. ## config_jdbc_libs_path=/user/oozie/libext/jdbc_drivers
  1121. # Filesystem directory containing jar libs.
  1122. ## config_jars_libs_path=/user/oozie/libext/libs
  1123. # Flag to turn on the Solr Morphline indexer.
  1124. ## enable_scalable_indexer=true
  1125. # Flag to turn on Sqoop ingest.
  1126. ## enable_sqoop=true
  1127. # Flag to turn on Kafka topic ingest.
  1128. ## enable_kafka=false
  1129. ###########################################################################
  1130. # Settings to configure Job Designer
  1131. ###########################################################################
  1132. [jobsub]
  1133. # Location on local FS where examples and template are stored.
  1134. ## local_data_dir=..../data
  1135. # Location on local FS where sample data is stored
  1136. ## sample_data_dir=...thirdparty/sample_data
  1137. ###########################################################################
  1138. # Settings to configure Job Browser.
  1139. ###########################################################################
  1140. [jobbrowser]
  1141. # Share submitted jobs information with all users. If set to false,
  1142. # submitted jobs are visible only to the owner and administrators.
  1143. ## share_jobs=true
  1144. # Whether to disalbe the job kill button for all users in the jobbrowser
  1145. ## disable_killing_jobs=false
  1146. # Offset in bytes where a negative offset will fetch the last N bytes for the given log file (default 1MB).
  1147. ## log_offset=-1000000
  1148. # Maximum number of jobs to fetch and display when pagination is not supported for the type.
  1149. ## max_job_fetch=500
  1150. # Show the version 2 of app which unifies all the past browsers into one.
  1151. ## enable_v2=true
  1152. # Show the Impala query section for listing and showing more troubleshooting information.
  1153. ## enable_query_browser=true
  1154. # Show the Hive query section for listing and showing more troubleshooting information.
  1155. ## enable_hive_query_browser=false
  1156. ###########################################################################
  1157. # Settings to configure Sentry / Security App.
  1158. ###########################################################################
  1159. [security]
  1160. # Use Sentry API V1 for Hive.
  1161. ## hive_v1=true
  1162. # Use Sentry API V2 for Hive.
  1163. ## hive_v2=false
  1164. # Use Sentry API V2 for Solr.
  1165. ## solr_v2=true
  1166. ###########################################################################
  1167. # Settings to configure the Zookeeper application.
  1168. ###########################################################################
  1169. [zookeeper]
  1170. [[clusters]]
  1171. [[[default]]]
  1172. # Zookeeper ensemble. Comma separated list of Host/Port.
  1173. # e.g. localhost:2181,localhost:2182,localhost:2183
  1174. ## host_ports=localhost:2181
  1175. # The URL of the REST contrib service (required for znode browsing).
  1176. ## rest_url=http://localhost:9998
  1177. # Name of Kerberos principal when using security.
  1178. ## principal_name=zookeeper
  1179. ###########################################################################
  1180. # Settings for the User Admin application
  1181. ###########################################################################
  1182. [useradmin]
  1183. # Default home directory permissions
  1184. ## home_dir_permissions=0755
  1185. # The name of the default user group that users will be a member of
  1186. ## default_user_group=default
  1187. [[password_policy]]
  1188. # Set password policy to all users. The default policy requires password to be at least 8 characters long,
  1189. # and contain both uppercase and lowercase letters, numbers, and special characters.
  1190. ## is_enabled=false
  1191. ## pwd_regex="^(?=.*?[A-Z])(?=(.*[a-z]){1,})(?=(.*[\d]){1,})(?=(.*[\W_]){1,}).{8,}$"
  1192. ## pwd_hint="The password must be at least 8 characters long, and must contain both uppercase and lowercase letters, at least one number, and at least one special character."
  1193. ## pwd_error_message="The password must be at least 8 characters long, and must contain both uppercase and lowercase letters, at least one number, and at least one special character."
  1194. ###########################################################################
  1195. # Settings to configure liboozie
  1196. ###########################################################################
  1197. [liboozie]
  1198. # The URL where the Oozie service runs on. This is required in order for
  1199. # users to submit jobs. Empty value disables the config check.
  1200. ## oozie_url=http://localhost:11000/oozie
  1201. # Requires FQDN in oozie_url if enabled
  1202. ## security_enabled=false
  1203. # Location on HDFS where the workflows/coordinator are deployed when submitted.
  1204. ## remote_deployement_dir=/user/hue/oozie/deployments
  1205. ###########################################################################
  1206. # Settings for the AWS lib
  1207. ###########################################################################
  1208. [aws]
  1209. [[aws_accounts]]
  1210. # Default AWS account
  1211. ## [[[default]]]
  1212. # AWS credentials
  1213. ## access_key_id=
  1214. ## secret_access_key=
  1215. ## security_token=
  1216. # Execute this script to produce the AWS access key ID.
  1217. ## access_key_id_script=/path/access_key_id.sh
  1218. # Execute this script to produce the AWS secret access key.
  1219. ## secret_access_key_script=/path/secret_access_key.sh
  1220. # Allow to use either environment variables or
  1221. # EC2 InstanceProfile to retrieve AWS credentials.
  1222. ## allow_environment_credentials=yes
  1223. # AWS region to use, if no region is specified, will attempt to connect to standard s3.amazonaws.com endpoint
  1224. ## region=us-east-1
  1225. # Endpoint overrides
  1226. ## host=
  1227. # Endpoint overrides
  1228. ## proxy_address=
  1229. ## proxy_port=8080
  1230. ## proxy_user=
  1231. ## proxy_pass=
  1232. # Secure connections are the default, but this can be explicitly overridden:
  1233. ## is_secure=true
  1234. # The default calling format uses https://<bucket-name>.s3.amazonaws.com but
  1235. # this may not make sense if DNS is not configured in this way for custom endpoints.
  1236. # e.g. Use boto.s3.connection.OrdinaryCallingFormat for https://s3.amazonaws.com/<bucket-name>
  1237. ## calling_format=boto.s3.connection.OrdinaryCallingFormat
  1238. # The time in seconds before a delegate key is expired. Used when filebrowser/redirect_download is used. Default to 4 Hours.
  1239. ## key_expiry=14400
  1240. ###########################################################################
  1241. # Settings for the Azure lib
  1242. ###########################################################################
  1243. [azure]
  1244. [[azure_accounts]]
  1245. # Default Azure account
  1246. [[[default]]]
  1247. # Azure credentials
  1248. ## client_id=
  1249. # Execute this script to produce the ADLS client id.
  1250. ## client_id_script=/path/client_id.sh
  1251. ## client_secret=
  1252. # Execute this script to produce the ADLS client secret.
  1253. ## client_secret_script=/path/client_secret.sh
  1254. ## tenant_id=
  1255. # Execute this script to produce the ADLS tenant id.
  1256. ## tenant_id_script=/path/tenant_id.sh
  1257. [[adls_clusters]]
  1258. # Default ADLS cluster
  1259. [[[default]]]
  1260. ## fs_defaultfs=adl://<account_name>.azuredatalakestore.net
  1261. ## webhdfs_url=https://<account_name>.azuredatalakestore.net/webhdfs/v1
  1262. [[abfs_clusters]]
  1263. # Default ABFS cluster
  1264. [[[default]]]
  1265. ## fs_defaultfs=abfss://<container_name>@<account_name>.dfs.core.windows.net
  1266. ## webhdfs_url=https://<container_name>@<account_name>.dfs.core.windows.net
  1267. ###########################################################################
  1268. # Settings for the Sentry lib
  1269. ###########################################################################
  1270. [libsentry]
  1271. # Hostname or IP of server.
  1272. ## hostname=localhost
  1273. # Port the sentry service is running on.
  1274. ## port=8038
  1275. # Sentry configuration directory, where sentry-site.xml is located.
  1276. ## sentry_conf_dir=/etc/sentry/conf
  1277. # Number of seconds when the privilege list of a user is cached.
  1278. ## privilege_checker_caching=300
  1279. ###########################################################################
  1280. # Settings to configure the ZooKeeper Lib
  1281. ###########################################################################
  1282. [libzookeeper]
  1283. # ZooKeeper ensemble. Comma separated list of Host/Port.
  1284. # e.g. localhost:2181,localhost:2182,localhost:2183
  1285. ## ensemble=localhost:2181
  1286. # Name of Kerberos principal when using security.
  1287. ## principal_name=zookeeper
  1288. ###########################################################################
  1289. # Settings for the RDBMS application
  1290. ###########################################################################
  1291. [librdbms]
  1292. # The RDBMS app can have any number of databases configured in the databases
  1293. # section. A database is known by its section name
  1294. # (IE sqlite, mysql, psql, and oracle in the list below).
  1295. [[databases]]
  1296. # sqlite configuration.
  1297. ## [[[sqlite]]]
  1298. # Name to show in the UI.
  1299. ## nice_name=SQLite
  1300. # For SQLite, name defines the path to the database.
  1301. ## name=/tmp/sqlite.db
  1302. # Database backend to use.
  1303. ## engine=sqlite
  1304. # Database options to send to the server when connecting.
  1305. # https://docs.djangoproject.com/en/1.4/ref/databases/
  1306. ## options={}
  1307. # mysql, oracle, or postgresql configuration.
  1308. ## [[[mysql]]]
  1309. # Name to show in the UI.
  1310. ## nice_name="My SQL DB"
  1311. # For MySQL and PostgreSQL, name is the name of the database.
  1312. # For Oracle, Name is instance of the Oracle server. For express edition
  1313. # this is 'xe' by default.
  1314. ## name=mysqldb
  1315. # Database backend to use. This can be:
  1316. # 1. mysql
  1317. # 2. postgresql
  1318. # 3. oracle
  1319. ## engine=mysql
  1320. # IP or hostname of the database to connect to.
  1321. ## host=localhost
  1322. # Port the database server is listening to. Defaults are:
  1323. # 1. MySQL: 3306
  1324. # 2. PostgreSQL: 5432
  1325. # 3. Oracle Express Edition: 1521
  1326. ## port=3306
  1327. # Username to authenticate with when connecting to the database.
  1328. ## user=example
  1329. # Password matching the username to authenticate with when
  1330. # connecting to the database.
  1331. ## password=example
  1332. # Database options to send to the server when connecting.
  1333. # https://docs.djangoproject.com/en/1.4/ref/databases/
  1334. ## options={}
  1335. # Database schema, to be used only when public schema is revoked in postgres
  1336. ## schema=public
  1337. ###########################################################################
  1338. # Settings to configure SAML
  1339. ###########################################################################
  1340. [libsaml]
  1341. # Xmlsec1 binary path. This program should be executable by the user running Hue.
  1342. ## xmlsec_binary=/usr/local/bin/xmlsec1
  1343. # Entity ID for Hue acting as service provider.
  1344. # Can also accept a pattern where '<base_url>' will be replaced with server URL base.
  1345. ## entity_id="<base_url>/saml2/metadata/"
  1346. # Create users from SSO on login.
  1347. ## create_users_on_login=true
  1348. # Required attributes to ask for from IdP.
  1349. # This requires a comma separated list.
  1350. ## required_attributes=uid
  1351. # Optional attributes to ask for from IdP.
  1352. # This requires a comma separated list.
  1353. ## optional_attributes=
  1354. # IdP metadata in the form of a file. This is generally an XML file containing metadata that the Identity Provider generates.
  1355. ## metadata_file=
  1356. # Private key to encrypt metadata with.
  1357. ## key_file=
  1358. # Signed certificate to send along with encrypted metadata.
  1359. ## cert_file=
  1360. # Path to a file containing the password private key.
  1361. ## key_file_password=/path/key
  1362. # Execute this script to produce the private key password. This will be used when 'key_file_password' is not set.
  1363. ## key_file_password_script=/path/pwd.sh
  1364. # A mapping from attributes in the response from the IdP to django user attributes.
  1365. ## user_attribute_mapping={'uid': ('username', )}
  1366. # Have Hue initiated authn requests be signed and provide a certificate.
  1367. ## authn_requests_signed=false
  1368. # Have Hue initiated authn response be signed.
  1369. ## want_response_signed=false
  1370. # Have Hue initiated authn assertions response be signed.
  1371. ## want_assertions_signed=false
  1372. # Have Hue initiated logout requests be signed and provide a certificate.
  1373. ## logout_requests_signed=false
  1374. # Username can be sourced from 'attributes' or 'nameid'.
  1375. ## username_source=attributes
  1376. # Performs the logout or not.
  1377. ## logout_enabled=true
  1378. ###########################################################################
  1379. # Settings to configure OAuth
  1380. ###########################################################################
  1381. [liboauth]
  1382. # NOTE:
  1383. # To work, each of the active (i.e. uncommented) service must have
  1384. # applications created on the social network.
  1385. # Then the "consumer key" and "consumer secret" must be provided here.
  1386. #
  1387. # The addresses where to do so are:
  1388. # Twitter: https://dev.twitter.com/apps
  1389. # Google+ : https://cloud.google.com/
  1390. # Facebook: https://developers.facebook.com/apps
  1391. # Linkedin: https://www.linkedin.com/secure/developer
  1392. #
  1393. # Additionnaly, the following must be set in the application settings:
  1394. # Twitter: Callback URL (aka Redirect URL) must be set to http://YOUR_HUE_IP_OR_DOMAIN_NAME/oauth/social_login/oauth_authenticated
  1395. # Google+ : CONSENT SCREEN must have email address
  1396. # Facebook: Sandbox Mode must be DISABLED
  1397. # Linkedin: "In OAuth User Agreement", r_emailaddress is REQUIRED
  1398. # The Consumer key of the application
  1399. ## consumer_key_twitter=
  1400. ## consumer_key_google=
  1401. ## consumer_key_facebook=
  1402. ## consumer_key_linkedin=
  1403. # The Consumer secret of the application
  1404. ## consumer_secret_twitter=
  1405. ## consumer_secret_google=
  1406. ## consumer_secret_facebook=
  1407. ## consumer_secret_linkedin=
  1408. # The Request token URL
  1409. ## request_token_url_twitter=https://api.twitter.com/oauth/request_token
  1410. ## request_token_url_google=https://accounts.google.com/o/oauth2/auth
  1411. ## request_token_url_linkedin=https://www.linkedin.com/uas/oauth2/authorization
  1412. ## request_token_url_facebook=https://graph.facebook.com/oauth/authorize
  1413. # The Access token URL
  1414. ## access_token_url_twitter=https://api.twitter.com/oauth/access_token
  1415. ## access_token_url_google=https://accounts.google.com/o/oauth2/token
  1416. ## access_token_url_facebook=https://graph.facebook.com/oauth/access_token
  1417. ## access_token_url_linkedin=https://api.linkedin.com/uas/oauth2/accessToken
  1418. # The Authenticate URL
  1419. ## authenticate_url_twitter=https://api.twitter.com/oauth/authorize
  1420. ## authenticate_url_google=https://www.googleapis.com/oauth2/v1/userinfo?access_token=
  1421. ## authenticate_url_facebook=https://graph.facebook.com/me?access_token=
  1422. ## authenticate_url_linkedin=https://api.linkedin.com/v1/people/~:(email-address)?format=json&oauth2_access_token=
  1423. # Username Map. Json Hash format.
  1424. # Replaces username parts in order to simplify usernames obtained
  1425. # Example: {"@sub1.domain.com":"_S1", "@sub2.domain.com":"_S2"}
  1426. # converts 'email@sub1.domain.com' to 'email_S1'
  1427. ## username_map={}
  1428. # Whitelisted domains (only applies to Google OAuth). CSV format.
  1429. ## whitelisted_domains_google=
  1430. ###########################################################################
  1431. # Settings to configure Kafka
  1432. ###########################################################################
  1433. [kafka]
  1434. [[kafka]]
  1435. # Enable the Kafka integration.
  1436. ## is_enabled=false
  1437. # Base URL of Kafka Ksql API.
  1438. ## ksql_api_url=http://127.0.0.1:8088
  1439. ###########################################################################
  1440. # Settings to configure Metadata
  1441. ###########################################################################
  1442. [metadata]
  1443. [[manager]]
  1444. # Cloudera Manager API URL (without version suffix).
  1445. ## api_url=http://localhost:7180/api
  1446. [[optimizer]]
  1447. # Type of Optimizer connector to query, e.g. optimizer, dummy
  1448. # interface=optimizer
  1449. # Hostnameto Optimizer API or compatible service.
  1450. ## hostname=navoptapi.us-west-1.optimizer.altus.cloudera.com
  1451. # The name of the key of the service.
  1452. ## auth_key_id=e0819f3a-1e6f-4904-be69-5b704bacd1245
  1453. # The private part of the key associated with the auth_key.
  1454. ## auth_key_secret='-----BEGIN PRIVATE KEY....'
  1455. # Execute this script to produce the auth_key secret. This will be used when `auth_key_secret` is not set.
  1456. ## auth_key_secret_script=/path/to/script.sh
  1457. # The name of the workload where queries are uploaded and optimizations are calculated from. Automatically guessed from auth_key and cluster_id if not specified.
  1458. ## tenant_id=
  1459. # Perform Sentry privilege filtering.
  1460. # Default to true automatically if the cluster is secure.
  1461. ## apply_sentry_permissions=False
  1462. # Cache timeout in milliseconds for the Optimizer metadata used in assist, autocomplete, etc.
  1463. # Defaults to 10 days, set to 0 to disable caching.
  1464. ## cacheable_ttl=864000000
  1465. # Automatically upload queries after their execution in order to improve recommendations.
  1466. ## auto_upload_queries=true
  1467. # Automatically upload queried tables DDL in order to improve recommendations.
  1468. ## auto_upload_ddl=true
  1469. # Automatically upload queried tables and columns stats in order to improve recommendations.
  1470. ## auto_upload_stats=false
  1471. # Allow admins to upload the last N executed queries in the quick start wizard. Use 0 to disable.
  1472. ## query_history_upload_limit=10000
  1473. [[catalog]]
  1474. # The type of Catalog: Apache Atlas, Cloudera Navigator...
  1475. ## interface=atlas
  1476. # Catalog API URL (without version suffix).
  1477. ## api_url=http://localhost:21000/atlas/v2
  1478. # Username of the CM user used for authentication.
  1479. ## server_user=hue
  1480. # Password of the user used for authentication.
  1481. ## server_password=
  1482. # Limits found entities to a specific cluster. When empty the entities from all clusters will be included in the
  1483. # search results.
  1484. ## search_cluster=
  1485. # Set to true when authenticating via kerberos instead of username/password
  1486. ## kerberos_enabled=core_site.is_kerberos_enabled()
  1487. # Directory of the configurations.
  1488. ## conf_dir=HUE_CONF_DIR/hive-conf
  1489. # Deprecated by [[catalog]]
  1490. [[navigator]]
  1491. # Navigator API URL (without version suffix).
  1492. ## api_url=http://localhost:7187/api
  1493. # Which authentication to use: CM or external via LDAP or SAML.
  1494. ## navmetadataserver_auth_type=CMDB
  1495. # Username of the CM user used for authentication.
  1496. ## navmetadataserver_cmdb_user=hue
  1497. # CM password of the user used for authentication.
  1498. ## navmetadataserver_cmdb_password=
  1499. # Execute this script to produce the CM password. This will be used when the plain password is not set.
  1500. # navmetadataserver_cmdb_password_script=
  1501. # Username of the LDAP user used for authentication.
  1502. ## navmetadataserver_ldap_user=hue
  1503. # LDAP password of the user used for authentication.
  1504. ## navmetadataserver_ldap_ppassword=
  1505. # Execute this script to produce the LDAP password. This will be used when the plain password is not set.
  1506. ## navmetadataserver_ldap_password_script=
  1507. # Username of the SAML user used for authentication.
  1508. ## navmetadataserver_saml_user=hue
  1509. ## SAML password of the user used for authentication.
  1510. # navmetadataserver_saml_password=
  1511. # Execute this script to produce the SAML password. This will be used when the plain password is not set.
  1512. ## navmetadataserver_saml_password_script=
  1513. # Perform Sentry privilege filtering.
  1514. # Default to true automatically if the cluster is secure.
  1515. ## apply_sentry_permissions=False
  1516. # Max number of items to fetch in one call in object search.
  1517. ## fetch_size_search=450
  1518. # Max number of items to fetch in one call in object search autocomplete.
  1519. ## fetch_size_search_interactive=450
  1520. # If metadata search is enabled, also show the search box in the left assist.
  1521. ## enable_file_search=false
  1522. [[prometheus]]
  1523. # Configuration options for Prometheus API.
  1524. ## api_url=http://localhost:9090/api