hue.ini 3.9 KB

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