我存储表作为SequenceFile格式和我设置下面的命令,以启用序列对BLOCK压缩在描述在蜂房
set mapred.output.compress=true;
set mapred.output.compression.type=BLOCK;
set mapred.output.compression.codec=org.apache.hadoop.io.compress.LzoCodec;
扩展表但当我喜欢观看这 -
表describe extended lip_table
我得到的信息中有一个域名为compressed
,它被设置为false
,这意味着我的数据没有通过设置上述三个命令被压缩?
Detailed Table Information Table(tableName:lip_table, dbName:default, owner:uname,
createTime:1343931235, lastAccessTime:0, retention:0, sd:StorageDescriptor(cols:
[FieldSchema(name:buyer_id, type:bigint, comment:null), FieldSchema(name:total_chkout,
type:bigint, comment:null), FieldSchema(name:total_errpds, type:bigint, comment:null)],
location:hdfs://ares-nn/apps/hdmi/uname/lip-data,
inputFormat:org.apache.hadoop.mapred.SequenceFileInputFormat,
outputFormat:org.apache.hadoop.hive.ql.io.HiveSequenceFileOutputFormat,
**compressed:false**, numBuckets:-1, serdeInfo:SerDeInfo(name:null,
serializationLib:org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe, parameters:
{serialization.format= , field.delim=
尝试'描述'形容extended' – Idr 2012-08-12 19:24:51
我正在蜂巢0.6,它不支持'描述formatted'一个漂亮的打印formatted'。 :( – ferhan 2012-08-12 22:08:53