You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Siyao Meng (Jira)" <ji...@apache.org> on 2025/08/15 19:40:00 UTC

[jira] [Created] (HDDS-13582) Fix CheckNative tool when checking rocks-tools

Siyao Meng created HDDS-13582:
---------------------------------

             Summary: Fix CheckNative tool when checking rocks-tools
                 Key: HDDS-13582
                 URL: https://issues.apache.org/jira/browse/HDDS-13582
             Project: Apache Ozone
          Issue Type: Bug
            Reporter: Siyao Meng
            Assignee: Siyao Meng


I was using checknative to check if the rocks-tools lib is properly loaded but it always gives me false.

I later found that it was because RocksDB library wasn't loaded before attempting to load rocks-tools lib (ozone_rocksdb_tools). ozone_rocksdb_tools has a dependency on RocksDB library. A symptom is that it throws UnsatisfiedLinkError when debugging TestCheckNative. (Interestingly running the CLI in dist doesn't give any detail, could be because of the log level.)

The solution is to load RocksDB lib before loading rocks-tools lib, just like what ManagedRawSSTFileReader#loadLibrary does.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org