hue.ini 36 KB

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