hue.ini 19 KB

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