hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Techy Teck <>
Subject Sequence File with Block Compression
Date Fri, 03 Aug 2012 23:55:55 GMT
I need to enable Sequence File with Block Compression data. Below is the
table which will be stored as SequenceFile.

*    create table lip_data_quality*
*    ( buyer_id bigint,*
*      total_chkout bigint,*
*      total_errpds bigint*
*     )*
*     partitioned by (dt string)*
*    row format delimited fields terminated by '\t'*
*    stored as sequencefile*
*    location '/apps/hdmi-technology/b_apdpds/lip-data-quality'*

And in the above table, I am getting data in Compressed Form like this by
enabling these commands-

*    set mapred.output.compress=true;*
*    set mapred.output.compression.type=BLOCK;*
*    set;*

So my question is that's all I need to enable BLOCK Compression with
Sequence File? Or is there anything else I need to do? I was following this

Any suggestion will be appreciated.

View raw message