Comments (16)
Ok Build Succeed...^_^
Just change ${java.home}/../include under the build.xml to your JNI include file directory
from lz4-java.
I'm glad it worked, I am not even sure someone else than me ever tried to build this project. :-) Does it work as expected?
from lz4-java.
Works Perfectly Well Done.
I Just Try'n to write some IndexInput And StreamInput for Lucene.
I 'll give you a touch once i done it.
from lz4-java.
Oh I'm very curious now! Are you trying to compress stored fields? For ElasticSearch, Solr or maybe a custom Lucene app?
from lz4-java.
Yeah For ElasticSearch can you help me out?
We can share and do it together if you would like ;)
from lz4-java.
I have taken a look at Elasticsearch compression a few weeks ago, it should be very easy to add LZ4 compression!
I can't help you until next week, feel free to ask me questions if you need help!
from lz4-java.
Ok i just wonder about the context and IndexInput class of LZ4 compress
from lz4-java.
Thank you + i'll keep in touch if i get to something ;)
from lz4-java.
Well Done.
from lz4-java.
Any news?
from lz4-java.
Hi, actually there a problem among JNI Compressor couple tests has been failed. i ve check out the safe-compressor and the results are not quite equal for python. hope you can share me the real compress instructions of LZ4 among you r library or share me some ideas about Compressor for elastic.
from lz4-java.
The problem with JNI is that is has a lot of overhead (bad for small inputs) and you need to build the shared library for every existing operating system and architecture. I think it would make more sense to use the Java Unsafe impl.
What do you mean by "the results are not quite equal for python"?
from lz4-java.
Ok, seems that's what was the problem i'm using Mac OSX maybe it's need to be debugged more on OSX i ve tried with safe java to compress some data and check uncompress on python wasn't match...i'll try to use the Unsafe impl. and give you feedback...
from lz4-java.
Maybe your python impl encodes the length at the beginning of the compressed stream. Are the last bytes more similar?
from lz4-java.
Yes...it's working i really appreciate that notice the library is quite well also i would to enhance the building of library instructions well paths, JNI and some fix...hope that you can share me a simple implementation of Compressor Component for Elastic Search...Great Job...Well done...
from lz4-java.
hope that you can share me a simple implementation of Compressor Component for Elastic Search...
There are already compressor components for other compression algorithms in ElasticSearch, have a look at the org.elasticsearch.common.compress package.
from lz4-java.
Related Issues (20)
- Error to decompress Lz4 that was compressed with lz4-net in C#
- Premature end of data while decompressing HOT 3
- CVE-2021-3520 Whether the vulnerability affects LZ4-Java HOT 2
- why lz aarch64 version is 1.9.1
- How to decopress large LZ4 files? HOT 1
- the value don't equal xxhsum,the value length is 15 HOT 2
- how to build 'arm64/liblz4-java.so' ? HOT 1
- Data larger than 4194304 Bytes is not decompressed correctly HOT 2
- lz4 legacy format support (typically for Linux Kernel compression) HOT 1
- LZ4 java with double buffering
- LZ4 decompression exception Malformed input at
- Exception in thread "main" net.jpountz.lz4.LZ4Exception: Malformed input at 16 HOT 3
- Add riscv support
- Stream ended prematurely when trying to readAllBytes
- Compile with frame pointers?
- Another release? HOT 5
- Enable support for riscv64 HOT 1
- JVM crashes at insertAndFindBestMatch
- Add more maintainers to `lz4-java` repo HOT 1
- add option to prefer java version when a library is hardcoded to LZ4Factory.fastestInstance
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lz4-java.