hue.ini 3.8 KB

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