-Re: extracting lzo compressed files
Manoj Babu 2012-10-21, 13:29
I am sorry. I can able to see the file size of compressed one but i am
trying to find what will be size of the file if it is not compressed and by
without extracting all set of files.
On Sun, Oct 21, 2012 at 3:28 PM, Manoj Babu <[EMAIL PROTECTED]> wrote:
> 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.
> On Sun, Oct 21, 2012 at 1:47 PM, Bejoy KS <[EMAIL PROTECTED]> 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.
>> Bejoy KS
>> Sent from handheld, please excuse typos.
>> *From: * Manoj Babu <[EMAIL PROTECTED]>
>> *Date: *Sun, 21 Oct 2012 13:10:55 +0530
>> *To: *<[EMAIL PROTECTED]>
>> *ReplyTo: * [EMAIL PROTECTED]
>> *Subject: *extracting lzo compressed files
>> 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
>> Thanks in Advance!