hue.ini 62 KB

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