hue.ini 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. # Hue configuration file
  2. # ===================================
  3. #
  4. # For complete documentation about the contents of this file, run
  5. # $ bin/desktop 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. # Webserver runs as this user
  28. ## server_user=hue
  29. ## server_group=hue
  30. # If set to false, runcpserver will not actually start the web server.
  31. # Used if Apache is being used as a WSGI container.
  32. ## enable_cherrypy_server=yes
  33. # Number of threads used by the CherryPy web server
  34. ## cherrypy_server_threads=10
  35. # Filename of SSL Certificate
  36. ## ssl_certificate=
  37. # Filename of SSL RSA Private Key
  38. ## ssl_private_key=
  39. # Configuration options for user authentication into the web application
  40. # ------------------------------------------------------------------------
  41. [[auth]]
  42. # Authentication backend. Common settings are:
  43. # - django.contrib.auth.backends.ModelBackend (entirely Django backend)
  44. # - desktop.auth.backend.AllowAllBackend (allows everyone)
  45. # - desktop.auth.backend.AllowFirstUserDjangoBackend
  46. # (Default. Relies on Django and user manager, after the first login)
  47. #
  48. # Uncomment the next line in order to use PAM for authentication.
  49. # This will check usernames and passwords against your local system.
  50. # In this case, you may want to run Hue under SSL for security.
  51. ## backend=desktop.auth.backend.PamBackend
  52. # Configuration options for specifying the Desktop Database. For more info,
  53. # see http://docs.djangoproject.com/en/1.1/ref/settings/#database-engine
  54. # ------------------------------------------------------------------------
  55. [[database]]
  56. # Database engine, eg. postgresql, mysql, sqlite3, or oracle
  57. ## engine=sqlite3
  58. # Database host information
  59. ## host=
  60. ## port=
  61. ## user=
  62. ## password=
  63. # For sqlite3, filename; for other backends, the name of the database
  64. ## name=
  65. # Configuration options for connecting to an external SMTP server
  66. # ------------------------------------------------------------------------
  67. [[smtp]]
  68. # The SMTP server information for email notification delivery
  69. host=localhost
  70. port=25
  71. user=
  72. password=
  73. # Whether to use a TLS (secure) connection when talking to the SMTP server
  74. tls=no
  75. # Default email address to use for various automated notification from Hue
  76. ## default_from_email=hue@localhost
  77. ###########################################################################
  78. # Settings to configure your Hadoop cluster.
  79. ###########################################################################
  80. [hadoop]
  81. # If you installed Hadoop in a different location, you need to set hadoop_home,
  82. # in which bin/hadoop, the Hadoop wrapper script, is found.
  83. #
  84. # NOTE: Hue depends on Cloudera's Distribution of Hadoop version 2 (CDH2)
  85. # or later.
  86. hadoop_home=/usr/lib/hadoop-0.20
  87. # Configuration for HDFS NameNode
  88. # ------------------------------------------------------------------------
  89. [[hdfs_clusters]]
  90. [[[default]]]
  91. # Enter the host and port on which you are running the Hadoop NameNode
  92. namenode_host=localhost
  93. hdfs_port=8020
  94. # Configuration for MapReduce JobTracker
  95. # ------------------------------------------------------------------------
  96. [[mapred_clusters]]
  97. [[[default]]]
  98. # Enter the host on which you are running the Hadoop JobTracker
  99. jobtracker_host=localhost