hue.ini 3.8 KB

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