HBASE-2100 [EC2] Adjust fs.file-max

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@897376 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andrew Kyle Purtell 2010-01-09 03:02:37 +00:00
parent 9039e79ec2
commit 66a38217fa
2 changed files with 5 additions and 1 deletions

View File

@ -151,6 +151,7 @@ Release 0.21.0 - Unreleased
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

View File

@ -18,7 +18,10 @@ HBASE_VERSION=`echo $HBASE_HOME | cut -d '-' -f 2`
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