As far as I know integrationTest task used snappy-java:1.1.7.5 which doesn't contain native mac aarch64 snappyjava lib. Then the Snappy class can't be loaded. A quick fix is downloading the lib from snappy-java/libsnappyjava.dylib at m1 · xerial/snappy-java · GitHub <https://github.com/xerial/snappy-java/blob/m1/src/main/resources/org/xerial/snappy/native/Mac/aarch64/libsnappyjava.dylib>, place it somewhere, and set integrationTest task's systemProperty "org.xerial.snappy.lib.path".
Shall we comment it to others using mac m1? <russell.spit...@gmail.com> 于2021年7月6日周二 下午7:26写道: > Underlying error from my quick skim > > java.base/java.lang.Thread.run(Thread.java:829) > Caused by: java.lang.NoClassDefFoundError: Could not initialize class > org.xerial.snappy.Snappy > > > Which is usually caused by the temp directory being set as noexec > > > Sent from my iPhone > > On Jul 5, 2021, at 11:40 PM, Manong Karl <abc549...@gmail.com> wrote: > > > Don't know why gmail lost my files. So I uploaded them to google drive. > > https://drive.google.com/file/d/1GKCfH5-Ier9TM0vidd37eq299RVaocm_/view?usp=sharing > <https://drive.google.com/file/d/1GKCfH5-Ier9TM0vidd37eq299RVaocm_/view> > > https://drive.google.com/file/d/1V4Rg0fbwmeHBG_NjyLjLPo3BmjxWnFan/view?usp=sharing > > https://drive.google.com/file/d/1LWv6e-fu5rY30Vkq29wH6OzjcSexWdmE/view?usp=sharing > > > > Russell Spitzer <russell.spit...@gmail.com> 于2021年7月5日周一 下午11:07写道: > >> I do not see any logs attached >> >> On Sun, Jul 4, 2021 at 8:12 PM Manong Karl <abc549...@gmail.com> wrote: >> >>> And the info log: >>> >>> Manong Karl <abc549...@gmail.com> 于2021年7月5日周一 上午9:09写道: >>> >>>> Hello Ryan, I was running on >>>> commit cf0b94f69ec2659d59fcb4aa1be5865d2db03ffd. Have uploaded the full >>>> log, please help, Thank U. >>>> >>>> Ryan Blue <b...@tabular.io> 于2021年7月5日周一 上午2:40写道: >>>> >>>>> It isn't clear why those tests failed because there is no error >>>>> message or stack trace. Maybe you could find those and post those so we >>>>> can >>>>> take a look? >>>>> >>>>> Ryan >>>>> >>>>> On Sat, Jul 3, 2021 at 11:21 PM Manong Karl <abc549...@gmail.com> >>>>> wrote: >>>>> >>>>>> Hello Team: >>>>>> When I tried to build, command "./gradlew build -x test", it got an >>>>>> exception which I have uploaded. >>>>>> What did I miss? >>>>>> >>>>> >>>>> >>>>> -- >>>>> Ryan Blue >>>>> Tabular >>>>> >>>>