hue.ini 12 KB

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