Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hadoop >> mail # user >> LZO with sequenceFile


Copy link to this message
-
Re: LZO with sequenceFile
Thanks. Does it mean LZO is not installed by default? How can I install LZO?

On Sat, Feb 25, 2012 at 6:27 PM, Shi Yu <[EMAIL PROTECTED]> wrote:

> Yes, it is supported by Hadoop sequence file. It is splittable
> by default. If you have installed and specified LZO correctly,
> use these:
>
>
> org.apache.hadoop.mapreduce.lib.output.SequenceFileOutputForma
> t.setCompressOutput(job,true);
>
> org.apache.hadoop.mapreduce.lib.output.SequenceFileOutputForma
> t.setOutputCompressorClass(job,com.hadoop.compression.lzo.LzoC
> odec.class);
>
> org.apache.hadoop.mapreduce.lib.output.SequenceFileOutputForma
> t.setOutputCompressionType(job,
> SequenceFile.CompressionType.BLOCK);
>
> job.setOutputFormatClass(org.apache.hadoop.mapreduce.lib.outpu
> t.SequenceFileOutputFormat.class);
>
>
> Shi
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB