hue.ini 41 KB

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