pseudo-distributed.ini.tmpl 63 KB

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