hue.ini 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574
  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. # Enable or disable Django debug mode.
  24. django_debug_mode=false
  25. # Enable or disable backtrace for server error
  26. http_500_debug_mode=false
  27. # Server email for internal error messages
  28. ## django_server_email='hue@localhost.localdomain'
  29. # Email backend
  30. ## django_email_backend=django.core.mail.backends.smtp.EmailBackend
  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. # Help improve Hue with anonymous usage analytics.
  46. # Use Google Analytics to see how many times an application or specific section of an application is used, nothing more.
  47. ## collect_usage=true
  48. # Administrators
  49. # ----------------
  50. [[django_admins]]
  51. ## [[[admin1]]]
  52. ## name=john
  53. ## email=john@doe.com
  54. # UI customizations
  55. # -------------------
  56. [[custom]]
  57. # Top banner HTML code
  58. ## banner_top_html=
  59. # Configuration options for user authentication into the web application
  60. # ------------------------------------------------------------------------
  61. [[auth]]
  62. # Authentication backend. Common settings are:
  63. # - django.contrib.auth.backends.ModelBackend (entirely Django backend)
  64. # - desktop.auth.backend.AllowAllBackend (allows everyone)
  65. # - desktop.auth.backend.AllowFirstUserDjangoBackend
  66. # (Default. Relies on Django and user manager, after the first login)
  67. # - desktop.auth.backend.LdapBackend
  68. # - desktop.auth.backend.PamBackend
  69. # - desktop.auth.backend.SpnegoDjangoBackend
  70. # - desktop.auth.backend.RemoteUserDjangoBackend
  71. # - desktop.auth.backend.OAuthBackend
  72. ## backend=desktop.auth.backend.AllowFirstUserDjangoBackend
  73. # Backend to synchronize user-group membership with
  74. ## user_group_membership_synchronization_backend=desktop.auth.backend.LdapSynchronizationBackend
  75. ## pam_service=login
  76. # When using the desktop.auth.backend.RemoteUserDjangoBackend, this sets
  77. # the normalized name of the header that contains the remote user.
  78. # The HTTP header in the request is converted to a key by converting
  79. # all characters to uppercase, replacing any hyphens with underscores
  80. # and adding an HTTP_ prefix to the name. So, for example, if the header
  81. # is called Remote-User that would be configured as HTTP_REMOTE_USER
  82. #
  83. # Defaults to HTTP_REMOTE_USER
  84. ## remote_user_header=HTTP_REMOTE_USER
  85. # Configuration options for connecting to LDAP and Active Directory
  86. # -------------------------------------------------------------------
  87. [[ldap]]
  88. # The search base for finding users and groups
  89. ## base_dn="DC=mycompany,DC=com"
  90. # URL of the LDAP server
  91. ## ldap_url=ldap://auth.mycompany.com
  92. # A PEM-format file containing certificates for the CA's that
  93. # Hue will trust for authentication over TLS.
  94. # The certificate for the CA that signed the
  95. # LDAP server certificate must be included among these certificates.
  96. # See more here http://www.openldap.org/doc/admin24/tls.html.
  97. ## ldap_cert=
  98. ## use_start_tls=true
  99. # Distinguished name of the user to bind as -- not necessary if the LDAP server
  100. # supports anonymous searches
  101. ## bind_dn="CN=ServiceAccount,DC=mycompany,DC=com"
  102. # Password of the bind user -- not necessary if the LDAP server supports
  103. # anonymous searches
  104. ## bind_password=
  105. # Create users in Hue when they try to login with their LDAP credentials
  106. # For use when using LdapBackend for Hue authentication
  107. ## create_users_on_login = true
  108. [[[users]]]
  109. # Base filter for searching for users
  110. ## user_filter="objectclass=*"
  111. # The username attribute in the LDAP schema
  112. ## user_name_attr=sAMAccountName
  113. [[[groups]]]
  114. # Base filter for searching for groups
  115. ## group_filter="objectclass=*"
  116. # The group name attribute in the LDAP schema
  117. ## group_name_attr=cn
  118. # The attribute of the group object which identifies the members of the group
  119. ## group_member_attr=members
  120. # Configuration options for specifying the Desktop Database. For more info,
  121. # see http://docs.djangoproject.com/en/1.1/ref/settings/#database-engine
  122. # ------------------------------------------------------------------------
  123. [[database]]
  124. # Database engine is typically one of:
  125. # postgresql_psycopg2, mysql, or sqlite3
  126. #
  127. # Note that for sqlite3, 'name', below is a filename;
  128. # for other backends, it is the database name.
  129. ## engine=sqlite3
  130. ## host=
  131. ## port=
  132. ## user=
  133. ## password=
  134. ## name=desktop/desktop.db
  135. # Configuration options for connecting to an external SMTP server
  136. # ------------------------------------------------------------------------
  137. [[smtp]]
  138. # The SMTP server information for email notification delivery
  139. host=localhost
  140. port=25
  141. user=
  142. password=
  143. # Whether to use a TLS (secure) connection when talking to the SMTP server
  144. tls=no
  145. # Default email address to use for various automated notification from Hue
  146. ## default_from_email=hue@localhost
  147. # Configuration options for Kerberos integration for secured Hadoop clusters
  148. # ------------------------------------------------------------------------
  149. [[kerberos]]
  150. # Path to Hue's Kerberos keytab file
  151. ## hue_keytab=
  152. # Kerberos principal name for Hue
  153. ## hue_principal=hue/hostname.foo.com
  154. # Path to kinit
  155. ## kinit_path=/path/to/kinit
  156. # Configuration options for using OAuthBackend login
  157. # ------------------------------------------------------------------------
  158. [[oauth]]
  159. # The Consumer key of the application
  160. ## consumer_key=XXXXXXXXXXXXXXXXXXXXX
  161. # The Consumer secret of the application
  162. ## consumer_secret=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  163. # The Request token URL
  164. ## request_token_url=https://api.twitter.com/oauth/request_token
  165. # The Access token URL
  166. ## access_token_url=https://api.twitter.com/oauth/access_token
  167. # The Authorize URL
  168. ## authenticate_url=https://api.twitter.com/oauth/authorize
  169. ###########################################################################
  170. # Settings to configure your Hadoop cluster.
  171. ###########################################################################
  172. [hadoop]
  173. # Configuration for HDFS NameNode
  174. # ------------------------------------------------------------------------
  175. [[hdfs_clusters]]
  176. # HA support by using HttpFs
  177. [[[default]]]
  178. # Enter the filesystem uri
  179. fs_defaultfs=hdfs://localhost:8020
  180. # Change this if your HDFS cluster is Kerberos-secured
  181. ## security_enabled=false
  182. # Use WebHdfs/HttpFs as the communication mechanism.
  183. # This should be the web service root URL, such as
  184. # http://namenode:50070/webhdfs/v1
  185. ## webhdfs_url=
  186. # Settings about this HDFS cluster. If you install HDFS in a
  187. # different location, you need to set the following.
  188. # Defaults to $HADOOP_HDFS_HOME or /usr/lib/hadoop-hdfs
  189. ## hadoop_hdfs_home=/usr/lib/hadoop-hdfs
  190. # Defaults to $HADOOP_BIN or /usr/bin/hadoop
  191. ## hadoop_bin=/usr/bin/hadoop
  192. # Defaults to $HADOOP_CONF_DIR or /etc/hadoop/conf
  193. ## hadoop_conf_dir=/etc/hadoop/conf
  194. # Configuration for MapReduce 0.20 JobTracker (MR1)
  195. # ------------------------------------------------------------------------
  196. [[mapred_clusters]]
  197. [[[default]]]
  198. # Enter the host on which you are running the Hadoop JobTracker
  199. jobtracker_host=localhost
  200. # The port where the JobTracker IPC listens on
  201. jobtracker_port=8021
  202. # Thrift plug-in port for the JobTracker
  203. ## thrift_port=9290
  204. # Whether to submit jobs to this cluster
  205. ## submit_to=True
  206. # Change this if your MapReduce cluster is Kerberos-secured
  207. ## security_enabled=false
  208. # Settings about this MR1 cluster. If you install MR1 in a
  209. # different location, you need to set the following.
  210. # Defaults to $HADOOP_MR1_HOME or /usr/lib/hadoop-0.20-mapreduce
  211. ## hadoop_mapred_home=/usr/lib/hadoop-0.20-mapreduce
  212. # Defaults to $HADOOP_BIN or /usr/bin/hadoop
  213. ## hadoop_bin=/usr/bin/hadoop
  214. # Defaults to $HADOOP_CONF_DIR or /etc/hadoop/conf
  215. ## hadoop_conf_dir=/etc/hadoop/conf
  216. # HA support by specifying multiple clusters
  217. # e.g.
  218. # [[[ha]]]
  219. # Enter the host on which you are running the failover JobTracker
  220. # jobtracker_host=localhost-ha
  221. # Configuration for YARN (MR2)
  222. # ------------------------------------------------------------------------
  223. [[yarn_clusters]]
  224. [[[default]]]
  225. # Enter the host on which you are running the ResourceManager
  226. resourcemanager_host=localhost
  227. # The port where the ResourceManager IPC listens on
  228. resourcemanager_port=8032
  229. # Whether to submit jobs to this cluster
  230. ## submit_to=False
  231. # Change this if your YARN cluster is Kerberos-secured
  232. ## security_enabled=false
  233. # Settings about this MR2 cluster. If you install MR2 in a
  234. # different location, you need to set the following.
  235. # Defaults to $HADOOP_MR2_HOME or /usr/lib/hadoop-mapreduce
  236. ## hadoop_mapred_home=/usr/lib/hadoop-mapreduce
  237. # Defaults to $HADOOP_BIN or /usr/bin/hadoop
  238. ## hadoop_bin=/usr/bin/hadoop
  239. # Defaults to $HADOOP_CONF_DIR or /etc/hadoop/conf
  240. ## hadoop_conf_dir=/etc/hadoop/conf
  241. # URL of the ResourceManager API
  242. ## resourcemanager_api_url=http://localhost:8088
  243. # URL of the ProxyServer API
  244. ## proxy_api_url=http://localhost:8088
  245. # URL of the HistoryServer API
  246. history_server_api_url=http://localhost:19888
  247. # URL of the NodeManager API
  248. node_manager_api_url=http://localhost:8042
  249. ###########################################################################
  250. # Settings to configure liboozie
  251. ###########################################################################
  252. [liboozie]
  253. # The URL where the Oozie service runs on. This is required in order for
  254. # users to submit jobs.
  255. ## oozie_url=http://localhost:11000/oozie
  256. # Requires FQDN in oozie_url if enabled
  257. ## security_enabled=false
  258. # Location on HDFS where the workflows/coordinator are deployed when submitted.
  259. ## remote_deployement_dir=/user/hue/oozie/deployments
  260. ###########################################################################
  261. # Settings to configure the Oozie app
  262. ###########################################################################
  263. [oozie]
  264. # Location on local FS where the examples are stored.
  265. ## local_data_dir=..../examples
  266. # Location on local FS where the data for the examples is stored.
  267. ## sample_data_dir=...thirdparty/sample_data
  268. # Location on HDFS where the oozie examples and workflows are stored.
  269. ## remote_data_dir=/user/hue/oozie/workspaces
  270. # Share workflows and coordinators information with all users. If set to false,
  271. # they will be visible only to the owner and administrators.
  272. ## share_jobs=True
  273. # Maximum of Oozie workflows or coodinators to retrieve in one API call.
  274. ## oozie_jobs_count=100
  275. ###########################################################################
  276. # Settings to configure Beeswax with Hive
  277. ###########################################################################
  278. [beeswax]
  279. # Host where Hive server Thrift daemon is running.
  280. # If Kerberos security is enabled, use fully-qualified domain name (FQDN).
  281. ## hive_server_host=<FQDN of Hive Server>
  282. # Port where HiveServer2 Thrift server runs on.
  283. ## hive_server_port=10000
  284. # Hive configuration directory, where hive-site.xml is located
  285. ## hive_conf_dir=/etc/hive/conf
  286. # Timeout in seconds for thrift calls to Hive service
  287. ## server_conn_timeout=120
  288. # Share saved queries with all users. If set to false, saved queries are
  289. # visible only to the owner and administrators.
  290. ## share_saved_queries=true
  291. # Path to HiveServer2 start script
  292. ## hive_server_bin=/usr/lib/hive/bin/hiveserver2
  293. # Set a LIMIT clause when browsing a partitioned table.
  294. # A positive value will be set as the LIMIT. If 0 or negative, do not set any limit.
  295. ## browse_partitioned_table_limit=250
  296. ###########################################################################
  297. # Settings to configure Pig
  298. ###########################################################################
  299. [pig]
  300. # Location of piggybank.jar on local filesystem.
  301. ## local_sample_dir=/usr/share/hue/apps/pig/examples
  302. # Location piggybank.jar will be copied to in HDFS.
  303. ## remote_data_dir=/user/hue/pig/examples
  304. ###########################################################################
  305. # Settings to configure Sqoop
  306. ###########################################################################
  307. [sqoop]
  308. # Sqoop server URL
  309. ## server_url=http://localhost:12000/sqoop
  310. ###########################################################################
  311. # Settings to configure Proxy
  312. ###########################################################################
  313. [proxy]
  314. # Comma-separated list of regular expressions,
  315. # which match 'host:port' of requested proxy target.
  316. ## whitelist=(localhost|127\.0\.0\.1):(50030|50070|50060|50075)
  317. # Comma-separated list of regular expressions,
  318. # which match any prefix of 'host:port/path' of requested proxy target.
  319. # This does not support matching GET parameters.
  320. ## blacklist=()
  321. ###########################################################################
  322. # Settings to configure Impala
  323. ###########################################################################
  324. [impala]
  325. # Host of the Impala Server (one of the Impalad)
  326. ## server_host=localhost
  327. # Port of the Impala Server
  328. ## server_port=21050
  329. # Kerberos principal
  330. ## impala_principal=impala/hostname.foo.com
  331. ###########################################################################
  332. # Settings to configure Hbase
  333. ###########################################################################
  334. [hbase]
  335. # Comma-separated list of HBase Thrift servers for
  336. # clusters in the format of '(name|host:port)'.
  337. ## hbase_clusters=(Cluster|localhost:9090)
  338. # Hard limit of rows or columns per row fetched before truncating.
  339. ## truncate_limit = 500
  340. ###########################################################################
  341. # Settings to configure Solr Search
  342. ###########################################################################
  343. [search]
  344. # URL of the Solr Server
  345. ## solr_url=http://localhost:8983/solr/
  346. # Requires FQDN in solr_url if enabled
  347. ## security_enabled=false
  348. ## Query sent when no term is entered
  349. ## empty_query=*:*
  350. ###########################################################################
  351. # Settings to configure Job Designer
  352. ###########################################################################
  353. [jobsub]
  354. # Location on HDFS where the jobsub examples and templates are stored.
  355. ## remote_data_dir=/user/hue/jobsub
  356. # Location on local FS where examples and template are stored.
  357. ## local_data_dir=..../data
  358. # Location on local FS where sample data is stored
  359. ## sample_data_dir=...thirdparty/sample_data
  360. ###########################################################################
  361. # Settings to configure Job Browser.
  362. ###########################################################################
  363. [jobbrowser]
  364. # Share submitted jobs information with all users. If set to false,
  365. # submitted jobs are visible only to the owner and administrators.
  366. ## share_jobs=true
  367. ###########################################################################
  368. # Settings to configure the Shell application
  369. ###########################################################################
  370. [shell]
  371. # The shell_buffer_amount specifies the number of bytes of output per shell
  372. # that the Shell app will keep in memory. If not specified, it defaults to
  373. # 524288 (512 MiB).
  374. ## shell_buffer_amount=100
  375. # If you run Hue against a Hadoop cluster with Kerberos security enabled, the
  376. # Shell app needs to acquire delegation tokens for the subprocesses to work
  377. # correctly. These delegation tokens are stored as temporary files in some
  378. # directory. You can configure this directory here. If not specified, it
  379. # defaults to /tmp/hue_delegation_tokens.
  380. ## shell_delegation_token_dir=/tmp/hue_delegation_tokens
  381. [[ shelltypes ]]
  382. # Define and configure a new shell type "pig"
  383. # ------------------------------------------------------------------------
  384. [[[ pig ]]]
  385. nice_name = "Pig Shell (Grunt)"
  386. command = "/usr/bin/pig -l /dev/null"
  387. help = "The command-line interpreter for Pig"
  388. [[[[ environment ]]]]
  389. # You can specify environment variables for the Pig shell
  390. # in this section. Note that JAVA_HOME must be configured
  391. # for the Pig shell to run.
  392. [[[[[ JAVA_HOME ]]]]]
  393. value = "/usr/lib/jvm/java-6-sun"
  394. # Define and configure a new shell type "Sqoop 2"
  395. # ------------------------------------------------------------------------
  396. [[[ sqoop2 ]]]
  397. nice_name = "Sqoop 2 Shell"
  398. command = "/usr/bin/sqoop2"
  399. help = "The command-line Sqoop 2 client."
  400. [[[[ environment ]]]]
  401. # You can configure environment variables for the Sqoop 2 shell
  402. # in this section.
  403. # Define and configure a new shell type "hbase"
  404. # ------------------------------------------------------------------------
  405. [[[ hbase ]]]
  406. nice_name = "HBase Shell"
  407. command = "/usr/bin/hbase shell"
  408. help = "The command-line HBase client interface."
  409. [[[[ environment ]]]]
  410. # You can configure environment variables for the HBase shell
  411. # in this section.
  412. ###########################################################################
  413. # Settings for the User Admin application
  414. ###########################################################################
  415. [useradmin]
  416. # The name of the default user group that users will be a member of
  417. ## default_user_group=default