hue.ini 65 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837
  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 to enable the new Hue 4 interface.
  25. ## is_hue_4=true
  26. # Choose whether to still allow users to enable the old Hue 3 interface.
  27. ## disable_hue_3=true
  28. # Choose whether the Hue pages are embedded or not. This will improve the rendering of Hue when added inside a
  29. # container element.
  30. ## is_embedded=false
  31. # A comma-separated list of available Hue load balancers
  32. ## hue_load_balancer=
  33. # Time zone name
  34. time_zone=America/Los_Angeles
  35. # Enable or disable debug mode.
  36. django_debug_mode=false
  37. # Enable development mode, where notably static files are not cached.
  38. ## dev=false
  39. # Enable embedded development mode, where the page will be rendered inside a container div element.
  40. ## dev_embedded=false
  41. # Enable or disable database debug mode.
  42. ## database_logging=false
  43. # Whether to send debug messages from JavaScript to the server logs.
  44. ## send_dbug_messages=false
  45. # Enable or disable backtrace for server error
  46. http_500_debug_mode=false
  47. # Enable or disable memory profiling.
  48. ## memory_profiler=false
  49. # Enable or disable instrumentation. If django_debug_mode is True, this is automatically enabled
  50. ## instrumentation=false
  51. # Server email for internal error messages
  52. ## django_server_email='hue@localhost.localdomain'
  53. # Email backend
  54. ## django_email_backend=django.core.mail.backends.smtp.EmailBackend
  55. # Set to true to use CherryPy as the webserver, set to false
  56. # to use Gunicorn as the webserver. Defaults to CherryPy if
  57. # key is not specified.
  58. ## use_cherrypy_server=true
  59. # Gunicorn work class: gevent or evenlet, gthread or sync.
  60. ## gunicorn_work_class=eventlet
  61. # The number of Gunicorn worker processes. If not specified, it uses: (number of CPU * 2) + 1.
  62. ## gunicorn_number_of_workers=None
  63. # Webserver runs as this user
  64. ## server_user=hue
  65. ## server_group=hue
  66. # This should be the Hue admin and proxy user
  67. ## default_user=hue
  68. # This should be the hadoop cluster admin
  69. ## default_hdfs_superuser=hdfs
  70. # If set to false, runcpserver will not actually start the web server.
  71. # Used if Apache is being used as a WSGI container.
  72. ## enable_server=yes
  73. # Number of threads used by the CherryPy web server
  74. ## cherrypy_server_threads=50
  75. # This property specifies the maximum size of the receive buffer in bytes in thrift sasl communication,
  76. # default value is 2097152 (2 MB), which equals to (2 * 1024 * 1024)
  77. ## sasl_max_buffer=2097152
  78. # Hue will try to get the actual host of the Service, even if it resides behind a load balancer.
  79. # This will enable an automatic configuration of the service without requiring custom configuration of the service load balancer.
  80. # This is available for the Impala service only currently. It is highly recommended to only point to a series of coordinator-only nodes only.
  81. # default=false
  82. # Filename of SSL Certificate
  83. ## ssl_certificate=
  84. # Filename of SSL RSA Private Key
  85. ## ssl_private_key=
  86. # Filename of SSL Certificate Chain
  87. ## ssl_certificate_chain=
  88. # SSL certificate password
  89. ## ssl_password=
  90. # Execute this script to produce the SSL password. This will be used when 'ssl_password' is not set.
  91. ## ssl_password_script=
  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_type_nosniff=true
  94. # X-Xss-Protection: \"1; mode=block\" This is a HTTP response header feature to force XSS protection.
  95. ## secure_browser_xss_filter=true
  96. # X-Content-Type-Options: nosniff This is a HTTP response header feature that helps prevent attacks based on MIME-type confusion.
  97. ## 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'"
  98. # 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).
  99. ## secure_ssl_redirect=False
  100. ## secure_redirect_host=0.0.0.0
  101. ## secure_redirect_exempt=[]
  102. ## secure_hsts_seconds=31536000
  103. ## secure_hsts_include_subdomains=true
  104. # List of allowed and disallowed ciphers in cipher list format.
  105. # See http://www.openssl.org/docs/apps/ciphers.html for more information on
  106. # cipher list format. This list is from
  107. # https://wiki.mozilla.org/Security/Server_Side_TLS v3.7 intermediate
  108. # recommendation, which should be compatible with Firefox 1, Chrome 1, IE 7,
  109. # Opera 5 and Safari 1.
  110. ## ssl_cipher_list=ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS:!DH:!ADH
  111. # Path to default Certificate Authority certificates.
  112. ## ssl_cacerts=/etc/hue/cacerts.pem
  113. # Choose whether Hue should validate certificates received from the server.
  114. ## ssl_validate=true
  115. # Default LDAP/PAM/.. username and password of the hue user used for authentications with other services.
  116. # Inactive if password is empty.
  117. # e.g. LDAP pass-through authentication for HiveServer2 or Impala. Apps can override them individually.
  118. ## auth_username=hue
  119. ## auth_password=
  120. # Default encoding for site data
  121. ## default_site_encoding=utf-8
  122. # Help improve Hue with anonymous usage analytics.
  123. # Use Google Analytics to see how many times an application or specific section of an application is used, nothing more.
  124. ## collect_usage=true
  125. # Tile layer server URL for the Leaflet map charts
  126. # Read more on http://leafletjs.com/reference.html#tilelayer
  127. # Make sure you add the tile domain to the img-src section of the 'secure_content_security_policy' configuration parameter as well.
  128. ## leaflet_tile_layer=http://{s}.tile.osm.org/{z}/{x}/{y}.png
  129. # The copyright message for the specified Leaflet maps Tile Layer
  130. ## leaflet_tile_layer_attribution='&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
  131. # All the map options accordingly to http://leafletjs.com/reference-0.7.7.html#map-options
  132. # To change CRS, just use the name, ie. "EPSG4326"
  133. ## leaflet_map_options='{}'
  134. # All the tile layer options, accordingly to http://leafletjs.com/reference-0.7.7.html#tilelayer
  135. ## leaflet_tile_layer_options='{}'
  136. # X-Frame-Options HTTP header value. Use 'DENY' to deny framing completely
  137. ## http_x_frame_options=SAMEORIGIN
  138. # Enable X-Forwarded-Host header if the load balancer requires it.
  139. ## use_x_forwarded_host=true
  140. # Support for HTTPS termination at the load-balancer level with SECURE_PROXY_SSL_HEADER.
  141. ## secure_proxy_ssl_header=false
  142. # Comma-separated list of Django middleware classes to use.
  143. # See https://docs.djangoproject.com/en/1.4/ref/middleware/ for more details on middlewares in Django.
  144. ## middleware=desktop.auth.backend.LdapSynchronizationBackend
  145. # Comma-separated list of regular expressions, which match the redirect URL.
  146. # For example, to restrict to your local domain and FQDN, the following value can be used:
  147. # ^\/.*$,^http:\/\/www.mydomain.com\/.*$
  148. ## redirect_whitelist=^(\/[a-zA-Z0-9]+.*|\/)$
  149. # Comma separated list of apps to not load at server startup.
  150. # e.g.: pig,zookeeper
  151. ## app_blacklist=
  152. # Id of the cluster where Hue is located.
  153. ## cluster_id='default'
  154. # Choose whether to show the new SQL editor.
  155. ## use_new_editor=true
  156. # Global setting to allow or disable end user downloads in all Hue.
  157. # e.g. Query result in Editors and Dashboards, file in File Browser...
  158. ## enable_download=true
  159. # Choose whether to enable SQL syntax check or not
  160. ## enable_sql_syntax_check=true
  161. # Choose whether to show the improved assist panel and the right context panel
  162. ## use_new_side_panels=false
  163. # Choose whether to use new charting library across the whole Hue.
  164. ## use_new_charts=false
  165. # Editor autocomplete timeout (ms) when fetching columns, fields, tables etc.
  166. # To disable this type of autocompletion set the value to 0.
  167. ## editor_autocomplete_timeout=30000
  168. # Enable saved default configurations for Hive, Impala, Spark, and Oozie.
  169. ## use_default_configuration=false
  170. # The directory where to store the auditing logs. Auditing is disable if the value is empty.
  171. # e.g. /var/log/hue/audit.log
  172. ## audit_event_log_dir=
  173. # Size in KB/MB/GB for audit log to rollover.
  174. ## audit_log_max_file_size=100MB
  175. # Timeout in seconds for REST calls.
  176. ## rest_conn_timeout=120
  177. # A json file containing a list of log redaction rules for cleaning sensitive data
  178. # from log files. It is defined as:
  179. #
  180. # {
  181. # "version": 1,
  182. # "rules": [
  183. # {
  184. # "description": "This is the first rule",
  185. # "trigger": "triggerstring 1",
  186. # "search": "regex 1",
  187. # "replace": "replace 1"
  188. # },
  189. # {
  190. # "description": "This is the second rule",
  191. # "trigger": "triggerstring 2",
  192. # "search": "regex 2",
  193. # "replace": "replace 2"
  194. # }
  195. # ]
  196. # }
  197. #
  198. # Redaction works by searching a string for the [TRIGGER] string. If found,
  199. # the [REGEX] is used to replace sensitive information with the
  200. # [REDACTION_MASK]. If specified with 'log_redaction_string', the
  201. # 'log_redaction_string' rules will be executed after the
  202. # 'log_redaction_file' rules.
  203. #
  204. # For example, here is a file that would redact passwords and social security numbers:
  205. # {
  206. # "version": 1,
  207. # "rules": [
  208. # {
  209. # "description": "Redact passwords",
  210. # "trigger": "password",
  211. # "search": "password=\".*\"",
  212. # "replace": "password=\"???\""
  213. # },
  214. # {
  215. # "description": "Redact social security numbers",
  216. # "trigger": "",
  217. # "search": "\d{3}-\d{2}-\d{4}",
  218. # "replace": "XXX-XX-XXXX"
  219. # }
  220. # ]
  221. # }
  222. ## log_redaction_file=
  223. # Comma separated list of strings representing the host/domain names that the Hue server can serve.
  224. # e.g.: localhost,domain1,*
  225. ## allowed_hosts="*"
  226. # Allow use django debug tool with Chrome browser for debugging issue, django_debug_mode must be true also
  227. ## enable_django_debug_tool=false
  228. # Comma separated list of users' username that allow to use django debug tool. If it is empty, all users are allowed.
  229. ## django_debug_tool_users=
  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.RemoteUserDjangoBackend
  263. # - libsaml.backend.SAML2Backend
  264. # - libopenid.backend.OpenIDBackend
  265. # - liboauth.backend.OAuthBackend
  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. # Ignore the case of usernames when searching for existing users in Hue.
  351. ## ignore_username_case=true
  352. # Force usernames to lowercase when creating new users from LDAP.
  353. # Takes precedence over force_username_uppercase
  354. ## force_username_lowercase=true
  355. # Force usernames to uppercase, cannot be combined with force_username_lowercase
  356. ## force_username_uppercase=false
  357. # Use search bind authentication.
  358. ## search_bind_authentication=true
  359. # Choose which kind of subgrouping to use: nested or suboordinate (deprecated).
  360. ## subgroups=suboordinate
  361. # Define the number of levels to search for nested members.
  362. ## nested_members_search_depth=10
  363. # Whether or not to follow referrals
  364. ## follow_referrals=false
  365. # Enable python-ldap debugging.
  366. ## debug=false
  367. # Sets the debug level within the underlying LDAP C lib.
  368. ## debug_level=255
  369. # Possible values for trace_level are 0 for no logging, 1 for only logging the method calls with arguments,
  370. # 2 for logging the method calls with arguments and the complete results and 9 for also logging the traceback of method calls.
  371. ## trace_level=0
  372. [[[users]]]
  373. # Base filter for searching for users
  374. ## user_filter="objectclass=*"
  375. # The username attribute in the LDAP schema
  376. ## user_name_attr=sAMAccountName
  377. [[[groups]]]
  378. # Base filter for searching for groups
  379. ## group_filter="objectclass=*"
  380. # The group name attribute in the LDAP schema
  381. ## group_name_attr=cn
  382. # The attribute of the group object which identifies the members of the group
  383. ## group_member_attr=members
  384. [[[ldap_servers]]]
  385. ## [[[[mycompany]]]]
  386. # The search base for finding users and groups
  387. ## base_dn="DC=mycompany,DC=com"
  388. # URL of the LDAP server
  389. ## ldap_url=ldap://auth.mycompany.com
  390. # The NT domain used for LDAP authentication
  391. ## nt_domain=mycompany.com
  392. # A PEM-format file containing certificates for the CA's that
  393. # Hue will trust for authentication over TLS.
  394. # The certificate for the CA that signed the
  395. # LDAP server certificate must be included among these certificates.
  396. # See more here http://www.openldap.org/doc/admin24/tls.html.
  397. ## ldap_cert=
  398. ## use_start_tls=true
  399. # Distinguished name of the user to bind as -- not necessary if the LDAP server
  400. # supports anonymous searches
  401. ## bind_dn="CN=ServiceAccount,DC=mycompany,DC=com"
  402. # Password of the bind user -- not necessary if the LDAP server supports
  403. # anonymous searches
  404. ## bind_password=
  405. # Execute this script to produce the bind user password. This will be used
  406. # when 'bind_password' is not set.
  407. ## bind_password_script=
  408. # Pattern for searching for usernames -- Use <username> for the parameter
  409. # For use when using LdapBackend for Hue authentication
  410. ## ldap_username_pattern="uid=<username>,ou=People,dc=mycompany,dc=com"
  411. ## Use search bind authentication.
  412. ## search_bind_authentication=true
  413. # Whether or not to follow referrals
  414. ## follow_referrals=false
  415. # Enable python-ldap debugging.
  416. ## debug=false
  417. # Sets the debug level within the underlying LDAP C lib.
  418. ## debug_level=255
  419. # Possible values for trace_level are 0 for no logging, 1 for only logging the method calls with arguments,
  420. # 2 for logging the method calls with arguments and the complete results and 9 for also logging the traceback of method calls.
  421. ## trace_level=0
  422. ## [[[[[users]]]]]
  423. # Base filter for searching for users
  424. ## user_filter="objectclass=Person"
  425. # The username attribute in the LDAP schema
  426. ## user_name_attr=sAMAccountName
  427. ## [[[[[groups]]]]]
  428. # Base filter for searching for groups
  429. ## group_filter="objectclass=groupOfNames"
  430. # The username attribute in the LDAP schema
  431. ## group_name_attr=cn
  432. # Configuration options for specifying the Source Version Control.
  433. # ----------------------------------------------------------------
  434. [[vcs]]
  435. ## [[[git-read-only]]]
  436. ## Base URL to Remote Server
  437. # remote_url=https://github.com/cloudera/hue/tree/master
  438. ## Base URL to Version Control API
  439. # api_url=https://api.github.com
  440. ## [[[github]]]
  441. ## Base URL to Remote Server
  442. # remote_url=https://github.com/cloudera/hue/tree/master
  443. ## Base URL to Version Control API
  444. # api_url=https://api.github.com
  445. # These will be necessary when you want to write back to the repository.
  446. ## Client ID for Authorized Application
  447. # client_id=
  448. ## Client Secret for Authorized Application
  449. # client_secret=
  450. ## [[[svn]]
  451. ## Base URL to Remote Server
  452. # remote_url=https://github.com/cloudera/hue/tree/master
  453. ## Base URL to Version Control API
  454. # api_url=https://api.github.com
  455. # These will be necessary when you want to write back to the repository.
  456. ## Client ID for Authorized Application
  457. # client_id=
  458. ## Client Secret for Authorized Application
  459. # client_secret=
  460. # Configuration options for specifying the Desktop Database. For more info,
  461. # see http://docs.djangoproject.com/en/1.4/ref/settings/#database-engine
  462. # ------------------------------------------------------------------------
  463. [[database]]
  464. # Database engine is typically one of:
  465. # postgresql_psycopg2, mysql, sqlite3 or oracle.
  466. #
  467. # Note that for sqlite3, 'name', below is a path to the filename. For other backends, it is the database name
  468. # Note for Oracle, options={"threaded":true} must be set in order to avoid crashes.
  469. # Note for Oracle, you can use the Oracle Service Name by setting "host=" and "port=" and then "name=<host>:<port>/<service_name>".
  470. # Note for MariaDB use the 'mysql' engine.
  471. ## engine=sqlite3
  472. ## host=
  473. ## port=
  474. ## user=
  475. ## password=
  476. # conn_max_age option to make database connection persistent value in seconds
  477. # https://docs.djangoproject.com/en/1.9/ref/databases/#persistent-connections
  478. ## conn_max_age=0
  479. # Execute this script to produce the database password. This will be used when 'password' is not set.
  480. ## password_script=/path/script
  481. ## name=desktop/desktop.db
  482. ## options={}
  483. # Database schema, to be used only when public schema is revoked in postgres
  484. ## schema=public
  485. # Configuration options for specifying the Desktop session.
  486. # For more info, see https://docs.djangoproject.com/en/1.4/topics/http/sessions/
  487. # ------------------------------------------------------------------------
  488. [[session]]
  489. # The name of the cookie to use for sessions.
  490. # This can have any value that is not used by the other cookie names in your application.
  491. ## cookie_name=sessionid
  492. # The cookie containing the users' session ID will expire after this amount of time in seconds.
  493. # Default is 2 weeks.
  494. ## ttl=1209600
  495. # The cookie containing the users' session ID and csrf cookie will be secure.
  496. # Should only be enabled with HTTPS.
  497. ## secure=false
  498. # The cookie containing the users' session ID and csrf cookie will use the HTTP only flag.
  499. ## http_only=true
  500. # Use session-length cookies. Logs out the user when she closes the browser window.
  501. ## expire_at_browser_close=false
  502. # If set, limits the number of concurrent user sessions. 1 represents 1 session per user. Default: 0 (unlimited sessions per user)
  503. ## concurrent_user_session_limit=0
  504. # Configuration options for connecting to an external SMTP server
  505. # ------------------------------------------------------------------------
  506. [[smtp]]
  507. # The SMTP server information for email notification delivery
  508. host=localhost
  509. port=25
  510. user=
  511. password=
  512. # Whether to use a TLS (secure) connection when talking to the SMTP server
  513. tls=no
  514. # Default email address to use for various automated notification from Hue
  515. ## default_from_email=hue@localhost
  516. # Configuration options for Kerberos integration for secured Hadoop clusters
  517. # ------------------------------------------------------------------------
  518. [[kerberos]]
  519. # Path to Hue's Kerberos keytab file
  520. ## hue_keytab=
  521. # Kerberos principal name for Hue
  522. ## hue_principal=hue/hostname.foo.com
  523. # Frequency in seconds with which Hue will renew its keytab
  524. ## keytab_reinit_frequency=3600
  525. # Path to keep Kerberos credentials cached
  526. ## ccache_path=/var/run/hue/hue_krb5_ccache
  527. # Path to kinit
  528. ## kinit_path=/path/to/kinit
  529. # Mutual authentication from the server, attaches HTTP GSSAPI/Kerberos Authentication to the given Request object
  530. ## mutual_authentication="OPTIONAL" or "REQUIRED" or "DISABLED"
  531. # Configuration options for using OAuthBackend (Core) login
  532. # ------------------------------------------------------------------------
  533. [[oauth]]
  534. # The Consumer key of the application
  535. ## consumer_key=XXXXXXXXXXXXXXXXXXXXX
  536. # The Consumer secret of the application
  537. ## consumer_secret=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  538. # The Request token URL
  539. ## request_token_url=https://api.twitter.com/oauth/request_token
  540. # The Access token URL
  541. ## access_token_url=https://api.twitter.com/oauth/access_token
  542. # The Authorize URL
  543. ## authenticate_url=https://api.twitter.com/oauth/authorize
  544. # Configuration options for Metrics
  545. # ------------------------------------------------------------------------
  546. [[metrics]]
  547. # Enable the metrics URL "/desktop/metrics"
  548. ## enable_web_metrics=True
  549. # If specified, Hue will write metrics to this file.
  550. ## location=/var/log/hue/metrics.json
  551. # Time in milliseconds on how frequently to collect metrics
  552. ## collection_interval=30000
  553. ###########################################################################
  554. # Settings to configure the snippets available in the Notebook
  555. ###########################################################################
  556. [notebook]
  557. ## Show the notebook menu or not
  558. # show_notebooks=true
  559. ## Flag to enable the selection of queries from files, saved queries into the editor or as snippet.
  560. # enable_external_statements=true
  561. ## Flag to enable the bulk submission of queries as a background task through Oozie.
  562. # enable_batch_execute=true
  563. ## Flag to turn on the SQL indexer.
  564. # enable_sql_indexer=false
  565. ## Flag to turn on the Presentation mode of the editor.
  566. # enable_presentation=true
  567. ## Flag to enable the SQL query builder of the table assist.
  568. # enable_query_builder=true
  569. ## Flag to enable the creation of a coordinator for the current SQL query.
  570. # enable_query_scheduling=false
  571. ## Main flag to override the automatic starting of the DBProxy server.
  572. # enable_dbproxy_server=true
  573. ## Classpath to be appended to the default DBProxy server classpath.
  574. # dbproxy_extra_classpath=
  575. ## Comma separated list of interpreters that should be shown on the wheel. This list takes precedence over the
  576. ## order in which the interpreter entries appear. Only the first 5 interpreters will appear on the wheel.
  577. # interpreters_shown_on_wheel=
  578. # One entry for each type of snippet.
  579. [[interpreters]]
  580. # Define the name and how to connect and execute the language.
  581. [[[hive]]]
  582. # The name of the snippet.
  583. name=Hive
  584. # The backend connection to use to communicate with the server.
  585. interface=hiveserver2
  586. [[[impala]]]
  587. name=Impala
  588. interface=hiveserver2
  589. # [[[sparksql]]]
  590. # name=SparkSql
  591. # interface=hiveserver2
  592. [[[spark]]]
  593. name=Scala
  594. interface=livy
  595. [[[pyspark]]]
  596. name=PySpark
  597. interface=livy
  598. [[[r]]]
  599. name=R
  600. interface=livy
  601. [[[jar]]]
  602. name=Spark Submit Jar
  603. interface=livy-batch
  604. [[[py]]]
  605. name=Spark Submit Python
  606. interface=livy-batch
  607. [[[text]]]
  608. name=Text
  609. interface=text
  610. [[[markdown]]]
  611. name=Markdown
  612. interface=text
  613. [[[mysql]]]
  614. name = MySQL
  615. interface=rdbms
  616. [[[sqlite]]]
  617. name = SQLite
  618. interface=rdbms
  619. [[[postgresql]]]
  620. name = PostgreSQL
  621. interface=rdbms
  622. [[[oracle]]]
  623. name = Oracle
  624. interface=rdbms
  625. [[[solr]]]
  626. name = Solr SQL
  627. interface=solr
  628. ## Name of the collection handler
  629. # options='{"collection": "default"}'
  630. [[[pig]]]
  631. name=Pig
  632. interface=oozie
  633. [[[java]]]
  634. name=Java
  635. interface=oozie
  636. [[[spark2]]]
  637. name=Spark
  638. interface=oozie
  639. [[[mapreduce]]]
  640. name=MapReduce
  641. interface=oozie
  642. [[[sqoop1]]]
  643. name=Sqoop1
  644. interface=oozie
  645. [[[distcp]]]
  646. name=Distcp
  647. interface=oozie
  648. [[[shell]]]
  649. name=Shell
  650. interface=oozie
  651. # [[[mysql]]]
  652. # name=MySql JDBC
  653. # interface=jdbc
  654. # ## Specific options for connecting to the server.
  655. # ## The JDBC connectors, e.g. mysql.jar, need to be in the CLASSPATH environment variable.
  656. # ## If 'user' and 'password' are omitted, they will be prompted in the UI.
  657. # ## Option 'impersonation_property' used to configure outbound impersonation, e.g. "impersonation_property": "hive.server2.proxy.user".
  658. # options='{"url": "jdbc:mysql://localhost:3306/hue", "driver": "com.mysql.jdbc.Driver", "user": "root", "password": "root", "impersonation_property": ""}'
  659. ###########################################################################
  660. # Settings to configure your Analytics Dashboards
  661. ###########################################################################
  662. [dashboard]
  663. # Activate the Dashboard link in the menu.
  664. ## is_enabled=true
  665. # Activate the SQL Dashboard (beta).
  666. ## has_sql_enabled=false
  667. # Activate the Query Builder (beta).
  668. ## has_query_builder_enabled=false
  669. # Activate the static report layout (beta).
  670. ## has_report_enabled=false
  671. # Activate the new grid layout system.
  672. ## use_gridster=true
  673. # Activate the widget filter and comparison (beta).
  674. ## has_widget_filter=false
  675. # Activate the tree widget (to drill down fields as dimensions, alpha).
  676. ## has_tree_widget=false
  677. [[engines]]
  678. # [[[solr]]]
  679. # Requires Solr 6+
  680. ## analytics=true
  681. ## nesting=false
  682. # [[[sql]]]
  683. ## analytics=true
  684. ## nesting=false
  685. ###########################################################################
  686. # Settings to configure your Hadoop cluster.
  687. ###########################################################################
  688. [hadoop]
  689. # Configuration for HDFS NameNode
  690. # ------------------------------------------------------------------------
  691. [[hdfs_clusters]]
  692. # HA support by using HttpFs
  693. [[[default]]]
  694. # Enter the filesystem uri
  695. fs_defaultfs=hdfs://localhost:8020
  696. # NameNode logical name.
  697. ## logical_name=
  698. # Use WebHdfs/HttpFs as the communication mechanism.
  699. # Domain should be the NameNode or HttpFs host.
  700. # Default port is 14000 for HttpFs.
  701. ## webhdfs_url=http://localhost:50070/webhdfs/v1
  702. # Change this if your HDFS cluster is Kerberos-secured
  703. ## security_enabled=false
  704. # In secure mode (HTTPS), if SSL certificates from YARN Rest APIs
  705. # have to be verified against certificate authority
  706. ## ssl_cert_ca_verify=True
  707. # Directory of the Hadoop configuration
  708. ## hadoop_conf_dir=$HADOOP_CONF_DIR when set or '/etc/hadoop/conf'
  709. # Configuration for YARN (MR2)
  710. # ------------------------------------------------------------------------
  711. [[yarn_clusters]]
  712. [[[default]]]
  713. # Enter the host on which you are running the ResourceManager
  714. ## resourcemanager_host=localhost
  715. # The port where the ResourceManager IPC listens on
  716. ## resourcemanager_port=8032
  717. # Whether to submit jobs to this cluster
  718. submit_to=True
  719. # Resource Manager logical name (required for HA)
  720. ## logical_name=
  721. # Change this if your YARN cluster is Kerberos-secured
  722. ## security_enabled=false
  723. # URL of the ResourceManager API
  724. ## resourcemanager_api_url=http://localhost:8088
  725. # URL of the ProxyServer API
  726. ## proxy_api_url=http://localhost:8088
  727. # URL of the HistoryServer API
  728. ## history_server_api_url=http://localhost:19888
  729. # URL of the Spark History Server
  730. ## spark_history_server_url=http://localhost:18088
  731. # In secure mode (HTTPS), if SSL certificates from YARN Rest APIs
  732. # have to be verified against certificate authority
  733. ## ssl_cert_ca_verify=True
  734. # HA support by specifying multiple clusters.
  735. # Redefine different properties there.
  736. # e.g.
  737. # [[[ha]]]
  738. # Resource Manager logical name (required for HA)
  739. ## logical_name=my-rm-name
  740. # Un-comment to enable
  741. ## submit_to=True
  742. # URL of the ResourceManager API
  743. ## resourcemanager_api_url=http://localhost:8088
  744. # ...
  745. ###########################################################################
  746. # Settings to configure Beeswax with Hive
  747. ###########################################################################
  748. [beeswax]
  749. # Host where HiveServer2 is running.
  750. # If Kerberos security is enabled, use fully-qualified domain name (FQDN).
  751. ## hive_server_host=localhost
  752. # Port where HiveServer2 Thrift server runs on.
  753. ## hive_server_port=10000
  754. # Hive configuration directory, where hive-site.xml is located
  755. ## hive_conf_dir=/etc/hive/conf
  756. # Timeout in seconds for thrift calls to Hive service
  757. ## server_conn_timeout=120
  758. # Choose whether to use the old GetLog() thrift call from before Hive 0.14 to retrieve the logs.
  759. # If false, use the FetchResults() thrift call from Hive 1.0 or more instead.
  760. ## use_get_log_api=false
  761. # Limit the number of partitions that can be listed.
  762. ## list_partitions_limit=10000
  763. # The maximum number of partitions that will be included in the SELECT * LIMIT sample query for partitioned tables.
  764. ## query_partitions_limit=10
  765. # A limit to the number of rows that can be downloaded from a query before it is truncated.
  766. # A value of -1 means there will be no limit.
  767. ## download_row_limit=100000
  768. # A limit to the number of bytes that can be downloaded from a query before it is truncated.
  769. # A value of -1 means there will be no limit.
  770. ## download_bytes_limit=-1
  771. # Hue will try to close the Hive query when the user leaves the editor page.
  772. # This will free all the query resources in HiveServer2, but also make its results inaccessible.
  773. ## close_queries=false
  774. # Hue will use at most this many HiveServer2 sessions per user at a time.
  775. # 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).
  776. ## max_number_of_sessions=1
  777. # Thrift version to use when communicating with HiveServer2.
  778. # New column format is from version 7.
  779. ## thrift_version=7
  780. # A comma-separated list of white-listed Hive configuration properties that users are authorized to set.
  781. ## config_whitelist=hive.map.aggr,hive.exec.compress.output,hive.exec.parallel,hive.execution.engine,mapreduce.job.queuename
  782. # Override the default desktop username and password of the hue user used for authentications with other services.
  783. # e.g. Used for LDAP/PAM pass-through authentication.
  784. ## auth_username=hue
  785. ## auth_password=
  786. [[ssl]]
  787. # Path to Certificate Authority certificates.
  788. ## cacerts=/etc/hue/cacerts.pem
  789. # Choose whether Hue should validate certificates received from the server.
  790. ## validate=true
  791. ###########################################################################
  792. # Settings to configure Metastore
  793. ###########################################################################
  794. [metastore]
  795. # Flag to turn on the new version of the create table wizard.
  796. ## enable_new_create_table=true
  797. # Flag to force all metadata calls (e.g. list tables, table or column details...) to happen via HiveServer2 if available instead of Impala.
  798. ## force_hs2_metadata=false
  799. ###########################################################################
  800. # Settings to configure Impala
  801. ###########################################################################
  802. [impala]
  803. # Host of the Impala Server (one of the Impalad)
  804. ## server_host=localhost
  805. # Port of the Impala Server
  806. ## server_port=21050
  807. # Kerberos principal
  808. ## impala_principal=impala/hostname.foo.com
  809. # Turn on/off impersonation mechanism when talking to Impala
  810. ## impersonation_enabled=False
  811. # Number of initial rows of a result set to ask Impala to cache in order
  812. # to support re-fetching them for downloading them.
  813. # Set to 0 for disabling the option and backward compatibility.
  814. ## querycache_rows=50000
  815. # Timeout in seconds for thrift calls
  816. ## server_conn_timeout=120
  817. # Hue will try to close the Impala query when the user leaves the editor page.
  818. # This will free all the query resources in Impala, but also make its results inaccessible.
  819. ## close_queries=true
  820. # If > 0, the query will be timed out (i.e. cancelled) if Impala does not do any work
  821. # (compute or send back results) for that query within QUERY_TIMEOUT_S seconds.
  822. ## query_timeout_s=300
  823. # If > 0, the session will be timed out (i.e. cancelled) if Impala does not do any work
  824. # (compute or send back results) for that session within SESSION_TIMEOUT_S seconds (default 15 min).
  825. ## session_timeout_s=900
  826. # Override the desktop default username and password of the hue user used for authentications with other services.
  827. # e.g. Used for LDAP/PAM pass-through authentication.
  828. ## auth_username=hue
  829. ## auth_password=
  830. # A comma-separated list of white-listed Impala configuration properties that users are authorized to set.
  831. # config_whitelist=debug_action,explain_level,mem_limit,optimize_partition_key_scans,query_timeout_s,request_pool
  832. # Path to the impala configuration dir which has impalad_flags file
  833. ## impala_conf_dir=${HUE_CONF_DIR}/impala-conf
  834. [[ssl]]
  835. # SSL communication enabled for this server.
  836. ## enabled=false
  837. # Path to Certificate Authority certificates.
  838. ## cacerts=/etc/hue/cacerts.pem
  839. # Choose whether Hue should validate certificates received from the server.
  840. ## validate=true
  841. ###########################################################################
  842. # Settings to configure the Spark application.
  843. ###########################################################################
  844. [spark]
  845. # The Livy Server URL.
  846. ## livy_server_url=http://localhost:8998
  847. # Configure Livy to start in local 'process' mode, or 'yarn' workers.
  848. ## livy_server_session_kind=yarn
  849. # Whether Livy requires client to perform Kerberos authentication.
  850. ## security_enabled=false
  851. # Host of the Sql Server
  852. ## sql_server_host=localhost
  853. # Port of the Sql Server
  854. ## sql_server_port=10000
  855. # Choose whether Hue should validate certificates received from the server.
  856. ## ssl_cert_ca_verify=true
  857. ###########################################################################
  858. # Settings to configure the Oozie app
  859. ###########################################################################
  860. [oozie]
  861. # Location on local FS where the examples are stored.
  862. ## local_data_dir=..../examples
  863. # Location on local FS where the data for the examples is stored.
  864. ## sample_data_dir=...thirdparty/sample_data
  865. # Location on HDFS where the oozie examples and workflows are stored.
  866. # Parameters are $TIME and $USER, e.g. /user/$USER/hue/workspaces/workflow-$TIME
  867. ## remote_data_dir=/user/hue/oozie/workspaces
  868. # Maximum of Oozie workflows or coodinators to retrieve in one API call.
  869. ## oozie_jobs_count=100
  870. # Use Cron format for defining the frequency of a Coordinator instead of the old frequency number/unit.
  871. ## enable_cron_scheduling=true
  872. # Flag to enable the saved Editor queries to be dragged and dropped into a workflow.
  873. ## enable_document_action=true
  874. # Flag to enable Oozie backend filtering instead of doing it at the page level in Javascript. Requires Oozie 4.3+.
  875. ## enable_oozie_backend_filtering=true
  876. # Flag to enable the Impala action.
  877. ## enable_impala_action=false
  878. ###########################################################################
  879. # Settings to configure the Filebrowser app
  880. ###########################################################################
  881. [filebrowser]
  882. # Location on local filesystem where the uploaded archives are temporary stored.
  883. ## archive_upload_tempdir=/tmp
  884. # Show Download Button for HDFS file browser.
  885. ## show_download_button=false
  886. # Show Upload Button for HDFS file browser.
  887. ## show_upload_button=false
  888. # Flag to enable the extraction of a uploaded archive in HDFS.
  889. ## enable_extract_uploaded_archive=true
  890. ###########################################################################
  891. # Settings to configure Pig
  892. ###########################################################################
  893. [pig]
  894. # Path to directory with piggybank.jar on local filesystem.
  895. ## local_sample_dir=/usr/share/hue/apps/pig/examples
  896. # Location piggybank.jar will be copied to in HDFS.
  897. ## remote_data_dir=/user/hue/pig/examples
  898. ###########################################################################
  899. # Settings to configure Sqoop2
  900. ###########################################################################
  901. [sqoop]
  902. # If the Sqoop2 app is enabled. Sqoop2 project is deprecated. Sqoop1 is recommended.
  903. ## is_enabled=false
  904. # Sqoop server URL
  905. ## server_url=http://localhost:12000/sqoop
  906. # Path to configuration directory
  907. ## sqoop_conf_dir=/etc/sqoop2/conf
  908. # Choose whether Hue should validate certificates received from the server.
  909. ## ssl_cert_ca_verify=true
  910. # For autocompletion, fill out the librdbms section.
  911. ###########################################################################
  912. # Settings to configure Proxy
  913. ###########################################################################
  914. [proxy]
  915. # Comma-separated list of regular expressions,
  916. # which match 'host:port' of requested proxy target.
  917. ## whitelist=(localhost|127\.0\.0\.1):(50030|50070|50060|50075)
  918. # Comma-separated list of regular expressions,
  919. # which match any prefix of 'host:port/path' of requested proxy target.
  920. # This does not support matching GET parameters.
  921. ## blacklist=
  922. ###########################################################################
  923. # Settings to configure HBase Browser
  924. ###########################################################################
  925. [hbase]
  926. # Comma-separated list of HBase Thrift servers for clusters in the format of '(name|host:port)'.
  927. # Use full hostname with security.
  928. # If using Kerberos we assume GSSAPI SASL, not PLAIN.
  929. ## hbase_clusters=(Cluster|localhost:9090)
  930. # HBase configuration directory, where hbase-site.xml is located.
  931. ## hbase_conf_dir=/etc/hbase/conf
  932. # Hard limit of rows or columns per row fetched before truncating.
  933. ## truncate_limit = 500
  934. # 'framed' is used to chunk up responses, which is useful when used in conjunction with the nonblocking server in Thrift.
  935. # 'buffered' used to be the default of the HBase Thrift Server.
  936. ## thrift_transport=framed
  937. # Choose whether Hue should validate certificates received from the server.
  938. ## ssl_cert_ca_verify=true
  939. ###########################################################################
  940. # Settings to configure Solr Search
  941. ###########################################################################
  942. [search]
  943. # URL of the Solr Server
  944. ## solr_url=http://localhost:8983/solr/
  945. # Requires FQDN in solr_url if enabled
  946. ## security_enabled=false
  947. ## Query sent when no term is entered
  948. ## empty_query=*:*
  949. ###########################################################################
  950. # Settings to configure Solr API lib
  951. ###########################################################################
  952. [libsolr]
  953. # Choose whether Hue should validate certificates received from the server.
  954. ## ssl_cert_ca_verify=true
  955. # Default path to Solr in ZooKeeper.
  956. ## solr_zk_path=/solr
  957. ###########################################################################
  958. # Settings to configure Solr Indexer
  959. ###########################################################################
  960. [indexer]
  961. # Location of the solrctl binary.
  962. ## solrctl_path=/usr/bin/solrctl
  963. # Flag to turn on the Morphline Solr indexer.
  964. ## enable_scalable_indexer=false
  965. # Oozie workspace template for indexing.
  966. ## config_indexer_libs_path=/tmp/smart_indexer_lib
  967. # Flag to turn on the new metadata importer.
  968. ## enable_new_importer=false
  969. # Flag to turn on Sqoop ingest.
  970. ## enable_sqoop=false
  971. # Flag to turn on Kafka topic ingest.
  972. ## enable_kafka=false
  973. ###########################################################################
  974. # Settings to configure Job Designer
  975. ###########################################################################
  976. [jobsub]
  977. # Location on local FS where examples and template are stored.
  978. ## local_data_dir=..../data
  979. # Location on local FS where sample data is stored
  980. ## sample_data_dir=...thirdparty/sample_data
  981. ###########################################################################
  982. # Settings to configure Job Browser.
  983. ###########################################################################
  984. [jobbrowser]
  985. # Share submitted jobs information with all users. If set to false,
  986. # submitted jobs are visible only to the owner and administrators.
  987. ## share_jobs=true
  988. # Whether to disalbe the job kill button for all users in the jobbrowser
  989. ## disable_killing_jobs=false
  990. # Offset in bytes where a negative offset will fetch the last N bytes for the given log file (default 1MB).
  991. ## log_offset=-1000000
  992. # Maximum number of jobs to fetch and display when pagination is not supported for the type.
  993. ## max_job_fetch=500
  994. # Show the version 2 of app which unifies all the past browsers into one.
  995. ## enable_v2=true
  996. # Show the query section for listing and showing more troubleshooting information.
  997. ## enable_query_browser=true
  998. ###########################################################################
  999. # Settings to configure Sentry / Security App.
  1000. ###########################################################################
  1001. [security]
  1002. # Use Sentry API V1 for Hive.
  1003. ## hive_v1=true
  1004. # Use Sentry API V2 for Hive.
  1005. ## hive_v2=false
  1006. # Use Sentry API V2 for Solr.
  1007. ## solr_v2=true
  1008. ###########################################################################
  1009. # Settings to configure the Zookeeper application.
  1010. ###########################################################################
  1011. [zookeeper]
  1012. [[clusters]]
  1013. [[[default]]]
  1014. # Zookeeper ensemble. Comma separated list of Host/Port.
  1015. # e.g. localhost:2181,localhost:2182,localhost:2183
  1016. ## host_ports=localhost:2181
  1017. # The URL of the REST contrib service (required for znode browsing).
  1018. ## rest_url=http://localhost:9998
  1019. # Name of Kerberos principal when using security.
  1020. ## principal_name=zookeeper
  1021. ###########################################################################
  1022. # Settings for the User Admin application
  1023. ###########################################################################
  1024. [useradmin]
  1025. # Default home directory permissions
  1026. ## home_dir_permissions=0755
  1027. # The name of the default user group that users will be a member of
  1028. ## default_user_group=default
  1029. [[password_policy]]
  1030. # Set password policy to all users. The default policy requires password to be at least 8 characters long,
  1031. # and contain both uppercase and lowercase letters, numbers, and special characters.
  1032. ## is_enabled=false
  1033. ## pwd_regex="^(?=.*?[A-Z])(?=(.*[a-z]){1,})(?=(.*[\d]){1,})(?=(.*[\W_]){1,}).{8,}$"
  1034. ## 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."
  1035. ## 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."
  1036. ###########################################################################
  1037. # Settings to configure liboozie
  1038. ###########################################################################
  1039. [liboozie]
  1040. # The URL where the Oozie service runs on. This is required in order for
  1041. # users to submit jobs. Empty value disables the config check.
  1042. ## oozie_url=http://localhost:11000/oozie
  1043. # Requires FQDN in oozie_url if enabled
  1044. ## security_enabled=false
  1045. # Location on HDFS where the workflows/coordinator are deployed when submitted.
  1046. ## remote_deployement_dir=/user/hue/oozie/deployments
  1047. ###########################################################################
  1048. # Settings for the AWS lib
  1049. ###########################################################################
  1050. [aws]
  1051. [[aws_accounts]]
  1052. # Default AWS account
  1053. ## [[[default]]]
  1054. # AWS credentials
  1055. ## access_key_id=
  1056. ## secret_access_key=
  1057. ## security_token=
  1058. # Execute this script to produce the AWS access key ID.
  1059. ## access_key_id_script=/path/access_key_id.sh
  1060. # Execute this script to produce the AWS secret access key.
  1061. ## secret_access_key_script=/path/secret_access_key.sh
  1062. # Allow to use either environment variables or
  1063. # EC2 InstanceProfile to retrieve AWS credentials.
  1064. ## allow_environment_credentials=yes
  1065. # AWS region to use, if no region is specified, will attempt to connect to standard s3.amazonaws.com endpoint
  1066. ## region=us-east-1
  1067. # Endpoint overrides
  1068. ## host=
  1069. # Proxy address and port
  1070. ## proxy_address=
  1071. ## proxy_port=8080
  1072. ## proxy_user=
  1073. ## proxy_pass=
  1074. # Secure connections are the default, but this can be explicitly overridden:
  1075. ## is_secure=true
  1076. # The default calling format uses https://<bucket-name>.s3.amazonaws.com but
  1077. # this may not make sense if DNS is not configured in this way for custom endpoints.
  1078. # e.g. Use boto.s3.connection.OrdinaryCallingFormat for https://s3.amazonaws.com/<bucket-name>
  1079. ## calling_format=boto.s3.connection.OrdinaryCallingFormat
  1080. ###########################################################################
  1081. # Settings for the Azure lib
  1082. ###########################################################################
  1083. [azure]
  1084. [[azure_accounts]]
  1085. # Default Azure account
  1086. [[[default]]]
  1087. # Azure credentials
  1088. ## client_id=
  1089. # Execute this script to produce the ADLS client id.
  1090. ## client_id_script=/path/client_id.sh
  1091. ## client_secret=
  1092. # Execute this script to produce the ADLS client secret.
  1093. ## client_secret_script=/path/client_secret.sh
  1094. ## tenant_id=
  1095. # Execute this script to produce the ADLS tenant id.
  1096. ## tenant_id_script=/path/tenant_id.sh
  1097. [[adls_clusters]]
  1098. # Default ADLS cluster
  1099. [[[default]]]
  1100. ## fs_defaultfs=adl://<account_name>.azuredatalakestore.net
  1101. ## webhdfs_url=https://<account_name>.azuredatalakestore.net/webhdfs/v1
  1102. ###########################################################################
  1103. # Settings for the Sentry lib
  1104. ###########################################################################
  1105. [libsentry]
  1106. # Hostname or IP of server.
  1107. ## hostname=localhost
  1108. # Port the sentry service is running on.
  1109. ## port=8038
  1110. # Sentry configuration directory, where sentry-site.xml is located.
  1111. ## sentry_conf_dir=/etc/sentry/conf
  1112. # Number of seconds when the privilege list of a user is cached.
  1113. ## privilege_checker_caching=300
  1114. ###########################################################################
  1115. # Settings to configure the ZooKeeper Lib
  1116. ###########################################################################
  1117. [libzookeeper]
  1118. # ZooKeeper ensemble. Comma separated list of Host/Port.
  1119. # e.g. localhost:2181,localhost:2182,localhost:2183
  1120. ## ensemble=localhost:2181
  1121. # Name of Kerberos principal when using security.
  1122. ## principal_name=zookeeper
  1123. ###########################################################################
  1124. # Settings for the RDBMS application
  1125. ###########################################################################
  1126. [librdbms]
  1127. # The RDBMS app can have any number of databases configured in the databases
  1128. # section. A database is known by its section name
  1129. # (IE sqlite, mysql, psql, and oracle in the list below).
  1130. [[databases]]
  1131. # sqlite configuration.
  1132. ## [[[sqlite]]]
  1133. # Name to show in the UI.
  1134. ## nice_name=SQLite
  1135. # For SQLite, name defines the path to the database.
  1136. ## name=/tmp/sqlite.db
  1137. # Database backend to use.
  1138. ## engine=sqlite
  1139. # Database options to send to the server when connecting.
  1140. # https://docs.djangoproject.com/en/1.4/ref/databases/
  1141. ## options={}
  1142. # mysql, oracle, or postgresql configuration.
  1143. ## [[[mysql]]]
  1144. # Name to show in the UI.
  1145. ## nice_name="My SQL DB"
  1146. # For MySQL and PostgreSQL, name is the name of the database.
  1147. # For Oracle, Name is instance of the Oracle server. For express edition
  1148. # this is 'xe' by default.
  1149. ## name=mysqldb
  1150. # Database backend to use. This can be:
  1151. # 1. mysql
  1152. # 2. postgresql
  1153. # 3. oracle
  1154. ## engine=mysql
  1155. # IP or hostname of the database to connect to.
  1156. ## host=localhost
  1157. # Port the database server is listening to. Defaults are:
  1158. # 1. MySQL: 3306
  1159. # 2. PostgreSQL: 5432
  1160. # 3. Oracle Express Edition: 1521
  1161. ## port=3306
  1162. # Username to authenticate with when connecting to the database.
  1163. ## user=example
  1164. # Password matching the username to authenticate with when
  1165. # connecting to the database.
  1166. ## password=example
  1167. # Database options to send to the server when connecting.
  1168. # https://docs.djangoproject.com/en/1.4/ref/databases/
  1169. ## options={}
  1170. ###########################################################################
  1171. # Settings to configure SAML
  1172. ###########################################################################
  1173. [libsaml]
  1174. # Xmlsec1 binary path. This program should be executable by the user running Hue.
  1175. ## xmlsec_binary=/usr/local/bin/xmlsec1
  1176. # Entity ID for Hue acting as service provider.
  1177. # Can also accept a pattern where '<base_url>' will be replaced with server URL base.
  1178. ## entity_id="<base_url>/saml2/metadata/"
  1179. # Create users from SSO on login.
  1180. ## create_users_on_login=true
  1181. # Required attributes to ask for from IdP.
  1182. # This requires a comma separated list.
  1183. ## required_attributes=uid
  1184. # Optional attributes to ask for from IdP.
  1185. # This requires a comma separated list.
  1186. ## optional_attributes=
  1187. # IdP metadata in the form of a file. This is generally an XML file containing metadata that the Identity Provider generates.
  1188. ## metadata_file=
  1189. # Private key to encrypt metadata with.
  1190. ## key_file=
  1191. # Signed certificate to send along with encrypted metadata.
  1192. ## cert_file=
  1193. # Path to a file containing the password private key.
  1194. ## key_file_password=/path/key
  1195. # Execute this script to produce the private key password. This will be used when 'key_file_password' is not set.
  1196. ## key_file_password_script=/path/pwd.sh
  1197. # A mapping from attributes in the response from the IdP to django user attributes.
  1198. ## user_attribute_mapping={'uid': ('username', )}
  1199. # Have Hue initiated authn requests be signed and provide a certificate.
  1200. ## authn_requests_signed=false
  1201. # Have Hue initiated logout requests be signed and provide a certificate.
  1202. ## logout_requests_signed=false
  1203. # Username can be sourced from 'attributes' or 'nameid'.
  1204. ## username_source=attributes
  1205. # Performs the logout or not.
  1206. ## logout_enabled=true
  1207. ###########################################################################
  1208. # Settings to configure OpenID
  1209. ###########################################################################
  1210. [libopenid]
  1211. # (Required) OpenId SSO endpoint url.
  1212. ## server_endpoint_url=https://www.google.com/accounts/o8/id
  1213. # OpenId 1.1 identity url prefix to be used instead of SSO endpoint url
  1214. # This is only supported if you are using an OpenId 1.1 endpoint
  1215. ## identity_url_prefix=https://app.onelogin.com/openid/your_company.com/
  1216. # Create users from OPENID on login.
  1217. ## create_users_on_login=true
  1218. # Use email for username
  1219. ## use_email_for_username=true
  1220. ###########################################################################
  1221. # Settings to configure OAuth
  1222. ###########################################################################
  1223. [liboauth]
  1224. # NOTE:
  1225. # To work, each of the active (i.e. uncommented) service must have
  1226. # applications created on the social network.
  1227. # Then the "consumer key" and "consumer secret" must be provided here.
  1228. #
  1229. # The addresses where to do so are:
  1230. # Twitter: https://dev.twitter.com/apps
  1231. # Google+ : https://cloud.google.com/
  1232. # Facebook: https://developers.facebook.com/apps
  1233. # Linkedin: https://www.linkedin.com/secure/developer
  1234. #
  1235. # Additionnaly, the following must be set in the application settings:
  1236. # Twitter: Callback URL (aka Redirect URL) must be set to http://YOUR_HUE_IP_OR_DOMAIN_NAME/oauth/social_login/oauth_authenticated
  1237. # Google+ : CONSENT SCREEN must have email address
  1238. # Facebook: Sandbox Mode must be DISABLED
  1239. # Linkedin: "In OAuth User Agreement", r_emailaddress is REQUIRED
  1240. # The Consumer key of the application
  1241. ## consumer_key_twitter=
  1242. ## consumer_key_google=
  1243. ## consumer_key_facebook=
  1244. ## consumer_key_linkedin=
  1245. # The Consumer secret of the application
  1246. ## consumer_secret_twitter=
  1247. ## consumer_secret_google=
  1248. ## consumer_secret_facebook=
  1249. ## consumer_secret_linkedin=
  1250. # The Request token URL
  1251. ## request_token_url_twitter=https://api.twitter.com/oauth/request_token
  1252. ## request_token_url_google=https://accounts.google.com/o/oauth2/auth
  1253. ## request_token_url_linkedin=https://www.linkedin.com/uas/oauth2/authorization
  1254. ## request_token_url_facebook=https://graph.facebook.com/oauth/authorize
  1255. # The Access token URL
  1256. ## access_token_url_twitter=https://api.twitter.com/oauth/access_token
  1257. ## access_token_url_google=https://accounts.google.com/o/oauth2/token
  1258. ## access_token_url_facebook=https://graph.facebook.com/oauth/access_token
  1259. ## access_token_url_linkedin=https://api.linkedin.com/uas/oauth2/accessToken
  1260. # The Authenticate URL
  1261. ## authenticate_url_twitter=https://api.twitter.com/oauth/authorize
  1262. ## authenticate_url_google=https://www.googleapis.com/oauth2/v1/userinfo?access_token=
  1263. ## authenticate_url_facebook=https://graph.facebook.com/me?access_token=
  1264. ## authenticate_url_linkedin=https://api.linkedin.com/v1/people/~:(email-address)?format=json&oauth2_access_token=
  1265. # Username Map. Json Hash format.
  1266. # Replaces username parts in order to simplify usernames obtained
  1267. # Example: {"@sub1.domain.com":"_S1", "@sub2.domain.com":"_S2"}
  1268. # converts 'email@sub1.domain.com' to 'email_S1'
  1269. ## username_map={}
  1270. # Whitelisted domains (only applies to Google OAuth). CSV format.
  1271. ## whitelisted_domains_google=
  1272. ###########################################################################
  1273. # Settings to configure Kafka
  1274. ###########################################################################
  1275. [kafka]
  1276. [[kafka]]
  1277. # Enable the Kafka integration.
  1278. ## is_enabled=false
  1279. # Base URL of Kafka REST API.
  1280. ## api_url=http://localhost:8082
  1281. ###########################################################################
  1282. # Settings to configure Metadata
  1283. ###########################################################################
  1284. [metadata]
  1285. [[optimizer]]
  1286. # Hostname to Optimizer API or compatible service.
  1287. ## hostname=navoptapi.us-west-1.optimizer.altus.cloudera.com
  1288. # The name of the key of the service.
  1289. ## auth_key_id=e0819f3a-1e6f-4904-be69-5b704bacd1245
  1290. # The private part of the key associated with the auth_key.
  1291. ## auth_key_secret='-----BEGIN PRIVATE KEY....'
  1292. # Execute this script to produce the auth_key secret. This will be used when `auth_key_secret` is not set.
  1293. ## auth_key_secret_script=/path/to/script.sh
  1294. # 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.
  1295. ## tenant_id=
  1296. # Perform Sentry privilege filtering.
  1297. # Default to true automatically if the cluster is secure.
  1298. ## apply_sentry_permissions=False
  1299. # Cache timeout in milliseconds for the Optimizer metadata used in assist, autocomplete, etc.
  1300. # Defaults to 10 days, set to 0 to disable caching.
  1301. ## cacheable_ttl=864000000
  1302. # Automatically upload queries after their execution in order to improve recommendations.
  1303. ## auto_upload_queries=true
  1304. # Automatically upload queried tables DDL in order to improve recommendations.
  1305. ## auto_upload_ddl=true
  1306. # Automatically upload queried tables and columns stats in order to improve recommendations.
  1307. ## auto_upload_stats=false
  1308. # Allow admins to upload the last N executed queries in the quick start wizard. Use 0 to disable.
  1309. ## query_history_upload_limit=10000
  1310. [[navigator]]
  1311. # Navigator API URL (without version suffix).
  1312. ## api_url=http://localhost:7187/api
  1313. # Which authentication to use: CM or external via LDAP or SAML.
  1314. ## navmetadataserver_auth_type=CMDB
  1315. # Username of the CM user used for authentication.
  1316. ## navmetadataserver_cmdb_user=hue
  1317. # CM password of the user used for authentication.
  1318. ## navmetadataserver_cmdb_password=
  1319. # Execute this script to produce the CM password. This will be used when the plain password is not set.
  1320. # navmetadataserver_cmdb_password_script=
  1321. # Username of the LDAP user used for authentication.
  1322. ## navmetadataserver_ldap_user=hue
  1323. # LDAP password of the user used for authentication.
  1324. ## navmetadataserver_ldap_ppassword=
  1325. # Execute this script to produce the LDAP password. This will be used when the plain password is not set.
  1326. ## navmetadataserver_ldap_password_script=
  1327. # Username of the SAML user used for authentication.
  1328. ## navmetadataserver_saml_user=hue
  1329. ## SAML password of the user used for authentication.
  1330. # navmetadataserver_saml_password=
  1331. # Execute this script to produce the SAML password. This will be used when the plain password is not set.
  1332. ## navmetadataserver_saml_password_script=
  1333. # Perform Sentry privilege filtering.
  1334. # Default to true automatically if the cluster is secure.
  1335. ## apply_sentry_permissions=False
  1336. # Max number of items to fetch in one call in object search.
  1337. ## fetch_size_search=450
  1338. # Max number of items to fetch in one call in object search autocomplete.
  1339. ## fetch_size_search_interactive=450
  1340. # If metadata search is enabled, also show the search box in the left assist.
  1341. ## enable_file_search=false