You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by ap...@apache.org on 2010/01/09 04:02:38 UTC

svn commit: r897376 - in /hadoop/hbase/trunk: CHANGES.txt src/contrib/ec2/bin/hbase-ec2-init-remote.sh

Author: apurtell
Date: Sat Jan  9 03:02:37 2010
New Revision: 897376

URL: http://svn.apache.org/viewvc?rev=897376&view=rev
Log:
HBASE-2100 [EC2] Adjust fs.file-max

Modified:
    hadoop/hbase/trunk/CHANGES.txt
    hadoop/hbase/trunk/src/contrib/ec2/bin/hbase-ec2-init-remote.sh

Modified: hadoop/hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/CHANGES.txt?rev=897376&r1=897375&r2=897376&view=diff
==============================================================================
--- hadoop/hbase/trunk/CHANGES.txt (original)
+++ hadoop/hbase/trunk/CHANGES.txt Sat Jan  9 03:02:37 2010
@@ -151,6 +151,7 @@
    HBASE-2068  MetricsRate is missing "registry" parameter
                (Lars George and Gary Helmling via Stack)
    HBASE-2093  [stargate] RowSpec parse bug
+   HBASE-2100  [EC2] Adjust fs.file-max
 
   IMPROVEMENTS
    HBASE-1760  Cleanup TODOs in HTable

Modified: hadoop/hbase/trunk/src/contrib/ec2/bin/hbase-ec2-init-remote.sh
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/contrib/ec2/bin/hbase-ec2-init-remote.sh?rev=897376&r1=897375&r2=897376&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/contrib/ec2/bin/hbase-ec2-init-remote.sh (original)
+++ hadoop/hbase/trunk/src/contrib/ec2/bin/hbase-ec2-init-remote.sh Sat Jan  9 03:02:37 2010
@@ -18,7 +18,10 @@
 
 export USER="root"
 
-# up open file descriptor limits
+# up file-max
+sysctl -w fs.file-max=32768
+
+# up ulimits
 echo "root soft nofile 32768" >> /etc/security/limits.conf
 echo "root hard nofile 32768" >> /etc/security/limits.conf