pseudo-distributed.ini.tmpl 23 KB

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