hue.ini 40 KB

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