pseudo-distributed.ini.tmpl 19 KB

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