Browse Source

[beeswax] Document partition browsing limit option

Romain Rigaux 12 years ago
parent
commit
90bbe8d98b
3 changed files with 10 additions and 3 deletions
  1. 4 0
      desktop/conf.dist/hue.ini
  2. 4 0
      desktop/conf/pseudo-distributed.ini.tmpl
  3. 2 3
      dist/README

+ 4 - 0
desktop/conf.dist/hue.ini

@@ -431,6 +431,10 @@
   # 7*24*60*60*1000 = 1 week
   ## beeswax_running_query_lifetime=604800000L
 
+  # Set a LIMIT clause when browsing a partitioned table.
+  # A positive value will be set as the LIMIT. If 0 or negative, do not set any limit.
+  ## browse_partitioned_table_limit=250
+
 
 ###########################################################################
 # Settings to configure Pig

+ 4 - 0
desktop/conf/pseudo-distributed.ini.tmpl

@@ -435,6 +435,10 @@
   # 7*24*60*60*1000 = 1 week
   ## beeswax_running_query_lifetime=604800000L
 
+  # Set a LIMIT clause when browsing a partitioned table.
+  # A positive value will be set as the LIMIT. If 0 or negative, do not set any limit.
+  ## browse_partitioned_table_limit=250
+
 
 ###########################################################################
 # Settings to configure Pig

+ 2 - 3
dist/README

@@ -14,12 +14,11 @@ Install
 ## Install in any directory, e.g. /home/hue, /usr/share, /home/my_user
 PREFIX=/usr/share make install
 
-
 ## If you don't have the permissions, you will need to 'sudo' the command and
 ## make sure that the 'hue' user has write access to the 'logs' directory and 'desktop/desktop.db'.
 
 ## Run!
-$ /usr/share/hue/build/env/bin/supervisor
+${PREFIX}/hue/build/env/bin/supervisor
 
 
 Configure Hadoop
@@ -27,7 +26,7 @@ Configure Hadoop
 
 ## Install JobTracker plug-in
 cd /usr/lib/hadoop-0.20-mapreduce/lib
-ln -s /usr/share/hue/desktop/libs/hadoop/java-lib/hue*jar
+ln -s ${PREFIX}/hue/desktop/libs/hadoop/java-lib/hue*jar
 
 ## Configure Hadoop
 Edit hdfs-site.xml: