HDFS-13705:The native ISA-L library loading failure should be made warning rather than an error message. Contributed by Shashikant Banerjee.

This commit is contained in:
Bharat Viswanadham 2018-06-28 09:21:56 -07:00
parent 85627e2cba
commit d3fa83a44b

View File

@ -46,7 +46,7 @@ public final class ErasureCodeNative {
loadLibrary(); loadLibrary();
} catch (Throwable t) { } catch (Throwable t) {
problem = "Loading ISA-L failed: " + t.getMessage(); problem = "Loading ISA-L failed: " + t.getMessage();
LOG.error("Loading ISA-L failed", t); LOG.warn(problem);
} }
LOADING_FAILURE_REASON = problem; LOADING_FAILURE_REASON = problem;
} }