hue.ini 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668
  1. # Hue configuration file
  2. # ===================================
  3. #
  4. # For complete documentation about the contents of this file, run
  5. # $ <hue_root>/build/env/bin/hue config_help
  6. #
  7. # All .ini files under the current directory are treated equally. Their
  8. # contents are merged to form the Hue configuration, which can
  9. # can be viewed on the Hue at
  10. # http://<hue_host>:<port>/dump_config
  11. ###########################################################################
  12. # General configuration for core Desktop features (authentication, etc)
  13. ###########################################################################
  14. [desktop]
  15. # Set this to a random string, the longer the better.
  16. # This is used for secure hashing in the session store.
  17. secret_key=
  18. # Webserver listens on this address and port
  19. http_host=0.0.0.0
  20. http_port=8888
  21. # Time zone name
  22. time_zone=America/Los_Angeles
  23. # Enable or disable Django debug mode.
  24. django_debug_mode=false
  25. # Enable or disable backtrace for server error
  26. http_500_debug_mode=false
  27. # Server email for internal error messages
  28. ## django_server_email='hue@localhost.localdomain'
  29. # Email backend
  30. ## django_email_backend=django.core.mail.backends.smtp.EmailBackend
  31. # Webserver runs as this user
  32. ## server_user=hue
  33. ## server_group=hue
  34. # If set to false, runcpserver will not actually start the web server.
  35. # Used if Apache is being used as a WSGI container.
  36. ## enable_server=yes
  37. # Number of threads used by the CherryPy web server
  38. ## cherrypy_server_threads=10
  39. # Filename of SSL Certificate
  40. ## ssl_certificate=
  41. # Filename of SSL RSA Private Key
  42. ## ssl_private_key=
  43. # Default encoding for site data
  44. ## default_site_encoding=utf-8
  45. # Help improve Hue with anonymous usage analytics.
  46. # Use Google Analytics to see how many times an application or specific section of an application is used, nothing more.
  47. ## collect_usage=true
  48. # Comma-separated list of Django middleware classes to use.
  49. # See https://docs.djangoproject.com/en/1.4/ref/middleware/ for more details on middlewares in Django.
  50. ## middleware=desktop.auth.backend.LdapSynchronizationBackend
  51. ## Comma-separated list of regular expressions, which match the redirect URL.
  52. ## For example, to restrict to your local domain and FQDN, the following value can be used:
  53. ## ^\/.*$,^http:\/\/www.mydomain.com\/.*$
  54. # redirect_whitelist=
  55. # Administrators
  56. # ----------------
  57. [[django_admins]]
  58. ## [[[admin1]]]
  59. ## name=john
  60. ## email=john@doe.com
  61. # UI customizations
  62. # -------------------
  63. [[custom]]
  64. # Top banner HTML code
  65. ## banner_top_html=
  66. # Configuration options for user authentication into the web application
  67. # ------------------------------------------------------------------------
  68. [[auth]]
  69. # Authentication backend. Common settings are:
  70. # - django.contrib.auth.backends.ModelBackend (entirely Django backend)
  71. # - desktop.auth.backend.AllowAllBackend (allows everyone)
  72. # - desktop.auth.backend.AllowFirstUserDjangoBackend
  73. # (Default. Relies on Django and user manager, after the first login)
  74. # - desktop.auth.backend.LdapBackend
  75. # - desktop.auth.backend.PamBackend
  76. # - desktop.auth.backend.SpnegoDjangoBackend
  77. # - desktop.auth.backend.RemoteUserDjangoBackend
  78. # - desktop.auth.backend.OAuthBackend
  79. # - libsaml.backend.SAML2Backend
  80. ## backend=desktop.auth.backend.AllowFirstUserDjangoBackend
  81. ## pam_service=login
  82. # When using the desktop.auth.backend.RemoteUserDjangoBackend, this sets
  83. # the normalized name of the header that contains the remote user.
  84. # The HTTP header in the request is converted to a key by converting
  85. # all characters to uppercase, replacing any hyphens with underscores
  86. # and adding an HTTP_ prefix to the name. So, for example, if the header
  87. # is called Remote-User that would be configured as HTTP_REMOTE_USER
  88. #
  89. # Defaults to HTTP_REMOTE_USER
  90. ## remote_user_header=HTTP_REMOTE_USER
  91. # Configuration options for connecting to LDAP and Active Directory
  92. # -------------------------------------------------------------------
  93. [[ldap]]
  94. # The search base for finding users and groups
  95. ## base_dn="DC=mycompany,DC=com"
  96. # The NT domain to connect to (only for use with Active Directory)
  97. ## nt_domain=mycompany.com
  98. # URL of the LDAP server
  99. ## ldap_url=ldap://auth.mycompany.com
  100. # A PEM-format file containing certificates for the CA's that
  101. # Hue will trust for authentication over TLS.
  102. # The certificate for the CA that signed the
  103. # LDAP server certificate must be included among these certificates.
  104. # See more here http://www.openldap.org/doc/admin24/tls.html.
  105. ## ldap_cert=
  106. ## use_start_tls=true
  107. # Distinguished name of the user to bind as -- not necessary if the LDAP server
  108. # supports anonymous searches
  109. ## bind_dn="CN=ServiceAccount,DC=mycompany,DC=com"
  110. # Password of the bind user -- not necessary if the LDAP server supports
  111. # anonymous searches
  112. ## bind_password=
  113. # Pattern for searching for usernames -- Use <username> for the parameter
  114. # For use when using LdapBackend for Hue authentication
  115. ## ldap_username_pattern="uid=<username>,ou=People,dc=mycompany,dc=com"
  116. # Create users in Hue when they try to login with their LDAP credentials
  117. # For use when using LdapBackend for Hue authentication
  118. ## create_users_on_login = true
  119. # Ignore the case of usernames when searching for existing users in Hue.
  120. ## ignore_username_case=false
  121. # Force usernames to lowercase when creating new users from LDAP.
  122. ## force_username_lowercase=false
  123. # Use search bind authentication.
  124. ## search_bind_authentication=true
  125. [[[users]]]
  126. # Base filter for searching for users
  127. ## user_filter="objectclass=*"
  128. # The username attribute in the LDAP schema
  129. ## user_name_attr=sAMAccountName
  130. [[[groups]]]
  131. # Base filter for searching for groups
  132. ## group_filter="objectclass=*"
  133. # The group name attribute in the LDAP schema
  134. ## group_name_attr=cn
  135. # The attribute of the group object which identifies the members of the group
  136. ## group_member_attr=members
  137. # Configuration options for specifying the Desktop Database. For more info,
  138. # see http://docs.djangoproject.com/en/1.1/ref/settings/#database-engine
  139. # ------------------------------------------------------------------------
  140. [[database]]
  141. # Database engine is typically one of:
  142. # postgresql_psycopg2, mysql, or sqlite3
  143. #
  144. # Note that for sqlite3, 'name', below is a filename;
  145. # for other backends, it is the database name.
  146. ## engine=sqlite3
  147. ## host=
  148. ## port=
  149. ## user=
  150. ## password=
  151. ## name=desktop/desktop.db
  152. ## options={}
  153. # Configuration options for specifying the Desktop session.
  154. # For more info, see https://docs.djangoproject.com/en/1.4/topics/http/sessions/
  155. # ------------------------------------------------------------------------
  156. [[session]]
  157. # The cookie containing the users' session ID will expire after this amount of time in seconds.
  158. ## ttl=60*60*24*14
  159. # The cookie containing the users' session ID will be secure.
  160. # Should only be enabled with HTTPS.
  161. ## secure=false
  162. # The cookie containing the users' session ID will use the HTTP only flag.
  163. ## http_only=false
  164. # Use session-length cookies. Logs out the user when she closes the browser window.
  165. ## expire_at_browser_close=false
  166. # Configuration options for connecting to an external SMTP server
  167. # ------------------------------------------------------------------------
  168. [[smtp]]
  169. # The SMTP server information for email notification delivery
  170. host=localhost
  171. port=25
  172. user=
  173. password=
  174. # Whether to use a TLS (secure) connection when talking to the SMTP server
  175. tls=no
  176. # Default email address to use for various automated notification from Hue
  177. ## default_from_email=hue@localhost
  178. # Configuration options for Kerberos integration for secured Hadoop clusters
  179. # ------------------------------------------------------------------------
  180. [[kerberos]]
  181. # Path to Hue's Kerberos keytab file
  182. ## hue_keytab=
  183. # Kerberos principal name for Hue
  184. ## hue_principal=hue/hostname.foo.com
  185. # Path to kinit
  186. ## kinit_path=/path/to/kinit
  187. # Configuration options for using OAuthBackend login
  188. # ------------------------------------------------------------------------
  189. [[oauth]]
  190. # The Consumer key of the application
  191. ## consumer_key=XXXXXXXXXXXXXXXXXXXXX
  192. # The Consumer secret of the application
  193. ## consumer_secret=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  194. # The Request token URL
  195. ## request_token_url=https://api.twitter.com/oauth/request_token
  196. # The Access token URL
  197. ## access_token_url=https://api.twitter.com/oauth/access_token
  198. # The Authorize URL
  199. ## authenticate_url=https://api.twitter.com/oauth/authorize
  200. ###########################################################################
  201. # Settings to configure SAML
  202. ###########################################################################
  203. [libsaml]
  204. # Xmlsec1 binary path. This program should be executable by the user running Hue.
  205. ## xmlsec_binary=/usr/local/bin/xmlsec1
  206. # Entity ID for Hue acting as service provider.
  207. # Can also accept a pattern where '<base_url>' will be replaced with server URL base.
  208. ## entity_id="<base_url>/saml2/metadata/"
  209. # Create users from SSO on login.
  210. ## create_users_on_login=true
  211. # Required attributes to ask for from IdP.
  212. # This requires a comma separated list.
  213. ## required_attributes=uid
  214. # Optional attributes to ask for from IdP.
  215. # This requires a comma separated list.
  216. ## optional_attributes=
  217. # IdP metadata in the form of a file. This is generally an XML file containing metadata that the Identity Provider generates.
  218. ## metadata_file=
  219. # Private key to encrypt metadata with.
  220. ## key_file=
  221. # Signed certificate to send along with encrypted metadata.
  222. ## cert_file=
  223. # A mapping from attributes in the response from the IdP to django user attributes.
  224. ## user_attribute_mapping={'uid':'username'}
  225. # Have Hue initiated authn requests be signed and provide a certificate.
  226. ## authn_requests_signed=false
  227. # Have Hue initiated logout requests be signed and provide a certificate.
  228. ## logout_requests_signed=false
  229. ## Username can be sourced from 'attributes' or 'nameid'.
  230. ## username_source=attributes
  231. # Performs the logout or not.
  232. ## logout_enabled=true
  233. ###########################################################################
  234. # Settings for the RDBMS application
  235. ###########################################################################
  236. [librdbms]
  237. # The RDBMS app can have any number of databases configured in the databases
  238. # section. A database is known by its section name
  239. # (IE sqlite, mysql, psql, and oracle in the list below).
  240. [[databases]]
  241. # sqlite configuration.
  242. ## [[[sqlite]]]
  243. # Name to show in the UI.
  244. ## nice_name=SQLite
  245. # For SQLite, name defines the path to the database.
  246. ## name=/tmp/sqlite.db
  247. # Database backend to use.
  248. ## engine=sqlite
  249. # mysql, oracle, or postgresql configuration.
  250. ## [[[mysql]]]
  251. # Name to show in the UI.
  252. ## nice_name="My SQL DB"
  253. # For MySQL and PostgreSQL, name is the name of the database.
  254. # For Oracle, Name is instance of the Oracle server. For express edition
  255. # this is 'xe' by default.
  256. ## name=mysqldb
  257. # Database backend to use. This can be:
  258. # 1. mysql
  259. # 2. postgresql
  260. # 3. oracle
  261. ## engine=mysql
  262. # IP or hostname of the database to connect to.
  263. ## host=localhost
  264. # Port the database server is listening to. Defaults are:
  265. # 1. MySQL: 3306
  266. # 2. PostgreSQL: 5432
  267. # 3. Oracle Express Edition: 1521
  268. ## port=3306
  269. # Username to authenticate with when connecting to the database.
  270. ## user=example
  271. # Password matching the username to authenticate with when
  272. # connecting to the database.
  273. ## password=example
  274. ###########################################################################
  275. # Settings to configure your Hadoop cluster.
  276. ###########################################################################
  277. [hadoop]
  278. # Configuration for HDFS NameNode
  279. # ------------------------------------------------------------------------
  280. [[hdfs_clusters]]
  281. # HA support by using HttpFs
  282. [[[default]]]
  283. # Enter the filesystem uri
  284. fs_defaultfs=hdfs://localhost:8020
  285. # NameNode logical name.
  286. ## logical_name=
  287. # Use WebHdfs/HttpFs as the communication mechanism.
  288. # Domain should be the NameNode or HttpFs host.
  289. # Default port is 14000 for HttpFs.
  290. ## webhdfs_url=http://localhost:50070/webhdfs/v1
  291. # Change this if your HDFS cluster is Kerberos-secured
  292. ## security_enabled=false
  293. # Configuration for YARN (MR2)
  294. # ------------------------------------------------------------------------
  295. [[yarn_clusters]]
  296. [[[default]]]
  297. # Enter the host on which you are running the ResourceManager
  298. ## resourcemanager_host=localhost
  299. # The port where the ResourceManager IPC listens on
  300. ## resourcemanager_port=8032
  301. # Whether to submit jobs to this cluster
  302. submit_to=True
  303. # Change this if your YARN cluster is Kerberos-secured
  304. ## security_enabled=false
  305. # URL of the ResourceManager API
  306. ## resourcemanager_api_url=http://localhost:8088
  307. # URL of the ProxyServer API
  308. ## proxy_api_url=http://localhost:8088
  309. # URL of the HistoryServer API
  310. # history_server_api_url=http://localhost:19888
  311. # Configuration for MapReduce (MR1)
  312. # ------------------------------------------------------------------------
  313. [[mapred_clusters]]
  314. [[[default]]]
  315. # Enter the host on which you are running the Hadoop JobTracker
  316. ## jobtracker_host=localhost
  317. # The port where the JobTracker IPC listens on
  318. ## jobtracker_port=8021
  319. # JobTracker logical name.
  320. ## logical_name=
  321. # Thrift plug-in port for the JobTracker
  322. ## thrift_port=9290
  323. # Whether to submit jobs to this cluster
  324. submit_to=False
  325. # Change this if your MapReduce cluster is Kerberos-secured
  326. ## security_enabled=false
  327. # HA support by specifying multiple clusters
  328. # e.g.
  329. # [[[ha]]]
  330. # Enter the host on which you are running the failover JobTracker
  331. # jobtracker_host=localhost-ha
  332. ###########################################################################
  333. # Settings to configure liboozie
  334. ###########################################################################
  335. [liboozie]
  336. # The URL where the Oozie service runs on. This is required in order for
  337. # users to submit jobs.
  338. ## oozie_url=http://localhost:11000/oozie
  339. # Requires FQDN in oozie_url if enabled
  340. ## security_enabled=false
  341. # Location on HDFS where the workflows/coordinator are deployed when submitted.
  342. ## remote_deployement_dir=/user/hue/oozie/deployments
  343. ###########################################################################
  344. # Settings to configure the Oozie app
  345. ###########################################################################
  346. [oozie]
  347. # Location on local FS where the examples are stored.
  348. ## local_data_dir=..../examples
  349. # Location on local FS where the data for the examples is stored.
  350. ## sample_data_dir=...thirdparty/sample_data
  351. # Location on HDFS where the oozie examples and workflows are stored.
  352. ## remote_data_dir=/user/hue/oozie/workspaces
  353. # Maximum of Oozie workflows or coodinators to retrieve in one API call.
  354. ## oozie_jobs_count=100
  355. ###########################################################################
  356. # Settings to configure Beeswax with Hive
  357. ###########################################################################
  358. [beeswax]
  359. # Host where Hive server Thrift daemon is running.
  360. # If Kerberos security is enabled, use fully-qualified domain name (FQDN).
  361. ## hive_server_host=<FQDN of Hive Server>
  362. # Port where HiveServer2 Thrift server runs on.
  363. ## hive_server_port=10000
  364. # Hive configuration directory, where hive-site.xml is located
  365. ## hive_conf_dir=/etc/hive/conf
  366. # Timeout in seconds for thrift calls to Hive service
  367. ## server_conn_timeout=120
  368. # Path to HiveServer2 start script
  369. ## hive_server_bin=/usr/lib/hive/bin/hiveserver2
  370. # Set a LIMIT clause when browsing a partitioned table.
  371. # A positive value will be set as the LIMIT. If 0 or negative, do not set any limit.
  372. ## browse_partitioned_table_limit=250
  373. [[ssl]]
  374. # SSL communication enabled for this server.
  375. ## enabled=false
  376. # Path to Certificate Authority certificates.
  377. ## cacerts=/etc/hue/cacerts.pem
  378. # Path to the private key file.
  379. ## key=/etc/hue/key.pem
  380. # Path to the public certificate file.
  381. ## cert=/etc/hue/cert.pem
  382. # Choose whether Hue should validate certificates received from the server.
  383. ## validate=true
  384. ###########################################################################
  385. # Settings to configure Pig
  386. ###########################################################################
  387. [pig]
  388. # Location of piggybank.jar on local filesystem.
  389. ## local_sample_dir=/usr/share/hue/apps/pig/examples
  390. # Location piggybank.jar will be copied to in HDFS.
  391. ## remote_data_dir=/user/hue/pig/examples
  392. ###########################################################################
  393. # Settings to configure Sqoop
  394. ###########################################################################
  395. [sqoop]
  396. # For autocompletion, fill out the librdbms section.
  397. # Sqoop server URL
  398. ## server_url=http://localhost:12000/sqoop
  399. ###########################################################################
  400. # Settings to configure Proxy
  401. ###########################################################################
  402. [proxy]
  403. # Comma-separated list of regular expressions,
  404. # which match 'host:port' of requested proxy target.
  405. ## whitelist=(localhost|127\.0\.0\.1):(50030|50070|50060|50075)
  406. # Comma-separated list of regular expressions,
  407. # which match any prefix of 'host:port/path' of requested proxy target.
  408. # This does not support matching GET parameters.
  409. ## blacklist=
  410. ###########################################################################
  411. # Settings to configure Impala
  412. ###########################################################################
  413. [impala]
  414. # Host of the Impala Server (one of the Impalad)
  415. ## server_host=localhost
  416. # Port of the Impala Server
  417. ## server_port=21050
  418. # Kerberos principal
  419. ## impala_principal=impala/hostname.foo.com
  420. # Turn on/off impersonation mechanism when talking to Impala
  421. ## impersonation_enabled=False
  422. ###########################################################################
  423. # Settings to configure Hbase
  424. ###########################################################################
  425. [hbase]
  426. # Comma-separated list of HBase Thrift servers for
  427. # clusters in the format of '(name|host:port)'.
  428. ## hbase_clusters=(Cluster|localhost:9090)
  429. # Hard limit of rows or columns per row fetched before truncating.
  430. ## truncate_limit = 500
  431. ###########################################################################
  432. # Settings to configure Solr Search
  433. ###########################################################################
  434. [search]
  435. # URL of the Solr Server
  436. ## solr_url=http://localhost:8983/solr/
  437. # Requires FQDN in solr_url if enabled
  438. ## security_enabled=false
  439. ## Query sent when no term is entered
  440. ## empty_query=*:*
  441. ###########################################################################
  442. # Settings to configure Job Designer
  443. ###########################################################################
  444. [jobsub]
  445. # Location on local FS where examples and template are stored.
  446. ## local_data_dir=..../data
  447. # Location on local FS where sample data is stored
  448. ## sample_data_dir=...thirdparty/sample_data
  449. ###########################################################################
  450. # Settings to configure Job Browser.
  451. ###########################################################################
  452. [jobbrowser]
  453. # Share submitted jobs information with all users. If set to false,
  454. # submitted jobs are visible only to the owner and administrators.
  455. ## share_jobs=true
  456. ###########################################################################
  457. # Settings to configure the Zookeeper application.
  458. ###########################################################################
  459. [zookeeper]
  460. [[clusters]]
  461. [[[default]]]
  462. # Zookeeper ensemble. Comma separated list of Host/Port.
  463. # e.g. localhost:2181,localhost:2182,localhost:2183
  464. ## host_ports=localhost:2181
  465. # The URL of the REST contrib service (required for znode browsing)
  466. ## rest_url=http://localhost:9998
  467. ###########################################################################
  468. # Settings to configure the Spark application.
  469. ###########################################################################
  470. [spark]
  471. # URL of the REST Spark Job Server.
  472. ## server_url=http://localhost:8090/
  473. ###########################################################################
  474. # Settings for the User Admin application
  475. ###########################################################################
  476. [useradmin]
  477. # The name of the default user group that users will be a member of
  478. ## default_user_group=default