hue.ini 36 KB

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