Bläddra i källkod

Re-ordering comments for database configuration.

When working with a new user, I found that the
interspersed database configs made it easy
to forget the 'name'.  Also noticed that hadoop_conf_dir
was hard to discover, and is useful sometimes.
Philip Zeyliger 14 år sedan
förälder
incheckning
981c5b0e21
1 ändrade filer med 6 tillägg och 5 borttagningar
  1. 6 5
      desktop/conf.dist/hue.ini

+ 6 - 5
desktop/conf.dist/hue.ini

@@ -68,16 +68,16 @@ http_500_debug_mode=0
 # see http://docs.djangoproject.com/en/1.1/ref/settings/#database-engine
 # ------------------------------------------------------------------------
 [[database]]
-
-# Database engine, eg. postgresql, mysql, sqlite3, or oracle
+# Database engine is typically one of:
+# postgresql, mysql, sqlite3, or oracle
+#
+# Note that for sqlite3, 'name', below is a filename;
+# for other backends, it is the database name.
 ## engine=sqlite3
-
-# Database host information
 ## host=
 ## port=
 ## user=
 ## password=
-# For sqlite3, filename; for other backends, the name of the database
 ## name=
 
 
@@ -120,6 +120,7 @@ tls=no
 # NOTE: Hue depends on Cloudera's Distribution of Hadoop version 2 (CDH2)
 # or later.
 hadoop_home=/usr/lib/hadoop-0.20
+# hadoop_conf_dir=/etc/hadoop/conf
 
 
 # Configuration for HDFS NameNode