hue.ini 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  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 specifying the Desktop Database. For more info,
  54. # see http://docs.djangoproject.com/en/1.1/ref/settings/#database-engine
  55. # ------------------------------------------------------------------------
  56. [[database]]
  57. # Database engine is typically one of:
  58. # postgresql, mysql, sqlite3, or oracle
  59. #
  60. # Note that for sqlite3, 'name', below is a filename;
  61. # for other backends, it is the database name.
  62. ## engine=sqlite3
  63. ## host=
  64. ## port=
  65. ## user=
  66. ## password=
  67. ## name=
  68. # Configuration options for connecting to an external SMTP server
  69. # ------------------------------------------------------------------------
  70. [[smtp]]
  71. # The SMTP server information for email notification delivery
  72. host=localhost
  73. port=25
  74. user=
  75. password=
  76. # Whether to use a TLS (secure) connection when talking to the SMTP server
  77. tls=no
  78. # Default email address to use for various automated notification from Hue
  79. ## default_from_email=hue@localhost
  80. # Configuration options for Kerberos integration for secured Hadoop clusters
  81. # ------------------------------------------------------------------------
  82. [[kerberos]]
  83. # Path to Hue's Kerberos keytab file
  84. ## hue_keytab=
  85. # Kerberos principal name for Hue
  86. ## hue_principal=hue/hostname.foo.com
  87. ###########################################################################
  88. # Settings to configure your Hadoop cluster.
  89. ###########################################################################
  90. [hadoop]
  91. # If you installed Hadoop in a different location, you need to set
  92. # hadoop_home, in which bin/hadoop, the Hadoop wrapper script, is found.
  93. #
  94. # NOTE: Hue depends on Cloudera's Distribution of Hadoop version 3 (CDH3)
  95. # or later.
  96. hadoop_home=/usr/lib/hadoop-0.20
  97. # hadoop_conf_dir=/etc/hadoop/conf
  98. # Configuration for HDFS NameNode
  99. # ------------------------------------------------------------------------
  100. [[hdfs_clusters]]
  101. [[[default]]]
  102. # Enter the host and port on which you are running the Hadoop NameNode
  103. namenode_host=localhost
  104. hdfs_port=8020
  105. http_port=50070
  106. # Thrift plugin port for the name node
  107. ## thrift_port=10090
  108. # Use WebHdfs/HttpFs as the communication mechanism. To fallback to
  109. # using the Thrift plugin (used in Hue 1.x), this must be uncommented
  110. # and explicitly set to the empty value.
  111. ## webhdfs_url=
  112. # Configuration for MapReduce JobTracker
  113. # ------------------------------------------------------------------------
  114. [[mapred_clusters]]
  115. [[[default]]]
  116. # Enter the host on which you are running the Hadoop JobTracker
  117. jobtracker_host=localhost
  118. # Thrift plug-in port for the JobTracker
  119. ## thrift_port=9290