pseudo-distributed.ini.tmpl 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472
  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. # Administrators
  56. # ----------------
  57. [[django_admins]]
  58. ## [[[admin1]]]
  59. ## name=john
  60. ## email=john@doe.com
  61. # UI customizations
  62. # -------------------
  63. [[custom]]
  64. # Top banner HTML code
  65. ## banner_top_html=
  66. # Configuration options for user authentication into the web application
  67. # ------------------------------------------------------------------------
  68. [[auth]]
  69. # Authentication backend. Common settings are:
  70. # - django.contrib.auth.backends.ModelBackend (entirely Django backend)
  71. # - desktop.auth.backend.AllowAllBackend (allows everyone)
  72. # - desktop.auth.backend.AllowFirstUserDjangoBackend
  73. # (Default. Relies on Django and user manager, after the first login)
  74. # - desktop.auth.backend.LdapBackend
  75. # - desktop.auth.backend.PamBackend
  76. ## backend=desktop.auth.backend.AllowFirstUserDjangoBackend
  77. ## pam_service=login
  78. # Configuration options for connecting to LDAP and Active Directory
  79. # -------------------------------------------------------------------
  80. [[ldap]]
  81. # The search base for finding users and groups
  82. ## base_dn="DC=mycompany,DC=com"
  83. # The NT domain to connect to (only for use with Active Directory)
  84. ## nt_domain=mycompany.com
  85. # URL of the LDAP server
  86. ## ldap_url=ldap://auth.mycompany.com
  87. # Path to certificate for authentication over TLS
  88. ## ldap_cert=
  89. # Distinguished name of the user to bind as -- not necessary if the LDAP server
  90. # supports anonymous searches
  91. ## bind_dn="CN=ServiceAccount,DC=mycompany,DC=com"
  92. # Password of the bind user -- not necessary if the LDAP server supports
  93. # anonymous searches
  94. ## bind_password=
  95. # Pattern for searching for usernames -- Use <username> for the parameter
  96. # For use when using LdapBackend for Hue authentication
  97. ## ldap_username_pattern="uid=<username>,ou=People,dc=mycompany,dc=com"
  98. [[[users]]]
  99. # Base filter for searching for users
  100. ## user_filter="objectclass=*"
  101. # The username attribute in the LDAP schema
  102. ## user_name_attr=sAMAccountName
  103. [[[groups]]]
  104. # Base filter for searching for groups
  105. ## group_filter="objectclass=*"
  106. # The username attribute in the LDAP schema
  107. ## group_name_attr=cn
  108. # Configuration options for specifying the Desktop Database. For more info,
  109. # see http://docs.djangoproject.com/en/1.1/ref/settings/#database-engine
  110. # ------------------------------------------------------------------------
  111. [[database]]
  112. # Database engine is typically one of:
  113. # postgresql, mysql, sqlite3, or oracle
  114. #
  115. # Note that for sqlite3, 'name', below is a filename;
  116. # for other backends, it is the database name.
  117. ## engine=sqlite3
  118. ## host=
  119. ## port=
  120. ## user=
  121. ## password=
  122. ## name=
  123. # Configuration options for connecting to an external SMTP server
  124. # ------------------------------------------------------------------------
  125. [[smtp]]
  126. # The SMTP server information for email notification delivery
  127. host=localhost
  128. port=25
  129. user=
  130. password=
  131. # Whether to use a TLS (secure) connection when talking to the SMTP server
  132. tls=no
  133. # Default email address to use for various automated notification from Hue
  134. ## default_from_email=hue@localhost
  135. # Configuration options for Kerberos integration for secured Hadoop clusters
  136. # ------------------------------------------------------------------------
  137. [[kerberos]]
  138. # Path to Hue's Kerberos keytab file
  139. ## hue_keytab=
  140. # Kerberos principal name for Hue
  141. ## hue_principal=hue/hostname.foo.com
  142. # Path to kinit
  143. ## kinit_path=/path/to/kinit
  144. ###########################################################################
  145. # Settings to configure your Hadoop cluster.
  146. ###########################################################################
  147. [hadoop]
  148. # Configuration for HDFS NameNode
  149. # ------------------------------------------------------------------------
  150. [[hdfs_clusters]]
  151. [[[default]]]
  152. # Enter the filesystem uri
  153. fs_defaultfs=hdfs://localhost:8020
  154. # Use WebHdfs/HttpFs as the communication mechanism. To fallback to
  155. # using the Thrift plugin (used in Hue 1.x), this must be uncommented
  156. # and explicitly set to the empty value.
  157. ## webhdfs_url=
  158. ## security_enabled=false
  159. # Settings about this HDFS cluster. If you install HDFS in a
  160. # different location, you need to set the following.
  161. # Defaults to $HADOOP_HDFS_HOME or /usr/lib/hadoop-hdfs
  162. ## hadoop_hdfs_home=/usr/lib/hadoop-hdfs
  163. # Defaults to $HADOOP_BIN or /usr/bin/hadoop
  164. ## hadoop_bin=/usr/bin/hadoop
  165. # Defaults to $HADOOP_CONF_DIR or /etc/hadoop/conf
  166. ## hadoop_conf_dir=/etc/hadoop/conf
  167. # Configuration for MapReduce JobTracker
  168. # ------------------------------------------------------------------------
  169. [[mapred_clusters]]
  170. [[[default]]]
  171. # Enter the host on which you are running the Hadoop JobTracker
  172. jobtracker_host=localhost
  173. # The port where the JobTracker IPC listens on
  174. jobtracker_port=8021
  175. # Thrift plug-in port for the JobTracker
  176. ## thrift_port=9290
  177. # Whether to submit jobs to this cluster
  178. ## submit_to=False
  179. ## security_enabled=false
  180. # Settings about this MR1 cluster. If you install MR1 in a
  181. # different location, you need to set the following.
  182. # Defaults to $HADOOP_MR1_HOME or /usr/lib/hadoop-0.20-mapreduce
  183. ## hadoop_mapred_home=/usr/lib/hadoop-0.20-mapreduce
  184. # Defaults to $HADOOP_BIN or /usr/bin/hadoop
  185. ## hadoop_bin=/usr/bin/hadoop
  186. # Defaults to $HADOOP_CONF_DIR or /etc/hadoop/conf
  187. ## hadoop_conf_dir=/etc/hadoop/conf
  188. # Configuration for Yarn
  189. # ------------------------------------------------------------------------
  190. [[yarn_clusters]]
  191. [[[default]]]
  192. # Enter the host on which you are running the ResourceManager
  193. resourcemanager_host=localhost
  194. # The port where the ResourceManager IPC listens on
  195. resourcemanager_port=8032
  196. # Whether to submit jobs to this cluster
  197. ## submit_to=False
  198. ## security_enabled=false
  199. # Settings about this MR2 cluster. If you install MR2 in a
  200. # different location, you need to set the following.
  201. # Defaults to $HADOOP_MR2_HOME or /usr/lib/hadoop-mapreduce
  202. ## hadoop_mapred_home=/usr/lib/hadoop-mapreduce
  203. # Defaults to $HADOOP_BIN or /usr/bin/hadoop
  204. ## hadoop_bin=/usr/bin/hadoop
  205. # Defaults to $HADOOP_CONF_DIR or /etc/hadoop/conf
  206. ## hadoop_conf_dir=/etc/hadoop/conf
  207. ###########################################################################
  208. # Settings to configure liboozie
  209. ###########################################################################
  210. [liboozie]
  211. # The URL where the Oozie service runs on. This is required in order for
  212. # users to submit jobs.
  213. ## oozie_url=http://localhost:11000/oozie
  214. ## security_enabled=false
  215. # Location on HDFS where the workflows/coordinator are deployed when submitted.
  216. ## remote_deployement_dir=/user/hue/oozie/deployments
  217. ###########################################################################
  218. # Settings to configure the Oozie app
  219. ###########################################################################
  220. [oozie]
  221. # Location on local FS where the examples are stored.
  222. ## local_data_dir=..../examples
  223. # Location on local FS where the data for the examples is stored.
  224. ## sample_data_dir=...thirdparty/sample_data
  225. # Location on HDFS where the oozie examples and workflows are stored.
  226. ## remote_data_dir=/user/hue/oozie/workspaces
  227. # Share workflows and coordinators information with all users. If set to false,
  228. # they will be visible only to the owner and administrators.
  229. ## share_jobs=True
  230. # Maximum of Oozie workflows or coodinators to retrieve in one API call.
  231. ## oozie_jobs_count=100
  232. ###########################################################################
  233. # Settings to configure Beeswax
  234. ###########################################################################
  235. [beeswax]
  236. # Deprecated! Will be removed in Hue 3
  237. # Multiple sections are now available in query_servers
  238. # Host where Beeswax internal metastore Thrift daemon is running
  239. ## beeswax_meta_server_host=localhost
  240. # Deprecated! Will be removed in Hue 3
  241. # Multiple sections are now available in query_servers
  242. # Configure the port the internal metastore daemon runs on. Used only if
  243. # hive.metastore.local is true.
  244. ## beeswax_meta_server_port=8003
  245. # Host where Beeswax internal metastore Thrift daemon is running
  246. ## beeswax_meta_server_host=localhost
  247. # Configure the port the internal metastore daemon runs on. Used only if
  248. # hive.metastore.local is true.
  249. ## beeswax_meta_server_port=8003
  250. # Hive home directory
  251. ## hive_home_dir=/usr/lib/hive
  252. # Hive configuration directory, where hive-site.xml is located
  253. ## hive_conf_dir=/etc/hive/conf
  254. # Timeout in seconds for thrift calls to beeswax service
  255. ## beeswax_server_conn_timeout=120
  256. # Timeout in seconds for thrift calls to the hive metastore
  257. ## metastore_conn_timeout=10
  258. # Maximum Java heapsize (in megabytes) used by Beeswax Server.
  259. # Note that the setting of HADOOP_HEAPSIZE in $HADOOP_CONF_DIR/hadoop-env.sh
  260. # may override this setting.
  261. ## beeswax_server_heapsize=1000
  262. # Share saved queries with all users. If set to false, saved queries are
  263. # visible only to the owner and administrators.
  264. ## share_saved_queries=true
  265. # One entry for each Query Server that can execute some SQL queries.
  266. # This must be in the bottom of the [beewax] section.
  267. [[query_servers]]
  268. [[[default]]]
  269. # Host where the Query Server Thrift daemon is running
  270. ## server_host=localhost
  271. # Configure the port the Query Server Thrift server
  272. ## server_port=8002
  273. # If DDL queries are supported (e.g. DROP can be sent directly to this server)
  274. ## support_ddl=True
  275. ###########################################################################
  276. # Settings to configure Job Designer
  277. ###########################################################################
  278. [jobsub]
  279. # Location on HDFS where the jobsub examples and templates are stored.
  280. ## remote_data_dir=/user/hue/jobsub
  281. # Location on local FS where examples and template are stored.
  282. ## local_data_dir=..../data
  283. # Location on local FS where sample data is stored
  284. ## sample_data_dir=...thirdparty/sample_data
  285. ###########################################################################
  286. # Settings to configure Job Browser
  287. ###########################################################################
  288. [jobbrowser]
  289. # Share submitted jobs information with all users. If set to false,
  290. # submitted jobs are visible only to the owner and administrators.
  291. ## share_jobs=true
  292. ###########################################################################
  293. # Settings to configure the Shell application
  294. ###########################################################################
  295. [shell]
  296. # The shell_buffer_amount specifies the number of bytes of output per shell
  297. # that the Shell app will keep in memory. If not specified, it defaults to
  298. # 524288 (512 MiB).
  299. ## shell_buffer_amount=100
  300. # If you run Hue against a Hadoop cluster with Kerberos security enabled, the
  301. # Shell app needs to acquire delegation tokens for the subprocesses to work
  302. # correctly. These delegation tokens are stored as temporary files in some
  303. # directory. You can configure this directory here. If not specified, it
  304. # defaults to /tmp/hue_delegation_tokens.
  305. ## shell_delegation_token_dir=/tmp/hue_delegation_tokens
  306. [[ shelltypes ]]
  307. # Define and configure a new shell type "flume"
  308. # ------------------------------------------------------------------------
  309. [[[ flume ]]]
  310. nice_name = "Flume Shell"
  311. command = "/usr/bin/flume shell"
  312. help = "The command-line Flume client interface."
  313. [[[[ environment ]]]]
  314. # You can specify environment variables for the Flume shell
  315. # in this section.
  316. # Define and configure a new shell type "pig"
  317. # ------------------------------------------------------------------------
  318. [[[ pig ]]]
  319. nice_name = "Pig Shell (Grunt)"
  320. command = "/usr/bin/pig -l /dev/null"
  321. help = "The command-line interpreter for Pig"
  322. [[[[ environment ]]]]
  323. # You can specify environment variables for the Pig shell
  324. # in this section. Note that JAVA_HOME must be configured
  325. # for the Pig shell to run.
  326. [[[[[ JAVA_HOME ]]]]]
  327. value = "/usr/lib/jvm/java-6-sun"
  328. # Define and configure a new shell type "hbase"
  329. # ------------------------------------------------------------------------
  330. [[[ hbase ]]]
  331. nice_name = "HBase Shell"
  332. command = "/usr/bin/hbase shell"
  333. help = "The command-line HBase client interface."
  334. [[[[ environment ]]]]
  335. # You can configure environment variables for the HBase shell
  336. # in this section.
  337. # Define and configure a new shell type "bash" for testing only
  338. # ------------------------------------------------------------------------
  339. [[[ bash ]]]
  340. nice_name = "Bash (Test only!!!)"
  341. command = "/bin/bash"
  342. help = "A shell that does not depend on Hadoop components"
  343. ###########################################################################
  344. # Settings for the User Admin application
  345. ###########################################################################
  346. [useradmin]
  347. # The name of the default user group that users will be a member of
  348. ## default_user_group=default