Tsz-wo Sze created HDDS-11486:
---------------------------------

             Summary: SnapshotDiffManager prints ERROR for 
NativeLibraryNotLoadedException
                 Key: HDDS-11486
                 URL: https://issues.apache.org/jira/browse/HDDS-11486
             Project: Apache Ozone
          Issue Type: Improvement
          Components: Snapshot
            Reporter: Tsz-wo Sze


Not sure how important of the NativeLibraryNotLoadedException.  Keep seeing the 
following ERROR in the OM log.  If it is important, it should throw the 
exception out and stop OM; otherwise, change it to WARN and consider not 
printing the stack trace.
{code}
024-09-24 23:02:20,241 ERROR 
[main]-org.apache.hadoop.ozone.om.snapshot.SnapshotDiffManager: Native Library 
for raw sst file reading loading failed.
org.apache.hadoop.hdds.utils.NativeLibraryNotLoadedException: Unable to load 
library ozone_rocksdb_tools from both java.library.path & resource file 
libozone_rocksdb_tools.so from jar.
        at 
org.apache.hadoop.hdds.utils.db.managed.ManagedRawSSTFileReader.loadLibrary(ManagedRawSSTFileReader.java:40)
        at 
org.apache.hadoop.ozone.om.snapshot.SnapshotDiffManager.initNativeLibraryForEfficientDiff(SnapshotDiffManager.java:292)
        at 
org.apache.hadoop.ozone.om.snapshot.SnapshotDiffManager.<init>(SnapshotDiffManager.java:266)
        at 
org.apache.hadoop.ozone.om.OmSnapshotManager.<init>(OmSnapshotManager.java:278)
        at 
org.apache.hadoop.ozone.om.OzoneManager.instantiateServices(OzoneManager.java:847)
        at org.apache.hadoop.ozone.om.OzoneManager.<init>(OzoneManager.java:674)
        at 
org.apache.hadoop.ozone.om.OzoneManager.createOm(OzoneManager.java:759)
        at 
org.apache.hadoop.ozone.om.OzoneManagerStarter$OMStarterHelper.start(OzoneManagerStarter.java:189)
        at 
org.apache.hadoop.ozone.om.OzoneManagerStarter.startOm(OzoneManagerStarter.java:86)
        at 
org.apache.hadoop.ozone.om.OzoneManagerStarter.call(OzoneManagerStarter.java:74)
        at org.apache.hadoop.hdds.cli.GenericCli.call(GenericCli.java:38)
        ...
        at org.apache.hadoop.hdds.cli.GenericCli.run(GenericCli.java:91)
        at 
org.apache.hadoop.ozone.om.OzoneManagerStarter.main(OzoneManagerStarter.java:58)
{code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to