hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Manoj Babu <manoj...@gmail.com>
Subject Re: extracting lzo compressed files
Date Sun, 21 Oct 2012 09:58:40 GMT
Hi Bejoy,

'hadoop fs -ls' is not displaying the file size. is there any other way to
find the original file size.

Thanks in advance.

Cheers!
Manoj.



On Sun, Oct 21, 2012 at 1:47 PM, Bejoy KS <bejoy.hadoop@gmail.com> wrote:

> **
> Hi Manoj
>
> You can get the file in a readable format using
> hadoop fs -text <fileName>
>
> Provided you have lzo codec within the property 'io.compression.codecs' in
> core-site.xml
>
> A 'hadoop fs -ls' command would itself display the file size.
> Regards
> Bejoy KS
>
> Sent from handheld, please excuse typos.
> ------------------------------
> *From: * Manoj Babu <manoj444@gmail.com>
> *Date: *Sun, 21 Oct 2012 13:10:55 +0530
> *To: *<user@hadoop.apache.org>
> *ReplyTo: * user@hadoop.apache.org
> *Subject: *extracting lzo compressed files
>
> Hi,
>
> Is there any option to extract  the lzo compressed file in HDFS from
> command line and any option to find the original size of the compressed
> file.
>
> Thanks in Advance!
>
> Cheers!
> Manoj.
>
>

Mime
View raw message