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 Plain View
Hive >> mail # user >> Incomplete example on page cwiki.apache.org/Hive/compressedstorage.html


Copy link to this message
-
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
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