hue.ini 41 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231
  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. [[interpreters]]
  405. [[[hive]]]
  406. name=Hive
  407. interface=hiveserver2
  408. [[[impala]]]
  409. name=Impala
  410. interface=hiveserver2
  411. [[[spark]]]
  412. name=Scala
  413. interface=livy
  414. [[[pyspark]]]
  415. name=PySpark
  416. interface=livy
  417. [[[r]]]
  418. name=R
  419. interface=livy
  420. [[[jar]]]
  421. name=Spark Submit Jar
  422. interface=livy-batch
  423. [[[py]]]
  424. name=Spark Submit Python
  425. interface=livy-batch
  426. [[[pig]]]
  427. name=Pig
  428. interface=pig
  429. [[[text]]]
  430. name=Text
  431. interface=text
  432. # [[[sparksql]]]
  433. # name=SparkSql
  434. # interface=hiveserver2
  435. ###########################################################################
  436. # Settings to configure your Hadoop cluster.
  437. ###########################################################################
  438. [hadoop]
  439. # Configuration for HDFS NameNode
  440. # ------------------------------------------------------------------------
  441. [[hdfs_clusters]]
  442. # HA support by using HttpFs
  443. [[[default]]]
  444. # Enter the filesystem uri
  445. fs_defaultfs=hdfs://localhost:8020
  446. # NameNode logical name.
  447. ## logical_name=
  448. # Use WebHdfs/HttpFs as the communication mechanism.
  449. # Domain should be the NameNode or HttpFs host.
  450. # Default port is 14000 for HttpFs.
  451. ## webhdfs_url=http://localhost:50070/webhdfs/v1
  452. # Change this if your HDFS cluster is Kerberos-secured
  453. ## security_enabled=false
  454. # In secure mode (HTTPS), if SSL certificates from YARN Rest APIs
  455. # have to be verified against certificate authority
  456. ## ssl_cert_ca_verify=True
  457. # Directory of the Hadoop configuration
  458. ## hadoop_conf_dir=$HADOOP_CONF_DIR when set or '/etc/hadoop/conf'
  459. # Configuration for YARN (MR2)
  460. # ------------------------------------------------------------------------
  461. [[yarn_clusters]]
  462. [[[default]]]
  463. # Enter the host on which you are running the ResourceManager
  464. ## resourcemanager_host=localhost
  465. # The port where the ResourceManager IPC listens on
  466. ## resourcemanager_port=8032
  467. # Whether to submit jobs to this cluster
  468. submit_to=True
  469. # Resource Manager logical name (required for HA)
  470. ## logical_name=
  471. # Change this if your YARN cluster is Kerberos-secured
  472. ## security_enabled=false
  473. # URL of the ResourceManager API
  474. ## resourcemanager_api_url=http://localhost:8088
  475. # URL of the ProxyServer API
  476. ## proxy_api_url=http://localhost:8088
  477. # URL of the HistoryServer API
  478. ## history_server_api_url=http://localhost:19888
  479. # In secure mode (HTTPS), if SSL certificates from YARN Rest APIs
  480. # have to be verified against certificate authority
  481. ## ssl_cert_ca_verify=True
  482. # HA support by specifying multiple clusters
  483. # e.g.
  484. # [[[ha]]]
  485. # Resource Manager logical name (required for HA)
  486. ## logical_name=my-rm-name
  487. # Configuration for MapReduce (MR1)
  488. # ------------------------------------------------------------------------
  489. [[mapred_clusters]]
  490. [[[default]]]
  491. # Enter the host on which you are running the Hadoop JobTracker
  492. ## jobtracker_host=localhost
  493. # The port where the JobTracker IPC listens on
  494. ## jobtracker_port=8021
  495. # JobTracker logical name for HA
  496. ## logical_name=
  497. # Thrift plug-in port for the JobTracker
  498. ## thrift_port=9290
  499. # Whether to submit jobs to this cluster
  500. submit_to=False
  501. # Change this if your MapReduce cluster is Kerberos-secured
  502. ## security_enabled=false
  503. # HA support by specifying multiple clusters
  504. # e.g.
  505. # [[[ha]]]
  506. # Enter the logical name of the JobTrackers
  507. ## logical_name=my-jt-name
  508. ###########################################################################
  509. # Settings to configure Beeswax with Hive
  510. ###########################################################################
  511. [beeswax]
  512. # Host where HiveServer2 is running.
  513. # If Kerberos security is enabled, use fully-qualified domain name (FQDN).
  514. ## hive_server_host=localhost
  515. # Port where HiveServer2 Thrift server runs on.
  516. ## hive_server_port=10000
  517. # Hive configuration directory, where hive-site.xml is located
  518. ## hive_conf_dir=/etc/hive/conf
  519. # Timeout in seconds for thrift calls to Hive service
  520. ## server_conn_timeout=120
  521. # Choose whether to use the old GetLog() thrift call from before Hive 0.14 to retrieve the logs.
  522. # If false, use the FetchResults() thrift call from Hive 1.0 or more instead.
  523. ## use_get_log_api=false
  524. # Set a LIMIT clause when browsing a partitioned table.
  525. # A positive value will be set as the LIMIT. If 0 or negative, do not set any limit.
  526. ## browse_partitioned_table_limit=250
  527. # A limit to the number of rows that can be downloaded from a query.
  528. # A value of -1 means there will be no limit.
  529. # A maximum of 65,000 is applied to XLS downloads.
  530. ## download_row_limit=1000000
  531. # Hue will try to close the Hive query when the user leaves the editor page.
  532. # This will free all the query resources in HiveServer2, but also make its results inaccessible.
  533. ## close_queries=false
  534. # Thrift version to use when communicating with HiveServer2.
  535. # New column format is from version 7.
  536. ## thrift_version=7
  537. [[ssl]]
  538. # Path to Certificate Authority certificates.
  539. ## cacerts=/etc/hue/cacerts.pem
  540. # Choose whether Hue should validate certificates received from the server.
  541. ## validate=true
  542. # Override the default desktop username and password of the hue user used for authentications with other services.
  543. # e.g. Used for LDAP/PAM pass-through authentication.
  544. ## auth_username=hue
  545. ## auth_password=
  546. ###########################################################################
  547. # Settings to configure Impala
  548. ###########################################################################
  549. [impala]
  550. # Host of the Impala Server (one of the Impalad)
  551. ## server_host=localhost
  552. # Port of the Impala Server
  553. ## server_port=21050
  554. # Kerberos principal
  555. ## impala_principal=impala/hostname.foo.com
  556. # Turn on/off impersonation mechanism when talking to Impala
  557. ## impersonation_enabled=False
  558. # Number of initial rows of a result set to ask Impala to cache in order
  559. # to support re-fetching them for downloading them.
  560. # Set to 0 for disabling the option and backward compatibility.
  561. ## querycache_rows=50000
  562. # Timeout in seconds for thrift calls
  563. ## server_conn_timeout=120
  564. # Hue will try to close the Impala query when the user leaves the editor page.
  565. # This will free all the query resources in Impala, but also make its results inaccessible.
  566. ## close_queries=true
  567. # If QUERY_TIMEOUT_S > 0, the query will be timed out (i.e. cancelled) if Impala does not do any work
  568. # (compute or send back results) for that query within QUERY_TIMEOUT_S seconds.
  569. ## query_timeout_s=600
  570. [[ssl]]
  571. # SSL communication enabled for this server.
  572. ## enabled=false
  573. # Path to Certificate Authority certificates.
  574. ## cacerts=/etc/hue/cacerts.pem
  575. # Choose whether Hue should validate certificates received from the server.
  576. ## validate=true
  577. # Override the desktop default username and password of the hue user used for authentications with other services.
  578. # e.g. Used for LDAP/PAM pass-through authentication.
  579. ## auth_username=hue
  580. ## auth_password=
  581. ###########################################################################
  582. # Settings to configure the Spark application.
  583. ###########################################################################
  584. [spark]
  585. # Host address of the Livy Server.
  586. ## livy_server_host=localhost
  587. # Port of the Livy Server.
  588. ## livy_server_port=8998
  589. # Configure livy to start in local 'process' mode, or 'yarn' workers.
  590. ## livy_server_session_kind=process
  591. # If livy should use proxy users when submitting a job.
  592. ## livy_impersonation_enabled=true
  593. # Host of the Sql Server
  594. ## sql_server_host=localhost
  595. # Port of the Sql Server
  596. ## sql_server_port=10000
  597. ###########################################################################
  598. # Settings to configure the Oozie app
  599. ###########################################################################
  600. [oozie]
  601. # Location on local FS where the examples are stored.
  602. ## local_data_dir=..../examples
  603. # Location on local FS where the data for the examples is stored.
  604. ## sample_data_dir=...thirdparty/sample_data
  605. # Location on HDFS where the oozie examples and workflows are stored.
  606. ## remote_data_dir=/user/hue/oozie/workspaces
  607. # Maximum of Oozie workflows or coodinators to retrieve in one API call.
  608. ## oozie_jobs_count=50
  609. # Use Cron format for defining the frequency of a Coordinator instead of the old frequency number/unit.
  610. ## enable_cron_scheduling=true
  611. ###########################################################################
  612. # Settings to configure the Filebrowser app
  613. ###########################################################################
  614. [filebrowser]
  615. # Location on local filesystem where the uploaded archives are temporary stored.
  616. ## archive_upload_tempdir=/tmp
  617. # Show Download Button for HDFS file browser.
  618. ## show_download_button=false
  619. # Show Upload Button for HDFS file browser.
  620. ## show_upload_button=false
  621. ###########################################################################
  622. # Settings to configure Pig
  623. ###########################################################################
  624. [pig]
  625. # Location of piggybank.jar on local filesystem.
  626. ## local_sample_dir=/usr/share/hue/apps/pig/examples
  627. # Location piggybank.jar will be copied to in HDFS.
  628. ## remote_data_dir=/user/hue/pig/examples
  629. ###########################################################################
  630. # Settings to configure Sqoop2
  631. ###########################################################################
  632. [sqoop]
  633. # For autocompletion, fill out the librdbms section.
  634. # Sqoop server URL
  635. ## server_url=http://localhost:12000/sqoop
  636. # Path to configuration directory
  637. ## sqoop_conf_dir=/etc/sqoop2/conf
  638. ###########################################################################
  639. # Settings to configure Proxy
  640. ###########################################################################
  641. [proxy]
  642. # Comma-separated list of regular expressions,
  643. # which match 'host:port' of requested proxy target.
  644. ## whitelist=(localhost|127\.0\.0\.1):(50030|50070|50060|50075)
  645. # Comma-separated list of regular expressions,
  646. # which match any prefix of 'host:port/path' of requested proxy target.
  647. # This does not support matching GET parameters.
  648. ## blacklist=
  649. ###########################################################################
  650. # Settings to configure HBase Browser
  651. ###########################################################################
  652. [hbase]
  653. # Comma-separated list of HBase Thrift servers for clusters in the format of '(name|host:port)'.
  654. # Use full hostname with security.
  655. # If using Kerberos we assume GSSAPI SASL, not PLAIN.
  656. ## hbase_clusters=(Cluster|localhost:9090)
  657. # HBase configuration directory, where hbase-site.xml is located.
  658. ## hbase_conf_dir=/etc/hbase/conf
  659. # Hard limit of rows or columns per row fetched before truncating.
  660. ## truncate_limit = 500
  661. # 'buffered' is the default of the HBase Thrift Server and supports security.
  662. # 'framed' can be used to chunk up responses,
  663. # which is useful when used in conjunction with the nonblocking server in Thrift.
  664. ## thrift_transport=buffered
  665. ###########################################################################
  666. # Settings to configure Solr Search
  667. ###########################################################################
  668. [search]
  669. # URL of the Solr Server
  670. ## solr_url=http://localhost:8983/solr/
  671. # Requires FQDN in solr_url if enabled
  672. ## security_enabled=false
  673. ## Query sent when no term is entered
  674. ## empty_query=*:*
  675. # Use latest Solr 5.2+ features.
  676. ## latest=false
  677. ###########################################################################
  678. # Settings to configure Solr Indexer
  679. ###########################################################################
  680. [indexer]
  681. # Location of the solrctl binary.
  682. ## solrctl_path=/usr/bin/solrctl
  683. ###########################################################################
  684. # Settings to configure Job Designer
  685. ###########################################################################
  686. [jobsub]
  687. # Location on local FS where examples and template are stored.
  688. ## local_data_dir=..../data
  689. # Location on local FS where sample data is stored
  690. ## sample_data_dir=...thirdparty/sample_data
  691. ###########################################################################
  692. # Settings to configure Job Browser.
  693. ###########################################################################
  694. [jobbrowser]
  695. # Share submitted jobs information with all users. If set to false,
  696. # submitted jobs are visible only to the owner and administrators.
  697. ## share_jobs=true
  698. # Whether to disalbe the job kill button for all users in the jobbrowser
  699. ## disable_killing_jobs=false
  700. ###########################################################################
  701. # Settings to configure the Zookeeper application.
  702. ###########################################################################
  703. [zookeeper]
  704. [[clusters]]
  705. [[[default]]]
  706. # Zookeeper ensemble. Comma separated list of Host/Port.
  707. # e.g. localhost:2181,localhost:2182,localhost:2183
  708. ## host_ports=localhost:2181
  709. # The URL of the REST contrib service (required for znode browsing).
  710. ## rest_url=http://localhost:9998
  711. # Name of Kerberos principal when using security.
  712. ## principal_name=zookeeper
  713. ###########################################################################
  714. # Settings for the User Admin application
  715. ###########################################################################
  716. [useradmin]
  717. # The name of the default user group that users will be a member of
  718. ## default_user_group=default
  719. [[password_policy]]
  720. # Set password policy to all users. The default policy requires password to be at least 8 characters long,
  721. # and contain both uppercase and lowercase letters, numbers, and special characters.
  722. ## is_enabled=false
  723. ## pwd_regex="^(?=.*?[A-Z])(?=(.*[a-z]){1,})(?=(.*[\d]){1,})(?=(.*[\W_]){1,}).{8,}$"
  724. ## 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."
  725. ## 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."
  726. ###########################################################################
  727. # Settings to configure liboozie
  728. ###########################################################################
  729. [liboozie]
  730. # The URL where the Oozie service runs on. This is required in order for
  731. # users to submit jobs. Empty value disables the config check.
  732. ## oozie_url=http://localhost:11000/oozie
  733. # Requires FQDN in oozie_url if enabled
  734. ## security_enabled=false
  735. # Location on HDFS where the workflows/coordinator are deployed when submitted.
  736. ## remote_deployement_dir=/user/hue/oozie/deployments
  737. ###########################################################################
  738. # Settings for the Sentry lib
  739. ###########################################################################
  740. [libsentry]
  741. # Hostname or IP of server.
  742. ## hostname=localhost
  743. # Port the sentry service is running on.
  744. ## port=8038
  745. # Sentry configuration directory, where sentry-site.xml is located.
  746. ## sentry_conf_dir=/etc/sentry/conf
  747. ###########################################################################
  748. # Settings to configure the ZooKeeper Lib
  749. ###########################################################################
  750. [libzookeeper]
  751. # ZooKeeper ensemble. Comma separated list of Host/Port.
  752. # e.g. localhost:2181,localhost:2182,localhost:2183
  753. ## ensemble=localhost:2181
  754. # Name of Kerberos principal when using security.
  755. ## principal_name=zookeeper
  756. ###########################################################################
  757. # Settings for the RDBMS application
  758. ###########################################################################
  759. [librdbms]
  760. # The RDBMS app can have any number of databases configured in the databases
  761. # section. A database is known by its section name
  762. # (IE sqlite, mysql, psql, and oracle in the list below).
  763. [[databases]]
  764. # sqlite configuration.
  765. ## [[[sqlite]]]
  766. # Name to show in the UI.
  767. ## nice_name=SQLite
  768. # For SQLite, name defines the path to the database.
  769. ## name=/tmp/sqlite.db
  770. # Database backend to use.
  771. ## engine=sqlite
  772. # Database options to send to the server when connecting.
  773. # https://docs.djangoproject.com/en/1.4/ref/databases/
  774. ## options={}
  775. # mysql, oracle, or postgresql configuration.
  776. ## [[[mysql]]]
  777. # Name to show in the UI.
  778. ## nice_name="My SQL DB"
  779. # For MySQL and PostgreSQL, name is the name of the database.
  780. # For Oracle, Name is instance of the Oracle server. For express edition
  781. # this is 'xe' by default.
  782. ## name=mysqldb
  783. # Database backend to use. This can be:
  784. # 1. mysql
  785. # 2. postgresql
  786. # 3. oracle
  787. ## engine=mysql
  788. # IP or hostname of the database to connect to.
  789. ## host=localhost
  790. # Port the database server is listening to. Defaults are:
  791. # 1. MySQL: 3306
  792. # 2. PostgreSQL: 5432
  793. # 3. Oracle Express Edition: 1521
  794. ## port=3306
  795. # Username to authenticate with when connecting to the database.
  796. ## user=example
  797. # Password matching the username to authenticate with when
  798. # connecting to the database.
  799. ## password=example
  800. # Database options to send to the server when connecting.
  801. # https://docs.djangoproject.com/en/1.4/ref/databases/
  802. ## options={}
  803. ###########################################################################
  804. # Settings to configure SAML
  805. ###########################################################################
  806. [libsaml]
  807. # Xmlsec1 binary path. This program should be executable by the user running Hue.
  808. ## xmlsec_binary=/usr/local/bin/xmlsec1
  809. # Entity ID for Hue acting as service provider.
  810. # Can also accept a pattern where '<base_url>' will be replaced with server URL base.
  811. ## entity_id="<base_url>/saml2/metadata/"
  812. # Create users from SSO on login.
  813. ## create_users_on_login=true
  814. # Required attributes to ask for from IdP.
  815. # This requires a comma separated list.
  816. ## required_attributes=uid
  817. # Optional attributes to ask for from IdP.
  818. # This requires a comma separated list.
  819. ## optional_attributes=
  820. # IdP metadata in the form of a file. This is generally an XML file containing metadata that the Identity Provider generates.
  821. ## metadata_file=
  822. # Private key to encrypt metadata with.
  823. ## key_file=
  824. # Signed certificate to send along with encrypted metadata.
  825. ## cert_file=
  826. # A mapping from attributes in the response from the IdP to django user attributes.
  827. ## user_attribute_mapping={'uid':'username'}
  828. # Have Hue initiated authn requests be signed and provide a certificate.
  829. ## authn_requests_signed=false
  830. # Have Hue initiated logout requests be signed and provide a certificate.
  831. ## logout_requests_signed=false
  832. # Username can be sourced from 'attributes' or 'nameid'.
  833. ## username_source=attributes
  834. # Performs the logout or not.
  835. ## logout_enabled=true
  836. ###########################################################################
  837. # Settings to configure OpenID
  838. ###########################################################################
  839. [libopenid]
  840. # (Required) OpenId SSO endpoint url.
  841. ## server_endpoint_url=https://www.google.com/accounts/o8/id
  842. # OpenId 1.1 identity url prefix to be used instead of SSO endpoint url
  843. # This is only supported if you are using an OpenId 1.1 endpoint
  844. ## identity_url_prefix=https://app.onelogin.com/openid/your_company.com/
  845. # Create users from OPENID on login.
  846. ## create_users_on_login=true
  847. # Use email for username
  848. ## use_email_for_username=true
  849. ###########################################################################
  850. # Settings to configure OAuth
  851. ###########################################################################
  852. [liboauth]
  853. # NOTE:
  854. # To work, each of the active (i.e. uncommented) service must have
  855. # applications created on the social network.
  856. # Then the "consumer key" and "consumer secret" must be provided here.
  857. #
  858. # The addresses where to do so are:
  859. # Twitter: https://dev.twitter.com/apps
  860. # Google+ : https://cloud.google.com/
  861. # Facebook: https://developers.facebook.com/apps
  862. # Linkedin: https://www.linkedin.com/secure/developer
  863. #
  864. # Additionnaly, the following must be set in the application settings:
  865. # Twitter: Callback URL (aka Redirect URL) must be set to http://YOUR_HUE_IP_OR_DOMAIN_NAME/oauth/social_login/oauth_authenticated
  866. # Google+ : CONSENT SCREEN must have email address
  867. # Facebook: Sandbox Mode must be DISABLED
  868. # Linkedin: "In OAuth User Agreement", r_emailaddress is REQUIRED
  869. # The Consumer key of the application
  870. ## consumer_key_twitter=
  871. ## consumer_key_google=
  872. ## consumer_key_facebook=
  873. ## consumer_key_linkedin=
  874. # The Consumer secret of the application
  875. ## consumer_secret_twitter=
  876. ## consumer_secret_google=
  877. ## consumer_secret_facebook=
  878. ## consumer_secret_linkedin=
  879. # The Request token URL
  880. ## request_token_url_twitter=https://api.twitter.com/oauth/request_token
  881. ## request_token_url_google=https://accounts.google.com/o/oauth2/auth
  882. ## request_token_url_linkedin=https://www.linkedin.com/uas/oauth2/authorization
  883. ## request_token_url_facebook=https://graph.facebook.com/oauth/authorize
  884. # The Access token URL
  885. ## access_token_url_twitter=https://api.twitter.com/oauth/access_token
  886. ## access_token_url_google=https://accounts.google.com/o/oauth2/token
  887. ## access_token_url_facebook=https://graph.facebook.com/oauth/access_token
  888. ## access_token_url_linkedin=https://api.linkedin.com/uas/oauth2/accessToken
  889. # The Authenticate URL
  890. ## authenticate_url_twitter=https://api.twitter.com/oauth/authorize
  891. ## authenticate_url_google=https://www.googleapis.com/oauth2/v1/userinfo?access_token=
  892. ## authenticate_url_facebook=https://graph.facebook.com/me?access_token=
  893. ## authenticate_url_linkedin=https://api.linkedin.com/v1/people/~:(email-address)?format=json&oauth2_access_token=
  894. # Username Map. Json Hash format.
  895. # Replaces username parts in order to simplify usernames obtained
  896. # Example: {"@sub1.domain.com":"_S1", "@sub2.domain.com":"_S2"}
  897. # converts 'email@sub1.domain.com' to 'email_S1'
  898. ## username_map={}
  899. # Whitelisted domains (only applies to Google OAuth). CSV format.
  900. ## whitelisted_domains_google=