pseudo-distributed.ini.tmpl 20 KB

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