This is an automated email from the ASF dual-hosted git repository.

adoroszlai pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ozone.git


The following commit(s) were added to refs/heads/master by this push:
     new d47313487f HDDS-11486. Reduce log level for 
NativeLibraryNotLoadedException in SnapshotDiffManager (#7290)
d47313487f is described below

commit d47313487fec7092c8913ad5e6c5462642925b7e
Author: Chung En Lee <[email protected]>
AuthorDate: Sat Oct 12 11:27:37 2024 +0800

    HDDS-11486. Reduce log level for NativeLibraryNotLoadedException in 
SnapshotDiffManager (#7290)
---
 .../java/org/apache/hadoop/ozone/om/snapshot/SnapshotDiffManager.java  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git 
a/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/snapshot/SnapshotDiffManager.java
 
b/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/snapshot/SnapshotDiffManager.java
index db6d9b7b90..6393f12066 100644
--- 
a/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/snapshot/SnapshotDiffManager.java
+++ 
b/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/snapshot/SnapshotDiffManager.java
@@ -284,7 +284,8 @@ public class SnapshotDiffManager implements AutoCloseable {
       try {
         return ManagedRawSSTFileReader.loadLibrary();
       } catch (NativeLibraryNotLoadedException e) {
-        LOG.error("Native Library for raw sst file reading loading failed.", 
e);
+        LOG.warn("Native Library for raw sst file reading loading failed." +
+            " Fallback to performing a full diff instead. {}", e.getMessage());
         return false;
       }
     }


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

Reply via email to