pseudo-distributed.ini.tmpl 36 KB

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