hue.ini 79 KB

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