hue.ini 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219
  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=8088
  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 username attribute in the LDAP schema
  82. ## group_name_attr=cn
  83. # Configuration options for specifying the Desktop Database. For more info,
  84. # see http://docs.djangoproject.com/en/1.1/ref/settings/#database-engine
  85. # ------------------------------------------------------------------------
  86. [[database]]
  87. # Database engine is typically one of:
  88. # postgresql, mysql, sqlite3, or oracle
  89. #
  90. # Note that for sqlite3, 'name', below is a filename;
  91. # for other backends, it is the database name.
  92. ## engine=sqlite3
  93. ## host=
  94. ## port=
  95. ## user=
  96. ## password=
  97. ## name=
  98. # Configuration options for connecting to an external SMTP server
  99. # ------------------------------------------------------------------------
  100. [[smtp]]
  101. # The SMTP server information for email notification delivery
  102. host=localhost
  103. port=25
  104. user=
  105. password=
  106. # Whether to use a TLS (secure) connection when talking to the SMTP server
  107. tls=no
  108. # Default email address to use for various automated notification from Hue
  109. ## default_from_email=hue@localhost
  110. # Configuration options for Kerberos integration for secured Hadoop clusters
  111. # ------------------------------------------------------------------------
  112. [[kerberos]]
  113. # Path to Hue's Kerberos keytab file
  114. ## hue_keytab=
  115. # Kerberos principal name for Hue
  116. ## hue_principal=hue/hostname.foo.com
  117. ###########################################################################
  118. # Settings to configure your Hadoop cluster.
  119. ###########################################################################
  120. [hadoop]
  121. # If you installed Hadoop in a different location, you need to set
  122. # hadoop_home, in which bin/hadoop, the Hadoop wrapper script, is found.
  123. #
  124. # NOTE: Hue depends on Cloudera's Distribution of Hadoop version 3 (CDH3)
  125. # or later.
  126. hadoop_home=/usr/lib/hadoop
  127. # hadoop_conf_dir=/etc/hadoop/conf
  128. # The URL where the Oozie service runs on. This is required in order for
  129. # users to submit jobs.
  130. oozie_url=http://localhost:11000/oozie
  131. # Configuration for HDFS NameNode
  132. # ------------------------------------------------------------------------
  133. [[hdfs_clusters]]
  134. [[[default]]]
  135. # Enter the host and port on which you are running the Hadoop NameNode
  136. namenode_host=localhost
  137. hdfs_port=8020
  138. http_port=50070
  139. # Thrift plugin port for the name node
  140. ## thrift_port=10090
  141. # Use WebHdfs/HttpFs as the communication mechanism. To fallback to
  142. # using the Thrift plugin (used in Hue 1.x), this must be uncommented
  143. # and explicitly set to the empty value.
  144. ## webhdfs_url=
  145. # Configuration for MapReduce JobTracker
  146. # ------------------------------------------------------------------------
  147. [[mapred_clusters]]
  148. [[[default]]]
  149. # Enter the host on which you are running the Hadoop JobTracker
  150. jobtracker_host=localhost
  151. # The port where the JobTracker IPC listens on
  152. jobtracker_port=8021
  153. # Thrift plug-in port for the JobTracker
  154. ## thrift_port=9290
  155. # Whether to submit jobs to this cluster
  156. ## submit_to=False
  157. # Configuration for Yarn
  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