pseudo-distributed.ini.tmpl 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391
  1. #####################################
  2. # DEVELOPMENT EDITION
  3. #####################################
  4. # Hue configuration file
  5. # ===================================
  6. #
  7. # For complete documentation about the contents of this file, run
  8. # $ <hue_root>/build/env/bin/hue config_help
  9. #
  10. # All .ini files under the current directory are treated equally. Their
  11. # contents are merged to form the Hue configuration, which can
  12. # can be viewed on the Hue at
  13. # http://<hue_host>:<port>/dump_config
  14. ###########################################################################
  15. # General configuration for core Desktop features (authentication, etc)
  16. ###########################################################################
  17. [desktop]
  18. send_dbug_messages=1
  19. # To show database transactions, set database_logging to 1
  20. database_logging=0
  21. # Set this to a random string, the longer the better.
  22. # This is used for secure hashing in the session store.
  23. secret_key=
  24. # Webserver listens on this address and port
  25. http_host=0.0.0.0
  26. http_port=8000
  27. # Time zone name
  28. time_zone=America/Los_Angeles
  29. # Turn off debug
  30. django_debug_mode=1
  31. # Turn off backtrace for server error
  32. http_500_debug_mode=1
  33. # Set to true to use CherryPy as the webserver, set to false
  34. # to use Spawning as the webserver. Defaults to Spawning if
  35. # key is not specified.
  36. ## use_cherrypy_server = false
  37. # Webserver runs as this user
  38. ## server_user=hue
  39. ## server_group=hue
  40. # If set to false, runcpserver will not actually start the web server.
  41. # Used if Apache is being used as a WSGI container.
  42. ## enable_server=yes
  43. # Number of threads used by the CherryPy web server
  44. ## cherrypy_server_threads=10
  45. # Filename of SSL Certificate
  46. ## ssl_certificate=
  47. # Filename of SSL RSA Private Key
  48. ## ssl_private_key=
  49. # Default encoding for site data
  50. ## default_site_encoding=utf-8
  51. # UI customizations
  52. # -------------------
  53. [[custom]]
  54. # Top banner HTML code
  55. ## banner_top_html=
  56. # Configuration options for user authentication into the web application
  57. # ------------------------------------------------------------------------
  58. [[auth]]
  59. # Authentication backend. Common settings are:
  60. # - django.contrib.auth.backends.ModelBackend (entirely Django backend)
  61. # - desktop.auth.backend.AllowAllBackend (allows everyone)
  62. # - desktop.auth.backend.AllowFirstUserDjangoBackend
  63. # (Default. Relies on Django and user manager, after the first login)
  64. # Configuration options for connecting to LDAP and Active Directory
  65. # -------------------------------------------------------------------
  66. [[ldap]]
  67. # The search base for finding users and groups
  68. ## base_dn="DC=mycompany,DC=com"
  69. # The NT domain to connect to (only for use with Active Directory)
  70. ## nt_domain=mycompany.com
  71. # URL of the LDAP server
  72. ## ldap_url=ldap://auth.mycompany.com
  73. # Path to certificate for authentication over TLS
  74. ## ldap_cert=
  75. # Distinguished name of the user to bind as -- not necessary if the LDAP server
  76. # supports anonymous searches
  77. ## bind_dn="CN=ServiceAccount,DC=mycompany,DC=com"
  78. # Password of the bind user -- not necessary if the LDAP server supports
  79. # anonymous searches
  80. ## bind_password=
  81. # Pattern for searching for usernames -- Use <username> for the parameter
  82. # For use when using LdapBackend for Hue authentication
  83. ## ldap_username_pattern="uid=<username>,ou=People,dc=mycompany,dc=com"
  84. [[[users]]]
  85. # Base filter for searching for users
  86. ## user_filter="objectclass=*"
  87. # The username attribute in the LDAP schema
  88. ## user_name_attr=sAMAccountName
  89. [[[groups]]]
  90. # Base filter for searching for groups
  91. ## group_filter="objectclass=*"
  92. # The username attribute in the LDAP schema
  93. ## group_name_attr=cn
  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. # Use WebHdfs/HttpFs as the communication mechanism. To fallback to
  141. # using the Thrift plugin (used in Hue 1.x), this must be uncommented
  142. # and explicitly set to the empty value.
  143. ## webhdfs_url=
  144. ## security_enabled=false
  145. # Settings about this HDFS cluster. If you install HDFS in a
  146. # different location, you need to set the following.
  147. # Defaults to $HADOOP_HDFS_HOME or /usr/lib/hadoop-hdfs
  148. ## hadoop_hdfs_home=/usr/lib/hadoop-hdfs
  149. # Defaults to $HADOOP_BIN or /usr/bin/hadoop
  150. ## hadoop_bin=/usr/bin/hadoop
  151. # Defaults to $HADOOP_CONF_DIR or /etc/hadoop/conf
  152. ## hadoop_conf_dir=/etc/hadoop/conf
  153. # Configuration for MapReduce JobTracker
  154. # ------------------------------------------------------------------------
  155. [[mapred_clusters]]
  156. [[[default]]]
  157. # Enter the host on which you are running the Hadoop JobTracker
  158. jobtracker_host=localhost
  159. # The port where the JobTracker IPC listens on
  160. jobtracker_port=8021
  161. # Thrift plug-in port for the JobTracker
  162. ## thrift_port=9290
  163. # Whether to submit jobs to this cluster
  164. ## submit_to=False
  165. ## security_enabled=false
  166. # Settings about this MR1 cluster. If you install MR1 in a
  167. # different location, you need to set the following.
  168. # Defaults to $HADOOP_MR1_HOME or /usr/lib/hadoop-0.20-mapreduce
  169. ## hadoop_mapred_home=/usr/lib/hadoop-0.20-mapreduce
  170. # Defaults to $HADOOP_BIN or /usr/bin/hadoop
  171. ## hadoop_bin=/usr/bin/hadoop
  172. # Defaults to $HADOOP_CONF_DIR or /etc/hadoop/conf
  173. ## hadoop_conf_dir=/etc/hadoop/conf
  174. # Configuration for Yarn
  175. # ------------------------------------------------------------------------
  176. [[yarn_clusters]]
  177. [[[default]]]
  178. # Enter the host on which you are running the ResourceManager
  179. resourcemanager_host=localhost
  180. # The port where the ResourceManager IPC listens on
  181. resourcemanager_port=8032
  182. # Whether to submit jobs to this cluster
  183. ## submit_to=False
  184. ## security_enabled=false
  185. # Settings about this MR2 cluster. If you install MR2 in a
  186. # different location, you need to set the following.
  187. # Defaults to $HADOOP_MR2_HOME or /usr/lib/hadoop-mapreduce
  188. ## hadoop_mapred_home=/usr/lib/hadoop-mapreduce
  189. # Defaults to $HADOOP_BIN or /usr/bin/hadoop
  190. ## hadoop_bin=/usr/bin/hadoop
  191. # Defaults to $HADOOP_CONF_DIR or /etc/hadoop/conf
  192. ## hadoop_conf_dir=/etc/hadoop/conf
  193. ###########################################################################
  194. # Settings to configure Oozie
  195. ###########################################################################
  196. [oozie]
  197. # The URL where the Oozie service runs on. This is required in order for
  198. # users to submit jobs.
  199. oozie_url=http://localhost:11000/oozie
  200. ## security_enabled=false
  201. ###########################################################################
  202. # Settings to configure Beeswax
  203. ###########################################################################
  204. [beeswax]
  205. # Configure the port the internal metastore daemon runs on. Used only if
  206. # hive.metastore.local is true.
  207. ## beeswax_meta_server_port=8003
  208. # Configure the port the beeswax thrift server runs on
  209. ## beeswax_server_port=8002
  210. # Hive home directory
  211. ## hive_home_dir=/usr/lib/hive
  212. # Hive configuration directory, where hive-site.xml is located
  213. ## hive_conf_dir=/etc/hive/conf
  214. # Timeout in seconds for thrift calls to beeswax service
  215. ## beeswax_server_conn_timeout=120
  216. # Timeout in seconds for thrift calls to the hive metastore
  217. ## metastore_conn_timeout=10
  218. # Maximum Java heapsize (in megabytes) used by Beeswax Server.
  219. # Note that the setting of HADOOP_HEAPSIZE in $HADOOP_CONF_DIR/hadoop-env.sh
  220. # may override this setting.
  221. ## beeswax_server_heapsize=1000
  222. # Share saved queries with all users. If set to false, saved queries are
  223. # visible only to the owner and administrators.
  224. ## share_saved_queries=true
  225. ###########################################################################
  226. # Settings to configure Job Browser.
  227. ###########################################################################
  228. [jobbrowser]
  229. # Share submitted jobs information with all users. If set to false,
  230. # submitted jobs are visible only to the owner and administrators.
  231. ## share_jobs=true
  232. ###########################################################################
  233. # Settings to configure the Shell application
  234. ###########################################################################
  235. [shell]
  236. # The shell_buffer_amount specifies the number of bytes of output per shell
  237. # that the Shell app will keep in memory. If not specified, it defaults to
  238. # 524288 (512 MiB).
  239. ## shell_buffer_amount=100
  240. # If you run Hue against a Hadoop cluster with Kerberos security enabled, the
  241. # Shell app needs to acquire delegation tokens for the subprocesses to work
  242. # correctly. These delegation tokens are stored as temporary files in some
  243. # directory. You can configure this directory here. If not specified, it
  244. # defaults to /tmp/hue_delegation_tokens.
  245. ## shell_delegation_token_dir=/tmp/hue_delegation_tokens
  246. [[ shelltypes ]]
  247. # Define and configure a new shell type "flume"
  248. # ------------------------------------------------------------------------
  249. [[[ flume ]]]
  250. nice_name = "Flume Shell"
  251. command = "/usr/bin/flume shell"
  252. help = "The command-line Flume client interface."
  253. [[[[ environment ]]]]
  254. # You can specify environment variables for the Flume shell
  255. # in this section.
  256. # Define and configure a new shell type "pig"
  257. # ------------------------------------------------------------------------
  258. [[[ pig ]]]
  259. nice_name = "Pig Shell (Grunt)"
  260. command = "/usr/bin/pig -l /dev/null"
  261. help = "The command-line interpreter for Pig"
  262. [[[[ environment ]]]]
  263. # You can specify environment variables for the Pig shell
  264. # in this section. Note that JAVA_HOME must be configured
  265. # for the Pig shell to run.
  266. [[[[[ JAVA_HOME ]]]]]
  267. value = "/usr/lib/jvm/java-6-sun"
  268. # Define and configure a new shell type "hbase"
  269. # ------------------------------------------------------------------------
  270. [[[ hbase ]]]
  271. nice_name = "HBase Shell"
  272. command = "/usr/bin/hbase shell"
  273. help = "The command-line HBase client interface."
  274. [[[[ environment ]]]]
  275. # You can configure environment variables for the HBase shell
  276. # in this section.
  277. # Define and configure a new shell type "bash" for testing only
  278. # ------------------------------------------------------------------------
  279. [[[ bash ]]]
  280. nice_name = "Bash (Test only!!!)"
  281. command = "/bin/bash"
  282. help = "A shell that does not depend on Hadoop components"
  283. ###########################################################################
  284. # Settings for the User Admin application
  285. ###########################################################################
  286. [useradmin]
  287. # The name of the default user group that users will be a member of
  288. ## default_user_group=default_group