-
Notifications
You must be signed in to change notification settings - Fork 728
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Different result presented in os.arch between openjdk and openj9 on Mac #5493
Comments
This seems to be platform specific: on a Linux x86 system:
It's surprising to me that hotspot would use a different name on MacOSX for the same CPU architecture. |
Yes, this problem occurs only on Mac. This code seems to try to follow the behavior of OpenJDK. I am investigating why it does not work. |
To fix this we either need to
|
Thank you for your investigation and comments. |
@keithc-ca can you please open a PR to fix this for the 0.14.2 release. |
Done, see #5771. |
I realized that
os.arch
is different between openjdk and openj9 on Mac. On Linux, they return the sameos.arch
.This difference causes an JNI link error in Spark. This is because
zstd-jni
determines dll path by usingos.arch
as a part of the path name.The text was updated successfully, but these errors were encountered: