You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When using Spark with Blaze, an UnsatisfiedLinkError occurs, preventing the required shared object (.so) file from being loaded. The error message indicates that the system architecture is incompatible, likely due to attempting to load an AMD64 .so file on an AARCH64 platform.
To Reproduce
Steps to reproduce the error:
Run Spark on an AARCH64 platform (e.g., ARM64 server) with Blaze acceleration enabled.
Execute a Spark task that uses Blaze operations.
Wait for Spark to attempt loading the Blaze .so file.
Observe the UnsatisfiedLinkError message, and the Spark task fails.
Expected behavior
The .so file required by Blaze should load successfully, and the Spark task should complete without errors.
Screenshots
Caused by: java.lang.UnsatisfiedLinkError: /tmp/libblaze-15119770424502447665.tmp: /tmp/libblaze-15119770424502447665.tmp: cannot open shared object file: No such file or directory (Possible cause: can't load AMD 64-bit .so on a AARCH64-bit platform)
at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2450)
at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2506)
at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2705)
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2635)
at java.base/java.lang.Runtime.load0(Runtime.java:768)
at java.base/java.lang.System.load(System.java:1854)
at org.apache.spark.sql.blaze.BlazeCallNativeWrapper$.loadLibBlaze(BlazeCallNativeWrapper.scala:202)
...
Desktop (please complete the following information):
OS: Ubuntu 20.04 (AARCH64 architecture)
Spark Version: 3.5.3
Blaze Version: v4.0.0
Java Version: OpenJDK 11
The text was updated successfully, but these errors were encountered:
Describe the bug
When using Spark with Blaze, an UnsatisfiedLinkError occurs, preventing the required shared object (.so) file from being loaded. The error message indicates that the system architecture is incompatible, likely due to attempting to load an AMD64 .so file on an AARCH64 platform.
To Reproduce
Steps to reproduce the error:
Expected behavior
The .so file required by Blaze should load successfully, and the Spark task should complete without errors.
Screenshots
Caused by: java.lang.UnsatisfiedLinkError: /tmp/libblaze-15119770424502447665.tmp: /tmp/libblaze-15119770424502447665.tmp: cannot open shared object file: No such file or directory (Possible cause: can't load AMD 64-bit .so on a AARCH64-bit platform)
at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2450)
at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2506)
at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2705)
at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2635)
at java.base/java.lang.Runtime.load0(Runtime.java:768)
at java.base/java.lang.System.load(System.java:1854)
at org.apache.spark.sql.blaze.BlazeCallNativeWrapper$.loadLibBlaze(BlazeCallNativeWrapper.scala:202)
...
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: