hue.ini 20 KB

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