hue.ini 75 KB

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