You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Shashikant Banerjee (JIRA)" <ji...@apache.org> on 2018/06/28 08:34:00 UTC

[jira] [Created] (HDFS-13705) The native ISA-L library loading failure should be made warning rather than an error message

Shashikant Banerjee created HDFS-13705:
------------------------------------------

             Summary: The native ISA-L library loading failure should be made warning rather than an error message
                 Key: HDFS-13705
                 URL: https://issues.apache.org/jira/browse/HDFS-13705
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: erasure-coding
            Reporter: Shashikant Banerjee
            Assignee: Shashikant Banerjee


If the loading of native ISA-L library fails, the java built in library is used for Erasure coding.

The loading failure should be logged as warning and the stack trace below should be suppressed.

 
{code:java}
 
18/06/26 10:22:34 ERROR erasurecode.ErasureCodeNative: Loading ISA-L failed java.lang.UnsatisfiedLinkError: Failed to load libisal.so.2 (libisal.so.2: cannot open shared object file: No such file or directory) at org.apache.hadoop.io.erasurecode.ErasureCodeNative.loadLibrary(Native Method) at org.apache.hadoop.io.erasurecode.ErasureCodeNative.<clinit>(ErasureCodeNative.java:46) at org.apache.hadoop.io.erasurecode.rawcoder.NativeRSRawEncoder.<clinit>(NativeRSRawEncoder.java:34) at org.apache.hadoop.io.erasurecode.rawcoder.NativeRSRawErasureCoderFactory.createEncoder(NativeRSRawErasureCoderFactory.java:35) at org.apache.hadoop.io.erasurecode.CodecUtil.createRawEncoderWithFallback(CodecUtil.java:177) at org.apache.hadoop.io.erasurecode.CodecUtil.createRawEncoder(CodecUtil.java:129) at org.apache.hadoop.hdfs.DFSStripedOutputStream.<init>(DFSStripedOutputStream.java:309) at org.apache.hadoop.hdfs.DFSOutputStream.newStreamForCreate(DFSOutputStream.java:307){code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org