From d47313487fec7092c8913ad5e6c5462642925b7e Mon Sep 17 00:00:00 2001 From: Chung En Lee Date: Sat, 12 Oct 2024 11:27:37 +0800 Subject: [PATCH] HDDS-11486. Reduce log level for NativeLibraryNotLoadedException in SnapshotDiffManager (#7290) --- .../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 db6d9b7b908..6393f12066c 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 @@ private boolean initNativeLibraryForEfficientDiff(final OzoneConfiguration conf) 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; } }