does anyone have either a command-line or python library that can decode a .lzo_deflate file? These file formats are used by Hadoop, for example.
Asked
Active
Viewed 1,523 times
0
-
2https://github.com/jd-boyd/python-lzo – Amber Sep 27 '12 at 02:05
-
You can also try the command line tool [lzop](http://www.lzop.org/) which should be available as a package in most Linux distributions. – Pedro Romano Sep 27 '12 at 03:08
-
if you need to copy data from hdfs, use hadoop dfs -text
– octo Sep 27 '12 at 14:04 -
1lzop command line tool doesn't seem to work on ".lzo_deflate files". Is there any other way to decompress it? – Sujai Sivasamy Feb 07 '19 at 06:17
2 Answers
1
Google for Python LZO, and check your linux distribution for lzop
:
Many Linux distributions (e.g. Debian, Ubuntu) will have this:
liblzo2-2 - data compression library
liblzo2-dev - data compression library (development files)
lzop - fast compression program
python-lzo - Python bindings for the LZO data compression library

Has QUIT--Anony-Mousse
- 76,138
- 12
- 138
- 194
0
For the windows' folks:
- Python Extension Packages for Windows - Christoph Gohlke : http://www.lfd.uci.edu/~gohlke/pythonlibs/#python-lzo

nergeia
- 894
- 13
- 20