pseudo-distributed.ini.tmpl 44 KB

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