pseudo-distributed.ini.tmpl 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590
  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. # Turn off debug
  30. django_debug_mode=1
  31. # Turn off backtrace for server error
  32. http_500_debug_mode=1
  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. # Set to true to use CherryPy as the webserver, set to false
  38. # to use Spawning as the webserver. Defaults to Spawning if
  39. # key is not specified.
  40. ## use_cherrypy_server = false
  41. # Webserver runs as this user
  42. ## server_user=hue
  43. ## server_group=hue
  44. # If set to false, runcpserver will not actually start the web server.
  45. # Used if Apache is being used as a WSGI container.
  46. ## enable_server=yes
  47. # Number of threads used by the CherryPy web server
  48. ## cherrypy_server_threads=10
  49. # Filename of SSL Certificate
  50. ## ssl_certificate=
  51. # Filename of SSL RSA Private Key
  52. ## ssl_private_key=
  53. # Default encoding for site data
  54. ## default_site_encoding=utf-8
  55. # Help improve Hue with anonymous usage analytics.
  56. # Use Google Analytics to see how many times an application or specific section of an application is used, nothing more.
  57. ## collect_usage=true
  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. ## backend=desktop.auth.backend.AllowFirstUserDjangoBackend
  83. # Backend to synchronize user-group membership with
  84. ## user_group_membership_synchronization_backend=desktop.auth.backend.LdapSynchronizationBackend
  85. ## pam_service=login
  86. # When using the desktop.auth.backend.RemoteUserDjangoBackend, this sets
  87. # the normalized name of the header that contains the remote user.
  88. # The HTTP header in the request is converted to a key by converting
  89. # all characters to uppercase, replacing any hyphens with underscores
  90. # and adding an HTTP_ prefix to the name. So, for example, if the header
  91. # is called Remote-User that would be configured as HTTP_REMOTE_USER
  92. #
  93. # Defaults to HTTP_REMOTE_USER
  94. ## remote_user_header=HTTP_REMOTE_USER
  95. # Configuration options for connecting to LDAP and Active Directory
  96. # -------------------------------------------------------------------
  97. [[ldap]]
  98. # The search base for finding users and groups
  99. ## base_dn="DC=mycompany,DC=com"
  100. # URL of the LDAP server
  101. ## ldap_url=ldap://auth.mycompany.com
  102. # A PEM-format file containing certificates for the CA's that
  103. # Hue will trust for authentication over TLS.
  104. # The certificate for the CA that signed the
  105. # LDAP server certificate must be included among these certificates.
  106. # See more here http://www.openldap.org/doc/admin24/tls.html.
  107. ## ldap_cert=
  108. ## use_start_tls=true
  109. # Distinguished name of the user to bind as -- not necessary if the LDAP server
  110. # supports anonymous searches
  111. ## bind_dn="CN=ServiceAccount,DC=mycompany,DC=com"
  112. # Password of the bind user -- not necessary if the LDAP server supports
  113. # anonymous searches
  114. ## bind_password=
  115. # Create users in Hue when they try to login with their LDAP credentials
  116. # For use when using LdapBackend for Hue authentication
  117. ## create_users_on_login = true
  118. [[[users]]]
  119. # Base filter for searching for users
  120. ## user_filter="objectclass=*"
  121. # The username attribute in the LDAP schema
  122. ## user_name_attr=sAMAccountName
  123. [[[groups]]]
  124. # Base filter for searching for groups
  125. ## group_filter="objectclass=*"
  126. # The username attribute in the LDAP schema
  127. ## group_name_attr=cn
  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. # Configuration options for connecting to an external SMTP server
  144. # ------------------------------------------------------------------------
  145. [[smtp]]
  146. # The SMTP server information for email notification delivery
  147. host=localhost
  148. port=25
  149. user=
  150. password=
  151. # Whether to use a TLS (secure) connection when talking to the SMTP server
  152. tls=no
  153. # Default email address to use for various automated notification from Hue
  154. ## default_from_email=hue@localhost
  155. # Configuration options for Kerberos integration for secured Hadoop clusters
  156. # ------------------------------------------------------------------------
  157. [[kerberos]]
  158. # Path to Hue's Kerberos keytab file
  159. ## hue_keytab=
  160. # Kerberos principal name for Hue
  161. ## hue_principal=hue/hostname.foo.com
  162. # Path to kinit
  163. ## kinit_path=/path/to/kinit
  164. # Configuration options for using OAuthBackend login
  165. # ------------------------------------------------------------------------
  166. [[oauth]]
  167. # The Consumer key of the application
  168. ## consumer_key=XXXXXXXXXXXXXXXXXXXXX
  169. # The Consumer secret of the application
  170. ## consumer_secret=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  171. # The Request token URL
  172. ## request_token_url=https://api.twitter.com/oauth/request_token
  173. # The Access token URL
  174. ## access_token_url=https://api.twitter.com/oauth/access_token
  175. # The Authorize URL
  176. ## authenticate_url=https://api.twitter.com/oauth/authorize
  177. ###########################################################################
  178. # Settings to configure your Hadoop cluster.
  179. ###########################################################################
  180. [hadoop]
  181. # Configuration for HDFS NameNode
  182. # ------------------------------------------------------------------------
  183. [[hdfs_clusters]]
  184. # HA support by using HttpFs
  185. [[[default]]]
  186. # Enter the filesystem uri
  187. fs_defaultfs=hdfs://localhost:8020
  188. # Use WebHdfs/HttpFs as the communication mechanism. To fallback to
  189. # using the Thrift plugin (used in Hue 1.x), this must be uncommented
  190. # and explicitly set to the empty value.
  191. ## webhdfs_url=
  192. ## security_enabled=false
  193. # Settings about this HDFS cluster. If you install HDFS in a
  194. # different location, you need to set the following.
  195. # Defaults to $HADOOP_HDFS_HOME or /usr/lib/hadoop-hdfs
  196. ## hadoop_hdfs_home=/usr/lib/hadoop-hdfs
  197. # Defaults to $HADOOP_BIN or /usr/bin/hadoop
  198. ## hadoop_bin=/usr/bin/hadoop
  199. # Defaults to $HADOOP_CONF_DIR or /etc/hadoop/conf
  200. ## hadoop_conf_dir=/etc/hadoop/conf
  201. # Configuration for MapReduce 0.20 JobTracker (MR1)
  202. # ------------------------------------------------------------------------
  203. [[mapred_clusters]]
  204. [[[default]]]
  205. # Enter the host on which you are running the Hadoop JobTracker
  206. jobtracker_host=localhost
  207. # The port where the JobTracker IPC listens on
  208. jobtracker_port=8021
  209. # Thrift plug-in port for the JobTracker
  210. ## thrift_port=9290
  211. # Whether to submit jobs to this cluster
  212. ## submit_to=True
  213. # Change this if your MapReduce cluster is Kerberos-secured
  214. ## security_enabled=false
  215. # Settings about this MR1 cluster. If you install MR1 in a
  216. # different location, you need to set the following.
  217. # Defaults to $HADOOP_MR1_HOME or /usr/lib/hadoop-0.20-mapreduce
  218. ## hadoop_mapred_home=/usr/lib/hadoop-0.20-mapreduce
  219. # Defaults to $HADOOP_BIN or /usr/bin/hadoop
  220. ## hadoop_bin=/usr/bin/hadoop
  221. # Defaults to $HADOOP_CONF_DIR or /etc/hadoop/conf
  222. ## hadoop_conf_dir=/etc/hadoop/conf
  223. # HA support by specifying multiple clusters
  224. # e.g.
  225. # [[[ha]]]
  226. # Enter the host on which you are running the failover JobTracker
  227. # jobtracker_host=localhost-ha
  228. # Configuration for Yarn
  229. # ------------------------------------------------------------------------
  230. [[yarn_clusters]]
  231. [[[default]]]
  232. # Enter the host on which you are running the ResourceManager
  233. resourcemanager_host=localhost
  234. # The port where the ResourceManager IPC listens on
  235. resourcemanager_port=8032
  236. # Whether to submit jobs to this cluster
  237. ## submit_to=False
  238. ## security_enabled=false
  239. # Settings about this MR2 cluster. If you install MR2 in a
  240. # different location, you need to set the following.
  241. # Defaults to $HADOOP_MR2_HOME or /usr/lib/hadoop-mapreduce
  242. ## hadoop_mapred_home=/usr/lib/hadoop-mapreduce
  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. # URL of the ResourceManager API
  248. ## resourcemanager_api_url=http://localhost:8088
  249. # URL of the ProxyServer API
  250. ## proxy_api_url=http://localhost:8088
  251. # URL of the HistoryServer API
  252. history_server_api_url=http://localhost:19888
  253. # URL of the NodeManager API
  254. node_manager_api_url=http://localhost:8042
  255. ###########################################################################
  256. # Settings to configure liboozie
  257. ###########################################################################
  258. [liboozie]
  259. # The URL where the Oozie service runs on. This is required in order for
  260. # users to submit jobs.
  261. ## oozie_url=http://localhost:11000/oozie
  262. # Requires FQDN in oozie_url if enabled
  263. ## security_enabled=false
  264. # Location on HDFS where the workflows/coordinator are deployed when submitted.
  265. ## remote_deployement_dir=/user/hue/oozie/deployments
  266. ###########################################################################
  267. # Settings to configure the Oozie app
  268. ###########################################################################
  269. [oozie]
  270. # Location on local FS where the examples are stored.
  271. ## local_data_dir=..../examples
  272. # Location on local FS where the data for the examples is stored.
  273. ## sample_data_dir=...thirdparty/sample_data
  274. # Location on HDFS where the oozie examples and workflows are stored.
  275. ## remote_data_dir=/user/hue/oozie/workspaces
  276. # Share workflows and coordinators information with all users. If set to false,
  277. # they will be visible only to the owner and administrators.
  278. ## share_jobs=True
  279. # Maximum of Oozie workflows or coodinators to retrieve in one API call.
  280. ## oozie_jobs_count=100
  281. ###########################################################################
  282. # Settings to configure Beeswax with Hive
  283. ###########################################################################
  284. [beeswax]
  285. # Host where Hive server Thrift daemon is running.
  286. # If Kerberos security is enabled, use fully-qualified domain name (FQDN).
  287. ## hive_server_host=<FQDN of Hive Server>
  288. # Port where HiveServer2 Thrift server runs on.
  289. ## hive_server_port=10000
  290. # Hive configuration directory, where hive-site.xml is located
  291. ## hive_conf_dir=/etc/hive/conf
  292. # Timeout in seconds for thrift calls to Hive service
  293. ## server_conn_timeout=120
  294. # Share saved queries with all users. If set to false, saved queries are
  295. # visible only to the owner and administrators.
  296. ## share_saved_queries=true
  297. # Path to HiveServer2 start script
  298. ## hive_server_bin=/usr/lib/hive/bin/hiveserver2
  299. # Set a LIMIT clause when browsing a partitioned table.
  300. # A positive value will be set as the LIMIT. If 0 or negative, do not set any limit.
  301. ## browse_partitioned_table_limit=250
  302. ###########################################################################
  303. # Settings to configure Pig
  304. ###########################################################################
  305. [pig]
  306. # Location of piggybank.jar on local filesystem.
  307. ## local_sample_dir=/usr/share/hue/apps/pig/examples
  308. # Location piggybank.jar will be copied to in HDFS.
  309. ## remote_data_dir=/user/hue/pig/examples
  310. ###########################################################################
  311. # Settings to configure Sqoop
  312. ###########################################################################
  313. [sqoop]
  314. # Sqoop server URL
  315. ## server_url=http://localhost:12000/sqoop
  316. ###########################################################################
  317. # Settings to configure Proxy
  318. ###########################################################################
  319. [proxy]
  320. # Comma-separated list of regular expressions,
  321. # which match 'host:port' of requested proxy target.
  322. ## whitelist=(localhost|127\.0\.0\.1):(50030|50070|50060|50075)
  323. # Comma-separated list of regular expressions,
  324. # which match any prefix of 'host:port/path' of requested proxy target.
  325. # This does not support matching GET parameters.
  326. ## blacklist=()
  327. ###########################################################################
  328. # Settings to configure Impala
  329. ###########################################################################
  330. [impala]
  331. # Host of the Impala Server (one of the Impalad)
  332. ## server_host=localhost
  333. # Port of the Impala Server
  334. ## server_port=21050
  335. # Kerberos principal
  336. ## impala_principal=impala/hostname.foo.com
  337. ###########################################################################
  338. # Settings to configure Hbase
  339. ###########################################################################
  340. [hbase]
  341. # Comma-separated list of HBase Thrift servers for
  342. # clusters in the format of '(name|host:port)'.
  343. ## hbase_clusters=(Cluster|localhost:9090)
  344. # Hard limit of rows or columns per row fetched before truncating.
  345. ## truncate_limit = 500
  346. ###########################################################################
  347. # Settings to configure Solr Search
  348. ###########################################################################
  349. [search]
  350. # URL of the Solr Server
  351. ## solr_url=http://localhost:8983/solr/
  352. # Requires FQDN in solr_url if enabled
  353. ## security_enabled=false
  354. ## Query sent when no term is entered
  355. ## empty_query=*:*
  356. ###########################################################################
  357. # Settings to configure Job Designer
  358. ###########################################################################
  359. [jobsub]
  360. # Location on HDFS where the jobsub examples and templates are stored.
  361. ## remote_data_dir=/user/hue/jobsub
  362. # Location on local FS where examples and template are stored.
  363. ## local_data_dir=..../data
  364. # Location on local FS where sample data is stored
  365. ## sample_data_dir=...thirdparty/sample_data
  366. ###########################################################################
  367. # Settings to configure Job Browser
  368. ###########################################################################
  369. [jobbrowser]
  370. # Share submitted jobs information with all users. If set to false,
  371. # submitted jobs are visible only to the owner and administrators.
  372. ## share_jobs=true
  373. ###########################################################################
  374. # Settings to configure the Shell application
  375. ###########################################################################
  376. [shell]
  377. # The shell_buffer_amount specifies the number of bytes of output per shell
  378. # that the Shell app will keep in memory. If not specified, it defaults to
  379. # 524288 (512 MiB).
  380. ## shell_buffer_amount=100
  381. # If you run Hue against a Hadoop cluster with Kerberos security enabled, the
  382. # Shell app needs to acquire delegation tokens for the subprocesses to work
  383. # correctly. These delegation tokens are stored as temporary files in some
  384. # directory. You can configure this directory here. If not specified, it
  385. # defaults to /tmp/hue_delegation_tokens.
  386. ## shell_delegation_token_dir=/tmp/hue_delegation_tokens
  387. [[ shelltypes ]]
  388. # Define and configure a new shell type "pig"
  389. # ------------------------------------------------------------------------
  390. [[[ pig ]]]
  391. nice_name = "Pig Shell (Grunt)"
  392. command = "/usr/bin/pig -l /dev/null"
  393. help = "The command-line interpreter for Pig"
  394. [[[[ environment ]]]]
  395. # You can specify environment variables for the Pig shell
  396. # in this section. Note that JAVA_HOME must be configured
  397. # for the Pig shell to run.
  398. [[[[[ JAVA_HOME ]]]]]
  399. value = "/usr/lib/jvm/java-6-sun"
  400. # Define and configure a new shell type "hbase"
  401. # ------------------------------------------------------------------------
  402. [[[ hbase ]]]
  403. nice_name = "HBase Shell"
  404. command = "/usr/bin/hbase shell"
  405. help = "The command-line HBase client interface."
  406. [[[[ environment ]]]]
  407. # You can configure environment variables for the HBase shell
  408. # in this section.
  409. # Define and configure a new shell type "Sqoop 2"
  410. # ------------------------------------------------------------------------
  411. [[[ sqoop2 ]]]
  412. nice_name = "Sqoop 2 Shell"
  413. command = "/usr/bin/sqoop2"
  414. help = "The command-line Sqoop 2 client."
  415. [[[[ environment ]]]]
  416. # You can configure environment variables for the Sqoop 2 shell
  417. # in this section.
  418. # Define and configure a new shell type "bash" for testing only
  419. # ------------------------------------------------------------------------
  420. [[[ bash ]]]
  421. nice_name = "Bash (Test only!!!)"
  422. command = "/bin/bash"
  423. help = "A shell that does not depend on Hadoop components"
  424. ###########################################################################
  425. # Settings for the User Admin application
  426. ###########################################################################
  427. [useradmin]
  428. # The name of the default user group that users will be a member of
  429. ## default_user_group=default