Andrew Kyle Purtell created HBASE-27872:
-------------------------------------------

             Summary: xerial's snappy-java requires GLIBC >= 2.32
                 Key: HBASE-27872
                 URL: https://issues.apache.org/jira/browse/HBASE-27872
             Project: HBase
          Issue Type: Bug
    Affects Versions: 2.5.4
            Reporter: Andrew Kyle Purtell
            Assignee: Andrew Kyle Purtell
             Fix For: 2.5.5


We need to add a native library load check with a helpful error message if it 
fails to load due to a too old glibc or similar reason, and disable the unit 
test if the native library fails to load. 

{noformat}
TestHFileCompressionSnappy.test:54->HFileTestBase.doTest:72 ยป
UnsatisfiedLink 
/home/apurtell/src/hbase/hbase-compression/hbase-compression-snappy/target/snappy-1.1.9-6406bd03-44b4-4586-a91b-79d213c14062-libsnappyjava.so:
/lib/aarch64-linux-gnu/libc.so.6: version `GLIBC_2.32'
{noformat}

In this case a Debian test VM has "Debian GLIBC 2.31-13+deb11u6" installed, 
which is too load. 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to