You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hive.apache.org by Ruslan Al-Fakikh <me...@gmail.com> on 2012/09/18 05:22:16 UTC
Incomplete example on page cwiki.apache.org/Hive/compressedstorage.html
Hey guys,
I spent a lot of time to figure out that when I use the example from the page
cwiki.apache.org/Hive/compressedstorage.html:
SET hive.exec.compress.output=true;
SET io.seqfile.compression.type=BLOCK; -- NONE/RECORD/BLOCK (see below)
INSERT OVERWRITE TABLE raw_sequence SELECT * FROM raw;
the setting
SET io.seqfile.compression.type=BLOCK
actually doesn't work and I had to do
set mapred.output.compression.type=BLOCK;
because the default for mapred.output.compression.type was RECORD;
Please update the page
Ruslan