hue.ini 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  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 Job Designer.
  169. ###########################################################################
  170. [jobsub]
  171. # The URL where the Oozie service runs on. This is required in order for
  172. # users to submit jobs.
  173. oozie_url=http://localhost:11000/oozie
  174. ## security_enabled=false
  175. ###########################################################################
  176. # Settings for the User Admin application
  177. ###########################################################################
  178. [useradmin]
  179. # The name of the default user group that users will be a member of
  180. ## default_user_group=default_group