hue.ini 42 KB

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