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:
parent
3e11daa7c0
commit
54ffc46537
|
@ -55,6 +55,18 @@ cat > $HADOOP_HOME/conf/mapred-site.xml <<EOF
|
|||
<name>mapred.job.tracker</name>
|
||||
<value>$MASTER_HOST:8021</value>
|
||||
</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>
|
||||
EOF
|
||||
|
||||
|
|
Loading…
Reference in New Issue