Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
MapReduce, mail # user - extracting lzo compressed files


+
Manoj Babu 2012-10-21, 07:40
Copy link to this message
-
Re: extracting lzo compressed files
Bejoy KS 2012-10-21, 08:17
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.

-----Original Message-----
From: Manoj Babu <[EMAIL PROTECTED]>
Date: Sun, 21 Oct 2012 13:10:55
To: <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
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.

+
Manoj Babu 2012-10-21, 09:58
+
Manoj Babu 2012-10-21, 13:29
+
Manoj Babu 2012-10-21, 15:15