Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-3816 Erasure Coding
  3. HDDS-6478

EC: Fix ISA-l load hadoop native lib UnsatisfiedLinkError

    XMLWordPrintableJSON

Details

    Description

      2022-03-22 00:04:23,391 WARN rawcoder.ErasureCodeNative: Loading ISA-L failed: org.apache.ozone.erasurecode.rawcoder.ErasureCodeNative.loadLibrary()V
      java.lang.UnsatisfiedLinkError: org.apache.ozone.erasurecode.rawcoder.ErasureCodeNative.loadLibrary()V
              at org.apache.ozone.erasurecode.rawcoder.ErasureCodeNative.loadLibrary(Native Method)
              at org.apache.ozone.erasurecode.rawcoder.ErasureCodeNative.<clinit>(ErasureCodeNative.java:50)
              at org.apache.ozone.erasurecode.rawcoder.NativeRSRawEncoder.<clinit>(NativeRSRawEncoder.java:33)
              at org.apache.ozone.erasurecode.rawcoder.NativeRSRawErasureCoderFactory.createEncoder(NativeRSRawErasureCoderFactory.java:35)
              at org.apache.ozone.erasurecode.rawcoder.util.CodecUtil.createRawEncoderWithFallback(CodecUtil.java:67)
              at org.apache.hadoop.ozone.client.io.ECKeyOutputStream.<init>(ECKeyOutputStream.java:115)
              at org.apache.hadoop.ozone.client.io.ECKeyOutputStream$Builder.build(ECKeyOutputStream.java:673)
              at org.apache.hadoop.ozone.client.rpc.RpcClient.createOutputStream(RpcClient.java:1588)
              at org.apache.hadoop.ozone.client.rpc.RpcClient.createFile(RpcClient.java:1445)
              at org.apache.hadoop.ozone.client.OzoneBucket.createFile(OzoneBucket.java:916)
              at org.apache.hadoop.fs.ozone.BasicOzoneClientAdapterImpl.createFile(BasicOzoneClientAdapterImpl.java:240)
              at org.apache.hadoop.fs.ozone.BasicOzoneFileSystem.createOutputStream(BasicOzoneFileSystem.java:262)
              at org.apache.hadoop.fs.ozone.BasicOzoneFileSystem.create(BasicOzoneFileSystem.java:242)
              at org.apache.hadoop.fs.FileSystem.create(FileSystem.java:1118)
              at org.apache.hadoop.io.SequenceFile$Writer.<init>(SequenceFile.java:1168)
              at org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:285)
              at org.apache.hadoop.io.SequenceFile.createWriter(SequenceFile.java:332)
              at org.apache.hadoop.fs.TestDFSIO.createControlFile(TestDFSIO.java:316)
              at org.apache.hadoop.fs.TestDFSIO.run(TestDFSIO.java:868)
              at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:76)
              at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:90)
              at org.apache.hadoop.fs.TestDFSIO.main(TestDFSIO.java:743)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:71)
              at org.apache.hadoop.util.ProgramDriver.run(ProgramDriver.java:144)
              at org.apache.hadoop.test.MapredTestDriver.run(MapredTestDriver.java:139)
              at org.apache.hadoop.test.MapredTestDriver.main(MapredTestDriver.java:147)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:498)
              at org.apache.hadoop.util.RunJar.run(RunJar.java:323)
              at org.apache.hadoop.util.RunJar.main(RunJar.java:236)

      Attachments

        Issue Links

          Activity

            People

              cchenax cchenaxchen
              cchenaxchen chen chao
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: