hue.ini 4.2 KB

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