| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- # Hue configuration file
- # ===================================
- #
- # For complete documentation about the contents of this file, run
- # $ bin/desktop config_help
- #
- # All .ini files under the current directory are treated equally. Their
- # contents are merged to form the Hue configuration, which can
- # can be viewed on the Hue at
- # http://<hue_host>:<port>/dump_config
- ###########################################################################
- # General configuration for core Desktop features (authentication, etc)
- ###########################################################################
- [desktop]
- # Set this to a random string, the longer the better.
- # This is used for secure hashing in the session store.
- secret_key=
- # Webserver listens on this address and port
- http_host=0.0.0.0
- http_port=8088
- # Time zone name
- time_zone=America/Los_Angeles
- # Turn off debug
- django_debug_mode=0
- # Turn off backtrace for server error
- http_500_debug_mode=0
- # Webserver runs as this user
- ## server_user=hue
- ## server_group=hue
- # If set to false, runcpserver will not actually start the web server.
- # Used if Apache is being used as a WSGI container.
- ## enable_cherrypy_server=yes
- # Number of threads used by the CherryPy web server
- ## cherrypy_server_threads=10
- # Filename of SSL Certificate
- ## ssl_certificate=
- # Filename of SSL RSA Private Key
- ## ssl_private_key=
- # Default encoding for site data
- ## default_site_encoding=utf-8
- # Configuration options for user authentication into the web application
- # ------------------------------------------------------------------------
- [[auth]]
- # Authentication backend. Common settings are:
- # - django.contrib.auth.backends.ModelBackend (entirely Django backend)
- # - desktop.auth.backend.AllowAllBackend (allows everyone)
- # - desktop.auth.backend.AllowFirstUserDjangoBackend
- # (Default. Relies on Django and user manager, after the first login)
- #
- # Uncomment the next line in order to use PAM for authentication.
- # This will check usernames and passwords against your local system.
- # In this case, you may want to run Hue under SSL for security.
- ## backend=desktop.auth.backend.PamBackend
- # Configuration options for specifying the Desktop Database. For more info,
- # see http://docs.djangoproject.com/en/1.1/ref/settings/#database-engine
- # ------------------------------------------------------------------------
- [[database]]
- # Database engine, eg. postgresql, mysql, sqlite3, or oracle
- ## engine=sqlite3
- # Database host information
- ## host=
- ## port=
- ## user=
- ## password=
- # For sqlite3, filename; for other backends, the name of the database
- ## name=
- # Configuration options for connecting to an external SMTP server
- # ------------------------------------------------------------------------
- [[smtp]]
- # The SMTP server information for email notification delivery
- host=localhost
- port=25
- user=
- password=
- # Whether to use a TLS (secure) connection when talking to the SMTP server
- tls=no
- # Default email address to use for various automated notification from Hue
- ## default_from_email=hue@localhost
- ###########################################################################
- # Settings to configure your Hadoop cluster.
- ###########################################################################
- [hadoop]
- # If you installed Hadoop in a different location, you need to set hadoop_home,
- # in which bin/hadoop, the Hadoop wrapper script, is found.
- #
- # NOTE: Hue depends on Cloudera's Distribution of Hadoop version 2 (CDH2)
- # or later.
- hadoop_home=/usr/lib/hadoop-0.20
- # Configuration for HDFS NameNode
- # ------------------------------------------------------------------------
- [[hdfs_clusters]]
- [[[default]]]
- # Enter the host and port on which you are running the Hadoop NameNode
- namenode_host=localhost
- hdfs_port=8020
- # Configuration for MapReduce JobTracker
- # ------------------------------------------------------------------------
- [[mapred_clusters]]
- [[[default]]]
- # Enter the host on which you are running the Hadoop JobTracker
- jobtracker_host=localhost
|