hue.ini 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329
  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. # If you installed Hadoop in a different location, you need to set
  124. # hadoop_home, in which bin/hadoop, the Hadoop wrapper script, is found.
  125. #
  126. # NOTE: Hue depends on Cloudera's Distribution of Hadoop version 4 (CDH4)
  127. # or later.
  128. hadoop_home=/usr/lib/hadoop
  129. hadoop_bin=/usr/bin/hadoop
  130. # hadoop_conf_dir=/etc/hadoop/conf
  131. # Configuration for HDFS NameNode
  132. # ------------------------------------------------------------------------
  133. [[hdfs_clusters]]
  134. [[[default]]]
  135. # Enter the filesystem uri
  136. fs_defaultfs=hdfs://localhost:8020
  137. # Change this if your HDFS cluster is Kerberos-secured
  138. ## security_enabled=false
  139. # Use WebHdfs/HttpFs as the communication mechanism. To fallback to
  140. # using the Thrift plugin (used in Hue 1.x), this must be uncommented
  141. # and explicitly set to the empty value.
  142. ## webhdfs_url=
  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=False
  155. # Change this if your MapReduce cluster is Kerberos-secured
  156. ## security_enabled=false
  157. # Configuration for Yarn (MR2)
  158. # ------------------------------------------------------------------------
  159. [[yarn_clusters]]
  160. [[[default]]]
  161. # Enter the host on which you are running the ResourceManager
  162. resourcemanager_host=localhost
  163. # The port where the ResourceManager IPC listens on
  164. resourcemanager_port=8032
  165. # Whether to submit jobs to this cluster
  166. ## submit_to=False
  167. ###########################################################################
  168. # Settings to configure Beeswax
  169. ###########################################################################
  170. [beeswax]
  171. # Configure the port the internal metastore daemon runs on. Used only if
  172. # hive.metastore.local is true.
  173. ## beeswax_meta_server_port=8003
  174. # Configure the port the beeswax thrift server runs on
  175. ## beeswax_server_port=8002
  176. # Hive home directory
  177. ## hive_home_dir=/usr/lib/hive
  178. # Hive configuration directory, where hive-site.xml is located
  179. ## hive_conf_dir=/etc/hive/conf
  180. # Timeout in seconds for thrift calls to beeswax service
  181. ## beeswax_server_conn_timeout=120
  182. # Timeout in seconds for thrift calls to the hive metastore
  183. ## metastore_conn_timeout=10
  184. # Maximum Java heapsize (in megabytes) used by Beeswax Server.
  185. # Note that the setting of HADOOP_HEAPSIZE in $HADOOP_CONF_DIR/hadoop-env.sh
  186. # may override this setting.
  187. ## beeswax_server_heapsize=1000
  188. ###########################################################################
  189. # Settings to configure Job Designer
  190. ###########################################################################
  191. [jobsub]
  192. # The URL where the Oozie service runs on. This is required in order for
  193. # users to submit jobs.
  194. oozie_url=http://localhost:11000/oozie
  195. ## security_enabled=false
  196. ###########################################################################
  197. # Settings to configure the Shell application
  198. ###########################################################################
  199. [shell]
  200. # The shell_buffer_amount specifies the number of bytes of output per shell
  201. # that the Shell app will keep in memory. If not specified, it defaults to
  202. # 524288 (512 MiB).
  203. ## shell_buffer_amount=100
  204. # If you run Hue against a Hadoop cluster with Kerberos security enabled, the
  205. # Shell app needs to acquire delegation tokens for the subprocesses to work
  206. # correctly. These delegation tokens are stored as temporary files in some
  207. # directory. You can configure this directory here. If not specified, it
  208. # defaults to /tmp/hue_delegation_tokens.
  209. ## shell_delegation_token_dir=/tmp/hue_delegation_tokens
  210. [[ shelltypes ]]
  211. # Define and configure a new shell type "flume"
  212. # ------------------------------------------------------------------------
  213. [[[ flume ]]]
  214. nice_name = "Flume Shell"
  215. command = "/usr/bin/flume shell"
  216. help = "The command-line Flume client interface."
  217. [[[[ environment ]]]]
  218. # You can specify environment variables for the Flume shell
  219. # in this section.
  220. # Define and configure a new shell type "pig"
  221. # ------------------------------------------------------------------------
  222. [[[ pig ]]]
  223. nice_name = "Pig Shell (Grunt)"
  224. command = "/usr/bin/pig -l /dev/null"
  225. help = "The command-line interpreter for Pig"
  226. [[[[ environment ]]]]
  227. # You can specify environment variables for the Pig shell
  228. # in this section. Note that JAVA_HOME must be configured
  229. # for the Pig shell to run.
  230. [[[[[ JAVA_HOME ]]]]]
  231. value = "/usr/lib/jvm/java-6-sun"
  232. # Define and configure a new shell type "hbase"
  233. # ------------------------------------------------------------------------
  234. [[[ hbase ]]]
  235. nice_name = "HBase Shell"
  236. command = "/usr/bin/hbase shell"
  237. help = "The command-line HBase client interface."
  238. [[[[ environment ]]]]
  239. # You can configure environment variables for the HBase shell
  240. # in this section.
  241. ###########################################################################
  242. # Settings for the User Admin application
  243. ###########################################################################
  244. [useradmin]
  245. # The name of the default user group that users will be a member of
  246. ## default_user_group=default_group