From d3fa83a44b01c85f39bfb4deaf2972912ac61ca3 Mon Sep 17 00:00:00 2001 From: Bharat Viswanadham Date: Thu, 28 Jun 2018 09:21:56 -0700 Subject: [PATCH] HDFS-13705:The native ISA-L library loading failure should be made warning rather than an error message. Contributed by Shashikant Banerjee. --- .../org/apache/hadoop/io/erasurecode/ErasureCodeNative.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/erasurecode/ErasureCodeNative.java b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/erasurecode/ErasureCodeNative.java index 3d6867aec4..ec317eee4d 100644 --- a/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/erasurecode/ErasureCodeNative.java +++ b/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/io/erasurecode/ErasureCodeNative.java @@ -46,7 +46,7 @@ public final class ErasureCodeNative { loadLibrary(); } catch (Throwable t) { problem = "Loading ISA-L failed: " + t.getMessage(); - LOG.error("Loading ISA-L failed", t); + LOG.warn(problem); } LOADING_FAILURE_REASON = problem; }