hue.ini 75 KB

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