0

I am trying to use LZO compression in java. Is there a suitable library to do this. I tried lzo-java, however it seems to be really really slow as compared to gzip. What is the best way to do this?

Rohit
  • 79
  • 1
  • 6
  • try lz4.java. Not sure about performance related to gzip and lzo. – Vimal Bera Oct 08 '14 at 12:23
  • tried lz4 unfortunately our implementation of hadoop uses lzo or gzip and I am stuck with using one of the 2 algorithms. – Rohit Oct 10 '14 at 12:14
  • @Rohit- Have you ever tried lzo-java library? please see my question https://stackoverflow.com/questions/45397397/how-to-decompress-lzo-compressed-byte-array-in-java and give me your valuable suggestion. – ketan Jul 30 '17 at 07:45

1 Answers1

1

you can use LZO jar file and can be downloaded from given link http://www.java2s.com/Code/Jar/h/Downloadhadooplzo0414jar.htm

It will help you

Kiran Choudhary
  • 1,125
  • 7
  • 15