Open wilcoln opened 4 years ago
Your code looks fine at first glance. I'm not actively maintaining this project anymore -- it's largely in maintenance mode as most people have moved on to using better file formats like Parquet along with LZ4 or Snappy. I'd suggest doing some debugging of your own -- rebuild hadoop-lzo with logging at the point where the compressor is created and see if it's getting passed through properly, and follow the breadcrumbs from there.
Ok thanks
I want to compress some file already inside hdfs using different compression levels. To do so, I write the following program:
Compress.java
Then I execute run the following commands
The file
file.txt
is of size 1Gb. When I then check the size oftest1
andtest2
withhdfs dfs -du -s -h
, I get 594.6 M for each. This proves that the compression level is ignored.