pseudo-distributed.ini.tmpl 53 KB

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