hue.ini 38 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112
  1. # Hue configuration file
  2. # ===================================
  3. #
  4. # For complete documentation about the contents of this file, run
  5. # $ <hue_root>/build/env/bin/hue config_help
  6. #
  7. # All .ini files under the current directory are treated equally. Their
  8. # contents are merged to form the Hue configuration, which can
  9. # can be viewed on the Hue at
  10. # http://<hue_host>:<port>/dump_config
  11. ###########################################################################
  12. # General configuration for core Desktop features (authentication, etc)
  13. ###########################################################################
  14. [desktop]
  15. # Set this to a random string, the longer the better.
  16. # This is used for secure hashing in the session store.
  17. secret_key=
  18. # Execute this script to produce the Django secret key. This will be used when
  19. # `secret_key` is not set.
  20. ## secret_key_script=
  21. # Webserver listens on this address and port
  22. http_host=0.0.0.0
  23. http_port=8888
  24. # Time zone name
  25. time_zone=America/Los_Angeles
  26. # Enable or disable Django debug mode.
  27. django_debug_mode=false
  28. # Enable or disable database debug mode.
  29. ## database_logging=false
  30. # Enable or disable backtrace for server error
  31. http_500_debug_mode=false
  32. # Enable or disable memory profiling.
  33. ## memory_profiler=false
  34. # Server email for internal error messages
  35. ## django_server_email='hue@localhost.localdomain'
  36. # Email backend
  37. ## django_email_backend=django.core.mail.backends.smtp.EmailBackend
  38. # Webserver runs as this user
  39. ## server_user=hue
  40. ## server_group=hue
  41. # This should be the Hue admin and proxy user
  42. ## default_user=hue
  43. # This should be the hadoop cluster admin
  44. ## default_hdfs_superuser=hdfs
  45. # If set to false, runcpserver will not actually start the web server.
  46. # Used if Apache is being used as a WSGI container.
  47. ## enable_server=yes
  48. # Number of threads used by the CherryPy web server
  49. ## cherrypy_server_threads=40
  50. # Filename of SSL Certificate
  51. ## ssl_certificate=
  52. # Filename of SSL RSA Private Key
  53. ## ssl_private_key=
  54. # SSL certificate password
  55. ## ssl_password=
  56. # Execute this script to produce the SSL password. This will be used when `ssl_password` is not set.
  57. ## ssl_password_script=
  58. # List of allowed and disallowed ciphers in cipher list format.
  59. # See http://www.openssl.org/docs/apps/ciphers.html for more information on cipher list format.
  60. ## ssl_cipher_list=DEFAULT:!aNULL:!eNULL:!LOW:!EXPORT:!SSLv2
  61. # Path to default Certificate Authority certificates.
  62. ## ssl_cacerts=/etc/hue/cacerts.pem
  63. # LDAP username and password of the hue user used for LDAP authentications.
  64. # Set it to use LDAP Authentication with HiveServer2 and Impala.
  65. ## ldap_username=hue
  66. ## ldap_password=
  67. # Default encoding for site data
  68. ## default_site_encoding=utf-8
  69. # Help improve Hue with anonymous usage analytics.
  70. # Use Google Analytics to see how many times an application or specific section of an application is used, nothing more.
  71. ## collect_usage=true
  72. # Support for HTTPS termination at the load-balancer level with SECURE_PROXY_SSL_HEADER.
  73. ## secure_proxy_ssl_header=false
  74. # Comma-separated list of Django middleware classes to use.
  75. # See https://docs.djangoproject.com/en/1.4/ref/middleware/ for more details on middlewares in Django.
  76. ## middleware=desktop.auth.backend.LdapSynchronizationBackend
  77. # Comma-separated list of regular expressions, which match the redirect URL.
  78. # For example, to restrict to your local domain and FQDN, the following value can be used:
  79. # ^\/.*$,^http:\/\/www.mydomain.com\/.*$
  80. ## redirect_whitelist=^\/.*$
  81. # Comma separated list of apps to not load at server startup.
  82. # e.g.: pig,zookeeper
  83. ## app_blacklist=
  84. # The directory where to store the auditing logs. Auditing is disable if the value is empty.
  85. # e.g. /var/log/hue/audit.log
  86. ## audit_event_log_dir=
  87. # Size in KB/MB/GB for audit log to rollover.
  88. ## audit_log_max_file_size=100MB
  89. # A json file containing a list of log redaction rules for cleaning sensitive data
  90. # from log files. It is defined as:
  91. #
  92. # {
  93. # "version": 1,
  94. # "rules": [
  95. # {
  96. # "description": "This is the first rule",
  97. # "trigger": "triggerstring 1",
  98. # "search": "regex 1",
  99. # "replace": "replace 1"
  100. # },
  101. # {
  102. # "description": "This is the second rule",
  103. # "trigger": "triggerstring 2",
  104. # "search": "regex 2",
  105. # "replace": "replace 2"
  106. # }
  107. # ]
  108. # }
  109. #
  110. # Redaction works by searching a string for the [TRIGGER] string. If found,
  111. # the [REGEX] is used to replace sensitive information with the
  112. # [REDACTION_MASK]. If specified with `log_redaction_string`, the
  113. # `log_redaction_string` rules will be executed after the
  114. # `log_redaction_file` rules.
  115. #
  116. # For example, here is a file that would redact passwords and social security numbers:
  117. # {
  118. # "version": 1,
  119. # "rules": [
  120. # {
  121. # "description": "Redact passwords",
  122. # "trigger": "password",
  123. # "search": "password=\".*\"",
  124. # "replace": "password=\"???\""
  125. # },
  126. # {
  127. # "description": "Redact social security numbers",
  128. # "trigger": "",
  129. # "search": "\d{3}-\d{2}-\d{4}",
  130. # "replace": "XXX-XX-XXXX"
  131. # }
  132. # ]
  133. # }
  134. ## log_redaction_file=
  135. # Comma separated list of strings representing the host/domain names that the Hue server can serve.
  136. # e.g.: localhost,domain1,*
  137. ## allowed_hosts=*
  138. # Administrators
  139. # ----------------
  140. [[django_admins]]
  141. ## [[[admin1]]]
  142. ## name=john
  143. ## email=john@doe.com
  144. # UI customizations
  145. # -------------------
  146. [[custom]]
  147. # Top banner HTML code
  148. # e.g. <H2>Test Lab A2 Hue Services</H2>
  149. ## banner_top_html=
  150. # Configuration options for user authentication into the web application
  151. # ------------------------------------------------------------------------
  152. [[auth]]
  153. # Authentication backend. Common settings are:
  154. # - django.contrib.auth.backends.ModelBackend (entirely Django backend)
  155. # - desktop.auth.backend.AllowAllBackend (allows everyone)
  156. # - desktop.auth.backend.AllowFirstUserDjangoBackend
  157. # (Default. Relies on Django and user manager, after the first login)
  158. # - desktop.auth.backend.LdapBackend
  159. # - desktop.auth.backend.PamBackend
  160. # - desktop.auth.backend.SpnegoDjangoBackend
  161. # - desktop.auth.backend.RemoteUserDjangoBackend
  162. # - libsaml.backend.SAML2Backend
  163. # - libopenid.backend.OpenIDBackend
  164. # - liboauth.backend.OAuthBackend
  165. # (New oauth, support Twitter, Facebook, Google+ and Linkedin
  166. ## backend=desktop.auth.backend.AllowFirstUserDjangoBackend
  167. # The service to use when querying PAM.
  168. ## pam_service=login
  169. # When using the desktop.auth.backend.RemoteUserDjangoBackend, this sets
  170. # the normalized name of the header that contains the remote user.
  171. # The HTTP header in the request is converted to a key by converting
  172. # all characters to uppercase, replacing any hyphens with underscores
  173. # and adding an HTTP_ prefix to the name. So, for example, if the header
  174. # is called Remote-User that would be configured as HTTP_REMOTE_USER
  175. #
  176. # Defaults to HTTP_REMOTE_USER
  177. ## remote_user_header=HTTP_REMOTE_USER
  178. # Ignore the case of usernames when searching for existing users.
  179. # Only supported in remoteUserDjangoBackend.
  180. ## ignore_username_case=true
  181. # Ignore the case of usernames when searching for existing users to authenticate with.
  182. # Only supported in remoteUserDjangoBackend.
  183. ## force_username_lowercase=true
  184. # Users will expire after they have not logged in for 'n' amount of seconds.
  185. # A negative number means that users will never expire.
  186. ## expires_after=-1
  187. # Apply 'expires_after' to superusers.
  188. ## expire_superusers=true
  189. # Force users to change password on first login with desktop.auth.backend.AllowFirstUserDjangoBackend
  190. ## change_default_password=false
  191. # Configuration options for connecting to LDAP and Active Directory
  192. # -------------------------------------------------------------------
  193. [[ldap]]
  194. # The search base for finding users and groups
  195. ## base_dn="DC=mycompany,DC=com"
  196. # URL of the LDAP server
  197. ## ldap_url=ldap://auth.mycompany.com
  198. # A PEM-format file containing certificates for the CA's that
  199. # Hue will trust for authentication over TLS.
  200. # The certificate for the CA that signed the
  201. # LDAP server certificate must be included among these certificates.
  202. # See more here http://www.openldap.org/doc/admin24/tls.html.
  203. ## ldap_cert=
  204. ## use_start_tls=true
  205. # Distinguished name of the user to bind as -- not necessary if the LDAP server
  206. # supports anonymous searches
  207. ## bind_dn="CN=ServiceAccount,DC=mycompany,DC=com"
  208. # Password of the bind user -- not necessary if the LDAP server supports
  209. # anonymous searches
  210. ## bind_password=
  211. # Execute this script to produce the bind user password. This will be used
  212. # when `bind_password` is not set.
  213. ## bind_password_script=
  214. # Pattern for searching for usernames -- Use <username> for the parameter
  215. # For use when using LdapBackend for Hue authentication
  216. ## ldap_username_pattern="uid=<username>,ou=People,dc=mycompany,dc=com"
  217. # Create users in Hue when they try to login with their LDAP credentials
  218. # For use when using LdapBackend for Hue authentication
  219. ## create_users_on_login = true
  220. # Synchronize a users groups when they login
  221. ## sync_groups_on_login=false
  222. # Ignore the case of usernames when searching for existing users in Hue.
  223. ## ignore_username_case=true
  224. # Force usernames to lowercase when creating new users from LDAP.
  225. ## force_username_lowercase=true
  226. # Use search bind authentication.
  227. ## search_bind_authentication=true
  228. # Choose which kind of subgrouping to use: nested or suboordinate (deprecated).
  229. ## subgroups=suboordinate
  230. # Define the number of levels to search for nested members.
  231. ## nested_members_search_depth=10
  232. # Whether or not to follow referrals
  233. ## follow_referrals=false
  234. # Enable python-ldap debugging.
  235. ## debug=false
  236. # Sets the debug level within the underlying LDAP C lib.
  237. ## debug_level=255
  238. # Possible values for trace_level are 0 for no logging, 1 for only logging the method calls with arguments,
  239. # 2 for logging the method calls with arguments and the complete results and 9 for also logging the traceback of method calls.
  240. ## trace_level=0
  241. [[[users]]]
  242. # Base filter for searching for users
  243. ## user_filter="objectclass=*"
  244. # The username attribute in the LDAP schema
  245. ## user_name_attr=sAMAccountName
  246. [[[groups]]]
  247. # Base filter for searching for groups
  248. ## group_filter="objectclass=*"
  249. # The group name attribute in the LDAP schema
  250. ## group_name_attr=cn
  251. # The attribute of the group object which identifies the members of the group
  252. ## group_member_attr=members
  253. [[[ldap_servers]]]
  254. ## [[[[mycompany]]]]
  255. # The search base for finding users and groups
  256. ## base_dn="DC=mycompany,DC=com"
  257. # URL of the LDAP server
  258. ## ldap_url=ldap://auth.mycompany.com
  259. # A PEM-format file containing certificates for the CA's that
  260. # Hue will trust for authentication over TLS.
  261. # The certificate for the CA that signed the
  262. # LDAP server certificate must be included among these certificates.
  263. # See more here http://www.openldap.org/doc/admin24/tls.html.
  264. ## ldap_cert=
  265. ## use_start_tls=true
  266. # Distinguished name of the user to bind as -- not necessary if the LDAP server
  267. # supports anonymous searches
  268. ## bind_dn="CN=ServiceAccount,DC=mycompany,DC=com"
  269. # Password of the bind user -- not necessary if the LDAP server supports
  270. # anonymous searches
  271. ## bind_password=
  272. # Execute this script to produce the bind user password. This will be used
  273. # when `bind_password` is not set.
  274. ## bind_password_script=
  275. # Pattern for searching for usernames -- Use <username> for the parameter
  276. # For use when using LdapBackend for Hue authentication
  277. ## ldap_username_pattern="uid=<username>,ou=People,dc=mycompany,dc=com"
  278. ## Use search bind authentication.
  279. ## search_bind_authentication=true
  280. # Whether or not to follow referrals
  281. ## follow_referrals=false
  282. # Enable python-ldap debugging.
  283. ## debug=false
  284. # Sets the debug level within the underlying LDAP C lib.
  285. ## debug_level=255
  286. # Possible values for trace_level are 0 for no logging, 1 for only logging the method calls with arguments,
  287. # 2 for logging the method calls with arguments and the complete results and 9 for also logging the traceback of method calls.
  288. ## trace_level=0
  289. ## [[[[[users]]]]]
  290. # Base filter for searching for users
  291. ## user_filter="objectclass=Person"
  292. # The username attribute in the LDAP schema
  293. ## user_name_attr=sAMAccountName
  294. ## [[[[[groups]]]]]
  295. # Base filter for searching for groups
  296. ## group_filter="objectclass=groupOfNames"
  297. # The username attribute in the LDAP schema
  298. ## group_name_attr=cn
  299. # Configuration options for specifying the Desktop Database. For more info,
  300. # see http://docs.djangoproject.com/en/1.4/ref/settings/#database-engine
  301. # ------------------------------------------------------------------------
  302. [[database]]
  303. # Database engine is typically one of:
  304. # postgresql_psycopg2, mysql, sqlite3 or oracle.
  305. #
  306. # Note that for sqlite3, 'name', below is a path to the filename. For other backends, it is the database name.
  307. # Note for Oracle, options={"threaded":true} must be set in order to avoid crashes.
  308. # Note for Oracle, you can use the Oracle Service Name by setting "port=0" and then "name=<host>:<port>/<service_name>".
  309. # Note for MariaDB use the 'mysql' engine.
  310. ## engine=sqlite3
  311. ## host=
  312. ## port=
  313. ## user=
  314. ## password=
  315. ## name=desktop/desktop.db
  316. ## options={}
  317. # Configuration options for specifying the Desktop session.
  318. # For more info, see https://docs.djangoproject.com/en/1.4/topics/http/sessions/
  319. # ------------------------------------------------------------------------
  320. [[session]]
  321. # The cookie containing the users' session ID will expire after this amount of time in seconds.
  322. # Default is 2 weeks.
  323. ## ttl=1209600
  324. # The cookie containing the users' session ID will be secure.
  325. # Should only be enabled with HTTPS.
  326. ## secure=false
  327. # The cookie containing the users' session ID will use the HTTP only flag.
  328. ## http_only=true
  329. # Use session-length cookies. Logs out the user when she closes the browser window.
  330. ## expire_at_browser_close=false
  331. # Configuration options for connecting to an external SMTP server
  332. # ------------------------------------------------------------------------
  333. [[smtp]]
  334. # The SMTP server information for email notification delivery
  335. host=localhost
  336. port=25
  337. user=
  338. password=
  339. # Whether to use a TLS (secure) connection when talking to the SMTP server
  340. tls=no
  341. # Default email address to use for various automated notification from Hue
  342. ## default_from_email=hue@localhost
  343. # Configuration options for Kerberos integration for secured Hadoop clusters
  344. # ------------------------------------------------------------------------
  345. [[kerberos]]
  346. # Path to Hue's Kerberos keytab file
  347. ## hue_keytab=
  348. # Kerberos principal name for Hue
  349. ## hue_principal=hue/hostname.foo.com
  350. # Path to kinit
  351. ## kinit_path=/path/to/kinit
  352. # Configuration options for using OAuthBackend (Core) login
  353. # ------------------------------------------------------------------------
  354. [[oauth]]
  355. # The Consumer key of the application
  356. ## consumer_key=XXXXXXXXXXXXXXXXXXXXX
  357. # The Consumer secret of the application
  358. ## consumer_secret=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  359. # The Request token URL
  360. ## request_token_url=https://api.twitter.com/oauth/request_token
  361. # The Access token URL
  362. ## access_token_url=https://api.twitter.com/oauth/access_token
  363. # The Authorize URL
  364. ## authenticate_url=https://api.twitter.com/oauth/authorize
  365. ###########################################################################
  366. # Settings to configure SAML
  367. ###########################################################################
  368. [libsaml]
  369. # Xmlsec1 binary path. This program should be executable by the user running Hue.
  370. ## xmlsec_binary=/usr/local/bin/xmlsec1
  371. # Entity ID for Hue acting as service provider.
  372. # Can also accept a pattern where '<base_url>' will be replaced with server URL base.
  373. ## entity_id="<base_url>/saml2/metadata/"
  374. # Create users from SSO on login.
  375. ## create_users_on_login=true
  376. # Required attributes to ask for from IdP.
  377. # This requires a comma separated list.
  378. ## required_attributes=uid
  379. # Optional attributes to ask for from IdP.
  380. # This requires a comma separated list.
  381. ## optional_attributes=
  382. # IdP metadata in the form of a file. This is generally an XML file containing metadata that the Identity Provider generates.
  383. ## metadata_file=
  384. # Private key to encrypt metadata with.
  385. ## key_file=
  386. # Signed certificate to send along with encrypted metadata.
  387. ## cert_file=
  388. # A mapping from attributes in the response from the IdP to django user attributes.
  389. ## user_attribute_mapping={'uid':'username'}
  390. # Have Hue initiated authn requests be signed and provide a certificate.
  391. ## authn_requests_signed=false
  392. # Have Hue initiated logout requests be signed and provide a certificate.
  393. ## logout_requests_signed=false
  394. # Username can be sourced from 'attributes' or 'nameid'.
  395. ## username_source=attributes
  396. # Performs the logout or not.
  397. ## logout_enabled=true
  398. ###########################################################################
  399. # Settings to configure OpenID
  400. ###########################################################################
  401. [libopenid]
  402. # (Required) OpenId SSO endpoint url.
  403. ## server_endpoint_url=https://www.google.com/accounts/o8/id
  404. # OpenId 1.1 identity url prefix to be used instead of SSO endpoint url
  405. # This is only supported if you are using an OpenId 1.1 endpoint
  406. ## identity_url_prefix=https://app.onelogin.com/openid/your_company.com/
  407. # Create users from OPENID on login.
  408. ## create_users_on_login=true
  409. # Use email for username
  410. ## use_email_for_username=true
  411. ###########################################################################
  412. # Settings to configure OAuth
  413. ###########################################################################
  414. [liboauth]
  415. # NOTE:
  416. # To work, each of the active (i.e. uncommented) service must have
  417. # applications created on the social network.
  418. # Then the "consumer key" and "consumer secret" must be provided here.
  419. #
  420. # The addresses where to do so are:
  421. # Twitter: https://dev.twitter.com/apps
  422. # Google+ : https://cloud.google.com/
  423. # Facebook: https://developers.facebook.com/apps
  424. # Linkedin: https://www.linkedin.com/secure/developer
  425. #
  426. # Additionnaly, the following must be set in the application settings:
  427. # Twitter: Callback URL (aka Redirect URL) must be set to http://YOUR_HUE_IP_OR_DOMAIN_NAME/oauth/social_login/oauth_authenticated
  428. # Google+ : CONSENT SCREEN must have email address
  429. # Facebook: Sandbox Mode must be DISABLED
  430. # Linkedin: "In OAuth User Agreement", r_emailaddress is REQUIRED
  431. # The Consumer key of the application
  432. ## consumer_key_twitter=
  433. ## consumer_key_google=
  434. ## consumer_key_facebook=
  435. ## consumer_key_linkedin=
  436. # The Consumer secret of the application
  437. ## consumer_secret_twitter=
  438. ## consumer_secret_google=
  439. ## consumer_secret_facebook=
  440. ## consumer_secret_linkedin=
  441. # The Request token URL
  442. ## request_token_url_twitter=https://api.twitter.com/oauth/request_token
  443. ## request_token_url_google=https://accounts.google.com/o/oauth2/auth
  444. ## request_token_url_linkedin=https://www.linkedin.com/uas/oauth2/authorization
  445. ## request_token_url_facebook=https://graph.facebook.com/oauth/authorize
  446. # The Access token URL
  447. ## access_token_url_twitter=https://api.twitter.com/oauth/access_token
  448. ## access_token_url_google=https://accounts.google.com/o/oauth2/token
  449. ## access_token_url_facebook=https://graph.facebook.com/oauth/access_token
  450. ## access_token_url_linkedin=https://api.linkedin.com/uas/oauth2/accessToken
  451. # The Authenticate URL
  452. ## authenticate_url_twitter=https://api.twitter.com/oauth/authorize
  453. ## authenticate_url_google=https://www.googleapis.com/oauth2/v1/userinfo?access_token=
  454. ## authenticate_url_facebook=https://graph.facebook.com/me?access_token=
  455. ## authenticate_url_linkedin=https://api.linkedin.com/v1/people/~:(email-address)?format=json&oauth2_access_token=
  456. # Username Map. Json Hash format.
  457. # Replaces username parts in order to simplify usernames obtained
  458. # Example: {"@sub1.domain.com":"_S1", "@sub2.domain.com":"_S2"}
  459. # converts 'email@sub1.domain.com' to 'email_S1'
  460. ## username_map={}
  461. # Whitelisted domains (only applies to Google OAuth). CSV format.
  462. ## whitelisted_domains_google=
  463. ###########################################################################
  464. # Settings for the RDBMS application
  465. ###########################################################################
  466. [librdbms]
  467. # The RDBMS app can have any number of databases configured in the databases
  468. # section. A database is known by its section name
  469. # (IE sqlite, mysql, psql, and oracle in the list below).
  470. [[databases]]
  471. # sqlite configuration.
  472. ## [[[sqlite]]]
  473. # Name to show in the UI.
  474. ## nice_name=SQLite
  475. # For SQLite, name defines the path to the database.
  476. ## name=/tmp/sqlite.db
  477. # Database backend to use.
  478. ## engine=sqlite
  479. # Database options to send to the server when connecting.
  480. # https://docs.djangoproject.com/en/1.4/ref/databases/
  481. ## options={}
  482. # mysql, oracle, or postgresql configuration.
  483. ## [[[mysql]]]
  484. # Name to show in the UI.
  485. ## nice_name="My SQL DB"
  486. # For MySQL and PostgreSQL, name is the name of the database.
  487. # For Oracle, Name is instance of the Oracle server. For express edition
  488. # this is 'xe' by default.
  489. ## name=mysqldb
  490. # Database backend to use. This can be:
  491. # 1. mysql
  492. # 2. postgresql
  493. # 3. oracle
  494. ## engine=mysql
  495. # IP or hostname of the database to connect to.
  496. ## host=localhost
  497. # Port the database server is listening to. Defaults are:
  498. # 1. MySQL: 3306
  499. # 2. PostgreSQL: 5432
  500. # 3. Oracle Express Edition: 1521
  501. ## port=3306
  502. # Username to authenticate with when connecting to the database.
  503. ## user=example
  504. # Password matching the username to authenticate with when
  505. # connecting to the database.
  506. ## password=example
  507. # Database options to send to the server when connecting.
  508. # https://docs.djangoproject.com/en/1.4/ref/databases/
  509. ## options={}
  510. ###########################################################################
  511. # Settings to configure your Hadoop cluster.
  512. ###########################################################################
  513. [hadoop]
  514. # Configuration for HDFS NameNode
  515. # ------------------------------------------------------------------------
  516. [[hdfs_clusters]]
  517. # HA support by using HttpFs
  518. [[[default]]]
  519. # Enter the filesystem uri
  520. fs_defaultfs=hdfs://localhost:8020
  521. # NameNode logical name.
  522. ## logical_name=
  523. # Use WebHdfs/HttpFs as the communication mechanism.
  524. # Domain should be the NameNode or HttpFs host.
  525. # Default port is 14000 for HttpFs.
  526. ## webhdfs_url=http://localhost:50070/webhdfs/v1
  527. # Change this if your HDFS cluster is Kerberos-secured
  528. ## security_enabled=false
  529. # In secure mode (HTTPS), if SSL certificates from YARN Rest APIs
  530. # have to be verified against certificate authority
  531. ## ssl_cert_ca_verify=True
  532. # Directory of the Hadoop configuration
  533. ## hadoop_conf_dir=$HADOOP_CONF_DIR when set or '/etc/hadoop/conf'
  534. # Configuration for YARN (MR2)
  535. # ------------------------------------------------------------------------
  536. [[yarn_clusters]]
  537. [[[default]]]
  538. # Enter the host on which you are running the ResourceManager
  539. ## resourcemanager_host=localhost
  540. # The port where the ResourceManager IPC listens on
  541. ## resourcemanager_port=8032
  542. # Whether to submit jobs to this cluster
  543. submit_to=True
  544. # Resource Manager logical name (required for HA)
  545. ## logical_name=
  546. # Change this if your YARN cluster is Kerberos-secured
  547. ## security_enabled=false
  548. # URL of the ResourceManager API
  549. ## resourcemanager_api_url=http://localhost:8088
  550. # URL of the ProxyServer API
  551. ## proxy_api_url=http://localhost:8088
  552. # URL of the HistoryServer API
  553. ## history_server_api_url=http://localhost:19888
  554. # In secure mode (HTTPS), if SSL certificates from YARN Rest APIs
  555. # have to be verified against certificate authority
  556. ## ssl_cert_ca_verify=True
  557. # HA support by specifying multiple clusters
  558. # e.g.
  559. # [[[ha]]]
  560. # Resource Manager logical name (required for HA)
  561. ## logical_name=my-rm-name
  562. # Configuration for MapReduce (MR1)
  563. # ------------------------------------------------------------------------
  564. [[mapred_clusters]]
  565. [[[default]]]
  566. # Enter the host on which you are running the Hadoop JobTracker
  567. ## jobtracker_host=localhost
  568. # The port where the JobTracker IPC listens on
  569. ## jobtracker_port=8021
  570. # JobTracker logical name for HA
  571. ## logical_name=
  572. # Thrift plug-in port for the JobTracker
  573. ## thrift_port=9290
  574. # Whether to submit jobs to this cluster
  575. submit_to=False
  576. # Change this if your MapReduce cluster is Kerberos-secured
  577. ## security_enabled=false
  578. # HA support by specifying multiple clusters
  579. # e.g.
  580. # [[[ha]]]
  581. # Enter the logical name of the JobTrackers
  582. ## logical_name=my-jt-name
  583. ###########################################################################
  584. # Settings to configure the Filebrowser app
  585. ###########################################################################
  586. [filebrowser]
  587. # Location on local filesystem where the uploaded archives are temporary stored.
  588. ## archive_upload_tempdir=/tmp
  589. ###########################################################################
  590. # Settings to configure liboozie
  591. ###########################################################################
  592. [liboozie]
  593. # The URL where the Oozie service runs on. This is required in order for
  594. # users to submit jobs. Empty value disables the config check.
  595. ## oozie_url=http://localhost:11000/oozie
  596. # Requires FQDN in oozie_url if enabled
  597. ## security_enabled=false
  598. # Location on HDFS where the workflows/coordinator are deployed when submitted.
  599. ## remote_deployement_dir=/user/hue/oozie/deployments
  600. ###########################################################################
  601. # Settings to configure the Oozie app
  602. ###########################################################################
  603. [oozie]
  604. # Location on local FS where the examples are stored.
  605. ## local_data_dir=..../examples
  606. # Location on local FS where the data for the examples is stored.
  607. ## sample_data_dir=...thirdparty/sample_data
  608. # Location on HDFS where the oozie examples and workflows are stored.
  609. ## remote_data_dir=/user/hue/oozie/workspaces
  610. # Maximum of Oozie workflows or coodinators to retrieve in one API call.
  611. ## oozie_jobs_count=50
  612. # Use Cron format for defining the frequency of a Coordinator instead of the old frequency number/unit.
  613. ## enable_cron_scheduling=true
  614. ###########################################################################
  615. # Settings to configure Beeswax with Hive
  616. ###########################################################################
  617. [beeswax]
  618. # Host where HiveServer2 is running.
  619. # If Kerberos security is enabled, use fully-qualified domain name (FQDN).
  620. ## hive_server_host=localhost
  621. # Port where HiveServer2 Thrift server runs on.
  622. ## hive_server_port=10000
  623. # Hive configuration directory, where hive-site.xml is located
  624. ## hive_conf_dir=/etc/hive/conf
  625. # Timeout in seconds for thrift calls to Hive service
  626. ## server_conn_timeout=120
  627. # Choose whether to use the old GetLog() thrift call from before Hive 0.14 to retrieve the logs.
  628. # If false, use the FetchResults() thrift call from Hive 1.0 or more instead.
  629. ## use_get_log_api=false
  630. # Set a LIMIT clause when browsing a partitioned table.
  631. # A positive value will be set as the LIMIT. If 0 or negative, do not set any limit.
  632. ## browse_partitioned_table_limit=250
  633. # A limit to the number of rows that can be downloaded from a query.
  634. # A value of -1 means there will be no limit.
  635. # A maximum of 65,000 is applied to XLS downloads.
  636. ## download_row_limit=1000000
  637. # Hue will try to close the Hive query when the user leaves the editor page.
  638. # This will free all the query resources in HiveServer2, but also make its results inaccessible.
  639. ## close_queries=false
  640. # Thrift version to use when communicating with HiveServer2.
  641. # New column format is from version 7.
  642. ## thrift_version=7
  643. [[ssl]]
  644. # Path to Certificate Authority certificates.
  645. ## cacerts=/etc/hue/cacerts.pem
  646. # Choose whether Hue should validate certificates received from the server.
  647. ## validate=true
  648. ###########################################################################
  649. # Settings to configure Impala
  650. ###########################################################################
  651. [impala]
  652. # Host of the Impala Server (one of the Impalad)
  653. ## server_host=localhost
  654. # Port of the Impala Server
  655. ## server_port=21050
  656. # Kerberos principal
  657. ## impala_principal=impala/hostname.foo.com
  658. # Turn on/off impersonation mechanism when talking to Impala
  659. ## impersonation_enabled=False
  660. # Number of initial rows of a result set to ask Impala to cache in order
  661. # to support re-fetching them for downloading them.
  662. # Set to 0 for disabling the option and backward compatibility.
  663. ## querycache_rows=50000
  664. # Timeout in seconds for thrift calls
  665. ## server_conn_timeout=120
  666. # Hue will try to close the Impala query when the user leaves the editor page.
  667. # This will free all the query resources in Impala, but also make its results inaccessible.
  668. ## close_queries=true
  669. # If QUERY_TIMEOUT_S > 0, the query will be timed out (i.e. cancelled) if Impala does not do any work
  670. # (compute or send back results) for that query within QUERY_TIMEOUT_S seconds.
  671. ## query_timeout_s=600
  672. [[ssl]]
  673. # SSL communication enabled for this server.
  674. ## enabled=false
  675. # Path to Certificate Authority certificates.
  676. ## cacerts=/etc/hue/cacerts.pem
  677. # Choose whether Hue should validate certificates received from the server.
  678. ## validate=true
  679. ###########################################################################
  680. # Settings to configure Pig
  681. ###########################################################################
  682. [pig]
  683. # Location of piggybank.jar on local filesystem.
  684. ## local_sample_dir=/usr/share/hue/apps/pig/examples
  685. # Location piggybank.jar will be copied to in HDFS.
  686. ## remote_data_dir=/user/hue/pig/examples
  687. ###########################################################################
  688. # Settings to configure Sqoop2
  689. ###########################################################################
  690. [sqoop]
  691. # For autocompletion, fill out the librdbms section.
  692. # Sqoop server URL
  693. ## server_url=http://localhost:12000/sqoop
  694. # Path to configuration directory
  695. ## sqoop_conf_dir=/etc/sqoop2/conf
  696. ###########################################################################
  697. # Settings to configure Proxy
  698. ###########################################################################
  699. [proxy]
  700. # Comma-separated list of regular expressions,
  701. # which match 'host:port' of requested proxy target.
  702. ## whitelist=(localhost|127\.0\.0\.1):(50030|50070|50060|50075)
  703. # Comma-separated list of regular expressions,
  704. # which match any prefix of 'host:port/path' of requested proxy target.
  705. # This does not support matching GET parameters.
  706. ## blacklist=
  707. ###########################################################################
  708. # Settings to configure HBase Browser
  709. ###########################################################################
  710. [hbase]
  711. # Comma-separated list of HBase Thrift servers for clusters in the format of '(name|host:port)'.
  712. # Use full hostname with security.
  713. # If using Kerberos we assume GSSAPI SASL, not PLAIN.
  714. ## hbase_clusters=(Cluster|localhost:9090)
  715. # HBase configuration directory, where hbase-site.xml is located.
  716. ## hbase_conf_dir=/etc/hbase/conf
  717. # Hard limit of rows or columns per row fetched before truncating.
  718. ## truncate_limit = 500
  719. # 'buffered' is the default of the HBase Thrift Server and supports security.
  720. # 'framed' can be used to chunk up responses,
  721. # which is useful when used in conjunction with the nonblocking server in Thrift.
  722. ## thrift_transport=buffered
  723. ###########################################################################
  724. # Settings to configure Solr Search
  725. ###########################################################################
  726. [search]
  727. # URL of the Solr Server
  728. ## solr_url=http://localhost:8983/solr/
  729. # Requires FQDN in solr_url if enabled
  730. ## security_enabled=false
  731. ## Query sent when no term is entered
  732. ## empty_query=*:*
  733. # Use latest Solr 5.2+ features.
  734. ## latest=false
  735. ###########################################################################
  736. # Settings to configure Solr Indexer
  737. ###########################################################################
  738. [indexer]
  739. # Location of the solrctl binary.
  740. ## solrctl_path=/usr/bin/solrctl
  741. ###########################################################################
  742. # Settings to configure Job Designer
  743. ###########################################################################
  744. [jobsub]
  745. # Location on local FS where examples and template are stored.
  746. ## local_data_dir=..../data
  747. # Location on local FS where sample data is stored
  748. ## sample_data_dir=...thirdparty/sample_data
  749. ###########################################################################
  750. # Settings to configure Job Browser.
  751. ###########################################################################
  752. [jobbrowser]
  753. # Share submitted jobs information with all users. If set to false,
  754. # submitted jobs are visible only to the owner and administrators.
  755. ## share_jobs=true
  756. # Whether to disalbe the job kill button for all users in the jobbrowser
  757. ## disable_killing_jobs=false
  758. ###########################################################################
  759. # Settings to configure the Zookeeper application.
  760. ###########################################################################
  761. [zookeeper]
  762. [[clusters]]
  763. [[[default]]]
  764. # Zookeeper ensemble. Comma separated list of Host/Port.
  765. # e.g. localhost:2181,localhost:2182,localhost:2183
  766. ## host_ports=localhost:2181
  767. # The URL of the REST contrib service (required for znode browsing).
  768. ## rest_url=http://localhost:9998
  769. # Name of Kerberos principal when using security.
  770. ## principal_name=zookeeper
  771. ###########################################################################
  772. # Settings to configure the Spark application.
  773. ###########################################################################
  774. [spark]
  775. # Host address of the Livy Server.
  776. ## livy_server_host=localhost
  777. # Port of the Livy Server.
  778. ## livy_server_port=8998
  779. # Configure livy to start with 'process', 'thread', or 'yarn' workers.
  780. ## livy_server_session_kind=process
  781. # If livy should use proxy users when submitting a job.
  782. ## livy_impersonation_enabled=true
  783. # List of available types of snippets
  784. ## languages='[{"name": "Scala Shell", "type": "scala"},{"name": "PySpark Shell", "type": "python"},{"name": "Jar", "type": "Jar"},{"name": "Python", "type": "py"},{"name": "Impala SQL", "type": "impala"},{"name": "Hive SQL", "type": "hive"},{"name": "Text", "type": "text"}]'
  785. ###########################################################################
  786. # Settings for the User Admin application
  787. ###########################################################################
  788. [useradmin]
  789. # The name of the default user group that users will be a member of
  790. ## default_user_group=default
  791. [[password_policy]]
  792. # Set password policy to all users. The default policy requires password to be at least 8 characters long,
  793. # and contain both uppercase and lowercase letters, numbers, and special characters.
  794. ## is_enabled=false
  795. ## pwd_regex="^(?=.*?[A-Z])(?=(.*[a-z]){1,})(?=(.*[\d]){1,})(?=(.*[\W_]){1,}).{8,}$"
  796. ## 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."
  797. ## 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."
  798. ###########################################################################
  799. # Settings for the Sentry lib
  800. ###########################################################################
  801. [libsentry]
  802. # Hostname or IP of server.
  803. ## hostname=localhost
  804. # Port the sentry service is running on.
  805. ## port=8038
  806. # Sentry configuration directory, where sentry-site.xml is located.
  807. ## sentry_conf_dir=/etc/sentry/conf
  808. ###########################################################################
  809. # Settings to configure the ZooKeeper Lib
  810. ###########################################################################
  811. [libzookeeper]
  812. # ZooKeeper ensemble. Comma separated list of Host/Port.
  813. # e.g. localhost:2181,localhost:2182,localhost:2183
  814. ## ensemble=localhost:2181
  815. # Name of Kerberos principal when using security.
  816. ## principal_name=zookeeper