Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Hive, mail # user - hive.exec.compress.intermediate does not work?


Copy link to this message
-
RE: hive.exec.compress.intermediate does not work?
Steven Wong 2010-08-30, 18:53
Never mind. I cannot repro it.
From: Steven Wong [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 26, 2010 5:15 PM
To: [EMAIL PROTECTED]
Subject: hive.exec.compress.intermediate does not work?

I have a query that runs as 2 MR jobs:

set hive.exec.compress.intermediate = true;
set hive.exec.compress.output = true;
set mapred.output.compression.codec = org.apache.hadoop.io.compress.GzipCodec;
set mapred.output.compression.type = BLOCK;
from (
    select c
    from t1
    blah blah
) x
insert overwrite table t2
partition (part = 0)
select *
blah blah;

The output of the 1st MR job is not compressed, even though I've set hive.exec.compress.intermediate = true.

Am I missing something? Using Hive 0.5.

Thanks.
Steven