hue.ini 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490
  1. # Hue configuration file
  2. # ===================================
  3. #
  4. # For complete documentation about the contents of this file, run
  5. # $ <hue_root>/build/env/bin/hue config_help
  6. #
  7. # All .ini files under the current directory are treated equally. Their
  8. # contents are merged to form the Hue configuration, which can
  9. # can be viewed on the Hue at
  10. # http://<hue_host>:<port>/dump_config
  11. ###########################################################################
  12. # General configuration for core Desktop features (authentication, etc)
  13. ###########################################################################
  14. [desktop]
  15. # Set this to a random string, the longer the better.
  16. # This is used for secure hashing in the session store.
  17. secret_key=
  18. # Webserver listens on this address and port
  19. http_host=0.0.0.0
  20. http_port=8888
  21. # Time zone name
  22. time_zone=America/Los_Angeles
  23. # Turn off debug
  24. django_debug_mode=0
  25. # Turn off backtrace for server error
  26. http_500_debug_mode=0
  27. # Server email for internal error messages
  28. ## django_server_email='hue@localhost.localdomain'
  29. # Email backend
  30. ## django_email_backend=django.core.mail.backends.smtp.EmailBackend
  31. # Set to true to use CherryPy as the webserver, set to false
  32. # to use Spawning as the webserver. Defaults to Spawning if
  33. # key is not specified.
  34. ## use_cherrypy_server = false
  35. # Webserver runs as this user
  36. ## server_user=hue
  37. ## server_group=hue
  38. # If set to false, runcpserver will not actually start the web server.
  39. # Used if Apache is being used as a WSGI container.
  40. ## enable_server=yes
  41. # Number of threads used by the CherryPy web server
  42. ## cherrypy_server_threads=10
  43. # Filename of SSL Certificate
  44. ## ssl_certificate=
  45. # Filename of SSL RSA Private Key
  46. ## ssl_private_key=
  47. # Default encoding for site data
  48. ## default_site_encoding=utf-8
  49. # Administrators
  50. # ----------------
  51. [[django_admins]]
  52. ## [[[admin1]]]
  53. ## name=john
  54. ## email=john@doe.com
  55. # UI customizations
  56. # -------------------
  57. [[custom]]
  58. # Top banner HTML code
  59. ## banner_top_html=
  60. # Configuration options for user authentication into the web application
  61. # ------------------------------------------------------------------------
  62. [[auth]]
  63. # Authentication backend. Common settings are:
  64. # - django.contrib.auth.backends.ModelBackend (entirely Django backend)
  65. # - desktop.auth.backend.AllowAllBackend (allows everyone)
  66. # - desktop.auth.backend.AllowFirstUserDjangoBackend
  67. # (Default. Relies on Django and user manager, after the first login)
  68. # - desktop.auth.backend.LdapBackend
  69. # - desktop.auth.backend.PamBackend
  70. # - desktop.auth.backend.SpnegoDjangoBackend
  71. # - desktop.auth.backend.RemoteUserDjangoBackend
  72. ## backend=desktop.auth.backend.AllowFirstUserDjangoBackend
  73. ## pam_service=login
  74. # When using the desktop.auth.backend.RemoteUserDjangoBackend, this sets
  75. # the normalized name of the header that contains the remote user.
  76. # The HTTP header in the request is converted to a key by converting
  77. # all characters to uppercase, replacing any hyphens with underscores
  78. # and adding an HTTP_ prefix to the name. So, for example, if the header
  79. # is called Remote-User that would be configured as HTTP_REMOTE_USER
  80. #
  81. # Defaults to HTTP_REMOTE_USER
  82. ## remote_user_header=HTTP_REMOTE_USER
  83. # Configuration options for connecting to LDAP and Active Directory
  84. # -------------------------------------------------------------------
  85. [[ldap]]
  86. # The search base for finding users and groups
  87. ## base_dn="DC=mycompany,DC=com"
  88. # The NT domain to connect to (only for use with Active Directory)
  89. ## nt_domain=mycompany.com
  90. # URL of the LDAP server
  91. ## ldap_url=ldap://auth.mycompany.com
  92. # Path to certificate for authentication over TLS
  93. ## ldap_cert=
  94. # Distinguished name of the user to bind as -- not necessary if the LDAP server
  95. # supports anonymous searches
  96. ## bind_dn="CN=ServiceAccount,DC=mycompany,DC=com"
  97. # Password of the bind user -- not necessary if the LDAP server supports
  98. # anonymous searches
  99. ## bind_password=
  100. # Pattern for searching for usernames -- Use <username> for the parameter
  101. # For use when using LdapBackend for Hue authentication
  102. ## ldap_username_pattern="uid=<username>,ou=People,dc=mycompany,dc=com"
  103. [[[users]]]
  104. # Base filter for searching for users
  105. ## user_filter="objectclass=*"
  106. # The username attribute in the LDAP schema
  107. ## user_name_attr=sAMAccountName
  108. [[[groups]]]
  109. # Base filter for searching for groups
  110. ## group_filter="objectclass=*"
  111. # The group name attribute in the LDAP schema
  112. ## group_name_attr=cn
  113. # The attribute of the group object which identifies the members of the group
  114. ## group_member_attr=members
  115. # Configuration options for specifying the Desktop Database. For more info,
  116. # see http://docs.djangoproject.com/en/1.1/ref/settings/#database-engine
  117. # ------------------------------------------------------------------------
  118. [[database]]
  119. # Database engine is typically one of:
  120. # postgresql, mysql, sqlite3, or oracle
  121. #
  122. # Note that for sqlite3, 'name', below is a filename;
  123. # for other backends, it is the database name.
  124. ## engine=sqlite3
  125. ## host=
  126. ## port=
  127. ## user=
  128. ## password=
  129. ## name=
  130. # Configuration options for connecting to an external SMTP server
  131. # ------------------------------------------------------------------------
  132. [[smtp]]
  133. # The SMTP server information for email notification delivery
  134. host=localhost
  135. port=25
  136. user=
  137. password=
  138. # Whether to use a TLS (secure) connection when talking to the SMTP server
  139. tls=no
  140. # Default email address to use for various automated notification from Hue
  141. ## default_from_email=hue@localhost
  142. # Configuration options for Kerberos integration for secured Hadoop clusters
  143. # ------------------------------------------------------------------------
  144. [[kerberos]]
  145. # Path to Hue's Kerberos keytab file
  146. ## hue_keytab=
  147. # Kerberos principal name for Hue
  148. ## hue_principal=hue/hostname.foo.com
  149. # Path to kinit
  150. ## kinit_path=/path/to/kinit
  151. ###########################################################################
  152. # Settings to configure your Hadoop cluster.
  153. ###########################################################################
  154. [hadoop]
  155. # Configuration for HDFS NameNode
  156. # ------------------------------------------------------------------------
  157. [[hdfs_clusters]]
  158. [[[default]]]
  159. # Enter the filesystem uri
  160. fs_defaultfs=hdfs://localhost:8020
  161. # Change this if your HDFS cluster is Kerberos-secured
  162. ## security_enabled=false
  163. # Use WebHdfs/HttpFs as the communication mechanism.
  164. # This should be the web service root URL, such as
  165. # http://namenode:50070/webhdfs/v1
  166. ## webhdfs_url=
  167. # Settings about this HDFS cluster. If you install HDFS in a
  168. # different location, you need to set the following.
  169. # Defaults to $HADOOP_HDFS_HOME or /usr/lib/hadoop-hdfs
  170. ## hadoop_hdfs_home=/usr/lib/hadoop-hdfs
  171. # Defaults to $HADOOP_BIN or /usr/bin/hadoop
  172. ## hadoop_bin=/usr/bin/hadoop
  173. # Defaults to $HADOOP_CONF_DIR or /etc/hadoop/conf
  174. ## hadoop_conf_dir=/etc/hadoop/conf
  175. # Configuration for MapReduce 0.20 JobTracker (MR1)
  176. # ------------------------------------------------------------------------
  177. [[mapred_clusters]]
  178. [[[default]]]
  179. # Enter the host on which you are running the Hadoop JobTracker
  180. jobtracker_host=localhost
  181. # The port where the JobTracker IPC listens on
  182. jobtracker_port=8021
  183. # Thrift plug-in port for the JobTracker
  184. ## thrift_port=9290
  185. # Whether to submit jobs to this cluster
  186. ## submit_to=True
  187. # Change this if your MapReduce cluster is Kerberos-secured
  188. ## security_enabled=false
  189. # Settings about this MR1 cluster. If you install MR1 in a
  190. # different location, you need to set the following.
  191. # Defaults to $HADOOP_MR1_HOME or /usr/lib/hadoop-0.20-mapreduce
  192. ## hadoop_mapred_home=/usr/lib/hadoop-0.20-mapreduce
  193. # Defaults to $HADOOP_BIN or /usr/bin/hadoop
  194. ## hadoop_bin=/usr/bin/hadoop
  195. # Defaults to $HADOOP_CONF_DIR or /etc/hadoop/conf
  196. ## hadoop_conf_dir=/etc/hadoop/conf
  197. # Configuration for YARN (MR2)
  198. # ------------------------------------------------------------------------
  199. [[yarn_clusters]]
  200. [[[default]]]
  201. # Enter the host on which you are running the ResourceManager
  202. resourcemanager_host=localhost
  203. # The port where the ResourceManager IPC listens on
  204. resourcemanager_port=8032
  205. # Whether to submit jobs to this cluster
  206. ## submit_to=False
  207. # Change this if your YARN cluster is Kerberos-secured
  208. ## security_enabled=false
  209. # Settings about this MR2 cluster. If you install MR2 in a
  210. # different location, you need to set the following.
  211. # Defaults to $HADOOP_MR2_HOME or /usr/lib/hadoop-mapreduce
  212. ## hadoop_mapred_home=/usr/lib/hadoop-mapreduce
  213. # Defaults to $HADOOP_BIN or /usr/bin/hadoop
  214. ## hadoop_bin=/usr/bin/hadoop
  215. # Defaults to $HADOOP_CONF_DIR or /etc/hadoop/conf
  216. ## hadoop_conf_dir=/etc/hadoop/conf
  217. ###########################################################################
  218. # Settings to configure liboozie
  219. ###########################################################################
  220. [liboozie]
  221. # The URL where the Oozie service runs on. This is required in order for
  222. # users to submit jobs.
  223. ## oozie_url=http://localhost:11000/oozie
  224. ## security_enabled=false
  225. # Location on HDFS where the workflows/coordinator are deployed when submitted.
  226. ## remote_deployement_dir=/user/hue/oozie/deployments
  227. ###########################################################################
  228. # Settings to configure the Oozie app
  229. ###########################################################################
  230. [oozie]
  231. # Location on local FS where the examples are stored.
  232. ## local_data_dir=..../examples
  233. # Location on local FS where the data for the examples is stored.
  234. ## sample_data_dir=...thirdparty/sample_data
  235. # Location on HDFS where the oozie examples and workflows are stored.
  236. ## remote_data_dir=/user/hue/oozie/workspaces
  237. # Share workflows and coordinators information with all users. If set to false,
  238. # they will be visible only to the owner and administrators.
  239. ## share_jobs=True
  240. # Maximum of Oozie workflows or coodinators to retrieve in one API call.
  241. ## oozie_jobs_count=100
  242. ###########################################################################
  243. # Settings to configure Beeswax
  244. ###########################################################################
  245. [beeswax]
  246. # Deprecated! Will be removed in Hue 3
  247. # Multiple sections are now available in query_servers
  248. # Host where Beeswax internal metastore Thrift daemon is running
  249. ## beeswax_meta_server_host=localhost
  250. # Deprecated! Will be removed in Hue 3
  251. # Multiple sections are now available in query_servers
  252. # Configure the port the internal metastore daemon runs on. Used only if
  253. # hive.metastore.local is true.
  254. ## beeswax_meta_server_port=8003
  255. # Host where Beeswax internal metastore Thrift daemon is running
  256. ## beeswax_meta_server_host=localhost
  257. # Configure the port the internal metastore daemon runs on. Used only if
  258. # hive.metastore.local is true.
  259. ## beeswax_meta_server_port=8003
  260. # Hive home directory
  261. ## hive_home_dir=/usr/lib/hive
  262. # Hive configuration directory, where hive-site.xml is located
  263. ## hive_conf_dir=/etc/hive/conf
  264. # Timeout in seconds for thrift calls to beeswax service
  265. ## beeswax_server_conn_timeout=120
  266. # Timeout in seconds for thrift calls to the hive metastore
  267. ## metastore_conn_timeout=10
  268. # Maximum Java heapsize (in megabytes) used by Beeswax Server.
  269. # Note that the setting of HADOOP_HEAPSIZE in $HADOOP_CONF_DIR/hadoop-env.sh
  270. # may override this setting.
  271. ## beeswax_server_heapsize=1000
  272. # Share saved queries with all users. If set to false, saved queries are
  273. # visible only to the owner and administrators.
  274. ## share_saved_queries=true
  275. # The backend to contact for queries/metadata requests.
  276. # Choices are 'beeswax' (default), 'hiveserver2'.
  277. ## server_interface=beeswax
  278. # One entry for each Query Server that can execute some SQL queries.
  279. # This must be in the bottom of the [beewax] section.
  280. [[query_servers]]
  281. [[[default]]]
  282. # Host where the Query Server Thrift daemon is running
  283. ## server_host=localhost
  284. # Configure the port the Query Server Thrift server
  285. ## server_port=8002
  286. # If DDL queries are supported (e.g. DROP can be sent directly to this server)
  287. ## support_ddl=True
  288. ###########################################################################
  289. # Settings to configure Job Designer
  290. ###########################################################################
  291. [jobsub]
  292. # Location on HDFS where the jobsub examples and templates are stored.
  293. ## remote_data_dir=/user/hue/jobsub
  294. # Location on local FS where examples and template are stored.
  295. ## local_data_dir=..../data
  296. # Location on local FS where sample data is stored
  297. ## sample_data_dir=...thirdparty/sample_data
  298. ###########################################################################
  299. # Settings to configure Job Browser.
  300. ###########################################################################
  301. [jobbrowser]
  302. # Share submitted jobs information with all users. If set to false,
  303. # submitted jobs are visible only to the owner and administrators.
  304. ## share_jobs=true
  305. ###########################################################################
  306. # Settings to configure the Shell application
  307. ###########################################################################
  308. [shell]
  309. # The shell_buffer_amount specifies the number of bytes of output per shell
  310. # that the Shell app will keep in memory. If not specified, it defaults to
  311. # 524288 (512 MiB).
  312. ## shell_buffer_amount=100
  313. # If you run Hue against a Hadoop cluster with Kerberos security enabled, the
  314. # Shell app needs to acquire delegation tokens for the subprocesses to work
  315. # correctly. These delegation tokens are stored as temporary files in some
  316. # directory. You can configure this directory here. If not specified, it
  317. # defaults to /tmp/hue_delegation_tokens.
  318. ## shell_delegation_token_dir=/tmp/hue_delegation_tokens
  319. [[ shelltypes ]]
  320. # Define and configure a new shell type "flume"
  321. # ------------------------------------------------------------------------
  322. [[[ flume ]]]
  323. nice_name = "Flume Shell"
  324. command = "/usr/bin/flume shell"
  325. help = "The command-line Flume client interface."
  326. [[[[ environment ]]]]
  327. # You can specify environment variables for the Flume shell
  328. # in this section.
  329. # Define and configure a new shell type "pig"
  330. # ------------------------------------------------------------------------
  331. [[[ pig ]]]
  332. nice_name = "Pig Shell (Grunt)"
  333. command = "/usr/bin/pig -l /dev/null"
  334. help = "The command-line interpreter for Pig"
  335. [[[[ environment ]]]]
  336. # You can specify environment variables for the Pig shell
  337. # in this section. Note that JAVA_HOME must be configured
  338. # for the Pig shell to run.
  339. [[[[[ JAVA_HOME ]]]]]
  340. value = "/usr/lib/jvm/java-6-sun"
  341. # Define and configure a new shell type "sqoop2"
  342. # ------------------------------------------------------------------------
  343. [[[ sqoop2 ]]]
  344. nice_name = "Sqoop2 Shell"
  345. command = "/usr/bin/sqoop2"
  346. help = "The command-line Sqoop2 client."
  347. [[[[ environment ]]]]
  348. # You can configure environment variables for the Sqoop2 shell
  349. # in this section.
  350. # Define and configure a new shell type "hbase"
  351. # ------------------------------------------------------------------------
  352. [[[ hbase ]]]
  353. nice_name = "HBase Shell"
  354. command = "/usr/bin/hbase shell"
  355. help = "The command-line HBase client interface."
  356. [[[[ environment ]]]]
  357. # You can configure environment variables for the HBase shell
  358. # in this section.
  359. ###########################################################################
  360. # Settings for the User Admin application
  361. ###########################################################################
  362. [useradmin]
  363. # The name of the default user group that users will be a member of
  364. ## default_user_group=default