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/05/12 02:45:39 UTC
svn commit: r943349 -
/hadoop/hbase/branches/0.20/src/contrib/ec2/bin/hbase-ec2-init-remote.sh
Author: apurtell
Date: Wed May 12 00:45:39 2010
New Revision: 943349
URL: http://svn.apache.org/viewvc?rev=943349&view=rev
Log:
[EC2] increase file limit to 64K and xceivers to 10K
Modified:
hadoop/hbase/branches/0.20/src/contrib/ec2/bin/hbase-ec2-init-remote.sh
Modified: hadoop/hbase/branches/0.20/src/contrib/ec2/bin/hbase-ec2-init-remote.sh
URL: http://svn.apache.org/viewvc/hadoop/hbase/branches/0.20/src/contrib/ec2/bin/hbase-ec2-init-remote.sh?rev=943349&r1=943348&r2=943349&view=diff
==============================================================================
--- hadoop/hbase/branches/0.20/src/contrib/ec2/bin/hbase-ec2-init-remote.sh (original)
+++ hadoop/hbase/branches/0.20/src/contrib/ec2/bin/hbase-ec2-init-remote.sh Wed May 12 00:45:39 2010
@@ -45,6 +45,7 @@ sysctl -w fs.file-max=65535
# up ulimits
echo "root soft nofile 65535" >> /etc/security/limits.conf
echo "root hard nofile 65535" >> /etc/security/limits.conf
+uname -n 65535
# up epoll limits; ok if this fails, only valid for kernels 2.6.27+
sysctl -w fs.epoll.max_user_instances=65535 > /dev/null 2>&1
@@ -154,7 +155,7 @@ cat > $HADOOP_HOME/conf/hdfs-site.xml <<
</property>
<property>
<name>dfs.datanode.max.xcievers</name>
- <value>4096</value>
+ <value>10000</value>
</property>
</configuration>
EOF