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

xerial's snappy-java requires GLIBC >= 2.32

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.5.4
    • 2.6.0, 3.0.0-alpha-4, 2.5.5
    • None
    • None
    • Reviewed

    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.

      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'
      

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

      Attachments

        Issue Links

          Activity

            People

              apurtell Andrew Kyle Purtell
              apurtell Andrew Kyle Purtell
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: