hue.ini 61 KB

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