Skip to content
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

[VL] Add libsodium.so to thirdparty lib for CentOS8 #4870

Merged
merged 1 commit into from
Mar 7, 2024

Conversation

kerwin-zk
Copy link
Contributor

What changes were proposed in this pull request?

The following exception will occur when testing a CentOS8 cluster that does not contain libsodium.so.

Exception in thread "main" java.lang.UnsatisfiedLinkError:/libvelox.so: libsodium.so.23: cannot open shared object file: No such file or directory
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1934)
        at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1817)
        at java.lang.Runtime.load0(Runtime.java:782)
        at java.lang.System.load(System.java:1100)
        at io.glutenproject.vectorized.JniLibLoader.loadFromPath0(JniLibLoader.java:89)
        at io.glutenproject.vectorized.JniLibLoader.access$300(JniLibLoader.java:57)
        at io.glutenproject.vectorized.JniLibLoader$JniLoadTransaction.loadWithLink(JniLibLoader.java:311)
        at io.glutenproject.vectorized.JniLibLoader$JniLoadTransaction.lambda$commit$1(JniLibLoader.java:261)
        at java.util.ArrayList.forEach(ArrayList.java:1259)
        at io.glutenproject.vectorized.JniLibLoader$JniLoadTransaction.commit(JniLibLoader.java:257)
        at io.glutenproject.vectorized.JniLibLoader.mapAndLoad(JniLibLoader.java:107)
        at io.glutenproject.backendsapi.velox.ListenerApiImpl.initialize(ListenerApiImpl.scala:166)
        at io.glutenproject.backendsapi.velox.ListenerApiImpl.onDriverStart(ListenerApiImpl.scala:49)
        at io.glutenproject.GlutenDriverPlugin.init(GlutenPlugin.scala:74)
        at org.apache.spark.internal.plugin.DriverPluginContainer.$anonfun$driverPlugins$1(PluginContainer.scala:53)

How was this patch tested?

CI

Copy link

github-actions bot commented Mar 6, 2024

Thanks for opening a pull request!

Could you open an issue for this pull request on Github Issues?

https://github.com/oap-project/gluten/issues

Then could you also rename commit message and pull request title in the following format?

[GLUTEN-${ISSUES_ID}][COMPONENT]feat/fix: ${detailed message}

See also:

Copy link
Contributor

@PHILO-HE PHILO-HE left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@PHILO-HE PHILO-HE merged commit 6e66d3e into apache:main Mar 7, 2024
18 checks passed
taiyang-li pushed a commit to bigo-sg/gluten that referenced this pull request Mar 25, 2024
taiyang-li pushed a commit to bigo-sg/gluten that referenced this pull request Oct 8, 2024
taiyang-li pushed a commit to bigo-sg/gluten that referenced this pull request Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants