[ 
https://issues.apache.org/jira/browse/HDFS-13705?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shashikant Banerjee updated HDFS-13705:
---------------------------------------
    Attachment: HDFS-13705.00.patch

> 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
>            Priority: Minor
>         Attachments: HDFS-13705.00.patch
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to