mingmxu opened a new issue, #10945: URL: https://github.com/apache/pinot/issues/10945
When running ` mvn clean install ` on latest code, some unit tests(from module `pinot-segment-spi`, `pinot-segment-local`, `pinot-core`, ...), fail with error message like below: ``` java.lang.UnsatisfiedLinkError: 'long xerial.larray.impl.LArrayNative.mmap(long, int, long, long)' at xerial.larray.impl.LArrayNative.mmap(Native Method) at xerial.larray.mmap.MMapBuffer.<init>(MMapBuffer.java:94) at org.apache.pinot.segment.spi.memory.PinotNativeOrderLBuffer.mapFile(PinotNativeOrderLBuffer.java:49) ``` ``` [ERROR] Failures: [ERROR] PinotDefaultByteBufferTest>PinotDataBufferTest.testConstructors:294 » UnsatisfiedLink [ERROR] PinotLArrayByteBufferTest>PinotDataBufferTest.testConstructors:294 » UnsatisfiedLink [ERROR] PinotLArrayByteBufferTest>PinotDataBufferInstanceTestBase.testMapFileBE:140 » UnsatisfiedLink [ERROR] PinotLArrayByteBufferTest>PinotDataBufferInstanceTestBase.testMapFileLE:153 » UnsatisfiedLink [ERROR] PinotLArrayByteBufferTest>PinotDataBufferInstanceTestBase.testMultipleClose:78 » UnsatisfiedLink [ERROR] PinotLArrayByteBufferTest>PinotDataBufferTest.testPinotNativeOrderBuffer:90->PinotDataBufferTest.testOrderBuffer:79 » UnsatisfiedLink [ERROR] PinotLArrayByteBufferTest>PinotDataBufferTest.testPinotNativeOrderBufferReadWriteFile:136->PinotDataBufferTest.testPinotBufferReadWriteFile:120 » UnsatisfiedLink [ERROR] PinotLArrayByteBufferTest>PinotDataBufferTest.testPinotNonNativeOrderBuffer:96->PinotDataBufferTest.testOrderBuffer:79 » UnsatisfiedLink [ERROR] PinotLArrayByteBufferTest>PinotDataBufferTest.testPinotNonNativeOrderBufferReadWriteFile:142->PinotDataBufferTest.testPinotBufferReadWriteFile:120 » UnsatisfiedLink [ERROR] PinotLArrayByteBufferTest>PinotDataBufferTest.testViewAndToDirectByteBuffer:205 » UnsatisfiedLink [INFO] [ERROR] Tests run: 128, Failures: 10, Errors: 0, Skipped: 0 ``` I suspect it's related with [xerial/larray](https://github.com/xerial/larray) which doesn't mention MacM1/2 support. Should create a `mac_m1_m2` profile to exclude these tests? ``` larray-mmap (MMapBuffer and LArray.mmap) uses JNI and is available for the following major CPU architectures: Windows (32/64-bit) Linux (i368, amd64 (Intel 64-bit), arm, armhf) Mac OSX (Intel 64bit) ``` cc @mayankshriv -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org For additional commands, e-mail: commits-h...@pinot.apache.org