enable LZO compression for mapreduce

git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@892065 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Andrew Kyle Purtell 2009-12-18 01:28:56 +00:00
parent 3e11daa7c0
commit 54ffc46537
1 changed files with 12 additions and 0 deletions

View File

@ -55,6 +55,18 @@ cat > $HADOOP_HOME/conf/mapred-site.xml <<EOF
<name>mapred.job.tracker</name> <name>mapred.job.tracker</name>
<value>$MASTER_HOST:8021</value> <value>$MASTER_HOST:8021</value>
</property> </property>
<property>
<name>io.compression.codecs</name>
<value>org.apache.hadoop.io.compress.GzipCodec,org.apache.hadoop.io.compress.DefaultCodec,org.apache.hadoop.io.compress.BZip2Codec,com.hadoop.compression.lzo.LzoCodec,com.hadoop.compression.lzo.LzopCodec</value>
</property>
<property>
<name>io.compression.codec.lzo.class</name>
<value>com.hadoop.compression.lzo.LzoCodec</value>
</property>
<property>
<name>mapred.map.output.compression.codec</name>
<value>com.hadoop.compression.lzo.LzoCodec</value>
</property>
</configuration> </configuration>
EOF EOF