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/03/16 08:53:28 UTC
svn commit: r923607 -
/hadoop/hbase/trunk/contrib/ec2/bin/hbase-ec2-init-remote.sh
Author: apurtell
Date: Tue Mar 16 07:53:28 2010
New Revision: 923607
URL: http://svn.apache.org/viewvc?rev=923607&view=rev
Log:
set hbase log4j loglevel to INFO
Modified:
hadoop/hbase/trunk/contrib/ec2/bin/hbase-ec2-init-remote.sh
Modified: hadoop/hbase/trunk/contrib/ec2/bin/hbase-ec2-init-remote.sh
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/contrib/ec2/bin/hbase-ec2-init-remote.sh?rev=923607&r1=923606&r2=923607&view=diff
==============================================================================
--- hadoop/hbase/trunk/contrib/ec2/bin/hbase-ec2-init-remote.sh (original)
+++ hadoop/hbase/trunk/contrib/ec2/bin/hbase-ec2-init-remote.sh Tue Mar 16 07:53:28 2010
@@ -241,6 +241,9 @@ cat >> $HBASE_HOME/conf/hbase-env.sh <<E
export HBASE_MASTER_OPTS="-Xmx1000m -XX:+UseCompressedOops -XX:+UseConcMarkSweepGC -XX:+DoEscapeAnalysis -XX:+AggressiveOpts -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -Xloggc:/mnt/hbase/logs/hbase-master-gc.log"
export HBASE_REGIONSERVER_OPTS="-Xmx2000m -XX:+UseCompressedOops -XX:+UseConcMarkSweepGC -XX:CMSInitiatingOccupancyFraction=88 -XX:NewSize=64m -XX:MaxNewSize=64m -XX:+DoEscapeAnalysis -XX:+AggressiveOpts -verbose:gc -XX:+PrintGCDetails -XX:+PrintGCDateStamps -Xloggc:/mnt/hbase/logs/hbase-regionserver-gc.log"
EOF
+# Configure log4j
+sed -i -e 's/hadoop.hbase=DEBUG/hadoop.hbase=INFO/g' \
+ $HBASE_HOME/conf/log4j.properties
# Configure HBase for Ganglia
cat > $HBASE_HOME/conf/hadoop-metrics.properties <<EOF
dfs.class=org.apache.hadoop.metrics.ganglia.GangliaContext