更新时间:2023-11-17 12:58:13
我正在重新编译 Apache Spark ,我花了几天时间来解决这个问题。然后我找到了最简单的解决方案。您需要拥有的是默认JVM的本机lib路径中的libjnidispatch.so链接。
I am re-compiling Apache Spark for RPI2 and I've spent a couple of days to fix the issue. Then I've found the easiest possible solution. All you need to have is a libjnidispatch.so link in your default JVM's native lib path.
sudo -s ln -s /usr/lib/arm-linux-gnueabihf/jni/libjnidispatch.so /usr/lib/jvm/default-java/jre/lib/arm/libjnidispatch.so