rocksdb icon indicating copy to clipboard operation
rocksdb copied to clipboard

Java JAR File Lags Platform Specific Libs

Open alexanderkiel opened this issue 4 months ago • 8 comments

The JAR without classifiers lacks the platform specific libs in v10.4.2 as can seen here at the file size of only 300 kB: https://repo1.maven.org/maven2/org/rocksdb/rocksdbjni/10.4.2/

Before v10.4.2 the JAR contained all platform specific libs. I like to have this fat JAR back.

alexanderkiel avatar Aug 21 '25 15:08 alexanderkiel

This was noted on https://github.com/facebook/rocksdb/issues/13840#issuecomment-3204450011, but it probably wasn't the most obvious place so good to have an open issue to track it.

Tenzer avatar Aug 22 '25 07:08 Tenzer

Please also see this comment: https://github.com/facebook/rocksdb/issues/13840#issuecomment-3240210732

If it's split, can we - at least - split the class files in a common jar? :-)

rzo1 avatar Aug 31 '25 16:08 rzo1

like to have this fat JAR back.

@alexanderkiel It looks like there was a problem in the latest RocksJava release process. I have has to migrate us to the new Maven Central portal for publishing, as you have to use the official Sonatype plugin for that, and our builds are produced by Make and not Maven, that makes things tricky. Please bare with us whilst we investigate and try and address this...

adamretter avatar Aug 31 '25 22:08 adamretter

If it's split, can we - at least - split the class files in a common jar? :-)

@rzo1 As your request is unrelated to this specific issue. Can you open a separate issue (Feature Request) please? In that issue please link to https://github.com/facebook/rocksdb/issues/13840#issuecomment-3159918275 and describe how you would like to see this work instead?

Thanks.

adamretter avatar Aug 31 '25 22:08 adamretter

@adamretter I think, that it actually is related to this issue. However, I have opened a new feature request for dropping the class files from the native lib jars if we want to keep the splitting: https://github.com/facebook/rocksdb/issues/13912

rzo1 avatar Sep 01 '25 11:09 rzo1

@adamretter Any update on this?

alexanderkiel avatar Oct 10 '25 11:10 alexanderkiel

I was quite surprised yesterday after upgrading from 9.x to latet 10.x and needed to downgrade to latest 10.2.x

dargiri avatar Nov 26 '25 09:11 dargiri

We have has some issues getting the latest RocksJava releases published. We are continuing to work on it and hope to have a resolution soon.

adamretter avatar Nov 26 '25 10:11 adamretter