Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-6843

loading lzo error when using coprocessor

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 0.94.1
    • 0.94.3, 0.95.0
    • Coprocessors
    • None
    • Reviewed

    Description

      After applying HBASE-6308,we found error followed

      2012-09-06 00:44:38,341 DEBUG org.apache.hadoop.hbase.coprocessor.CoprocessorClassLoader: Finding class: com.hadoop.compression.lzo.LzoCodec
      2012-09-06 00:44:38,351 ERROR com.hadoop.compression.lzo.GPLNativeCodeLoader: Could not load native gpl library
      java.lang.UnsatisfiedLinkError: Native Library /home/zhuzhuang/hbase/0.94.0-ali-1.0/lib/native/Linux-amd64-64/libgplcompression.so already loaded in another classloade
      r
      at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1772)
      at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1732)
      at java.lang.Runtime.loadLibrary0(Runtime.java:823)
      at java.lang.System.loadLibrary(System.java:1028)
      at com.hadoop.compression.lzo.GPLNativeCodeLoader.<clinit>(GPLNativeCodeLoader.java:32)
      at com.hadoop.compression.lzo.LzoCodec.<clinit>(LzoCodec.java:67)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
      at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
      at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
      at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
      at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:113)
      at org.apache.hadoop.hbase.io.hfile.Compression$Algorithm$1.getCodec(Compression.java:107)
      at org.apache.hadoop.hbase.io.hfile.Compression$Algorithm.getCompressor(Compression.java:243)
      at org.apache.hadoop.hbase.util.CompressionTest.testCompression(CompressionTest.java:85)
      at org.apache.hadoop.hbase.regionserver.HRegion.checkCompressionCodecs(HRegion.java:3793)
      at org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:3782)
      at org.apache.hadoop.hbase.regionserver.HRegion.openHRegion(HRegion.java:3732)
      at org.apache.hadoop.hbase.regionserver.handler.OpenRegionHandler.openRegion(OpenRegionHandler.java:332)
      at org.apache.hadoop.hbase.regionserver.handler.OpenRegionHandler.process(OpenRegionHandler.java:108)
      at org.apache.hadoop.hbase.executor.EventHandler.run(EventHandler.java:169)
      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:662)
      2012-09-06 00:44:38,355 DEBUG org.apache.hadoop.hbase.coprocessor.CoprocessorClassLoader: Skipping exempt class java.io.PrintWriter - delegating directly to parent
      2012-09-06 00:44:38,355 ERROR com.hadoop.compression.lzo.LzoCodec: Cannot load native-lzo without native-hadoop

      Attachments

        1. HBASE-6843-trunk.patch
          0.6 kB
          Zhou wenjian

        Activity

          People

            zhou wen jian Zhou wenjian
            zhou wen jian Zhou wenjian
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: