[ https://issues.apache.org/jira/browse/HBASE-27872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Kyle Purtell updated HBASE-27872: ---------------------------------------- Description: 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 old. was: 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. > 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 > Priority: Minor > Fix For: 2.6.0, 3.0.0-alpha-4, 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 old. -- This message was sent by Atlassian Jira (v8.20.10#820010)