hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Techy Teck <>
Subject decompress the file that has been compressed in LzoCodec format
Date Fri, 03 Aug 2012 01:55:17 GMT
I am using the below command to compress the output in *Block
Compression*and I have created my table as a

*set mapred.output.compress=true;*

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


So after the query is done, when I do *ls*, I see the below file. But when
I try to open this file using *hadoop fs -cat, *I see some weird characters
in that file, but I can also see my output too. So before viewing this
file, I need to decompress it in any format and then I need to do the cat?
If yes, then how should I decompress this file?


View raw message