hue.ini 14 KB

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