hue.ini 12 KB

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