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

[K8S] Setting spark.executor.extraClassPath=./oap-mllib-1.2.0.jar doesn't work #143

Open
xwu99 opened this issue Nov 13, 2021 · 0 comments

Comments

@xwu99
Copy link
Collaborator

xwu99 commented Nov 13, 2021

Setting spark.executor.extraClassPath=./oap-mllib-1.2.0.jar doesn't work, will cause incompatible class.
Need to change to absolut path spark.executor.extraClassPath=/upload/oap-mllib-1.2.0.jar

Exception in thread "main" org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 4.0 failed 1 times, most recent failure: Lost task 0.0 in stage 4.0 (TID 12) (172.17.0.5 executor 1): java.io.InvalidClassException: org.apache.spark.ml.clustering.KMeans; local class incompatible: stream classdesc serialVersionUID = -2012617696161676502, local class serialVersionUID = 5831058393139799759
at java.base/java.io.ObjectStreamClass.initNonProxy(Unknown Source)
at java.base/java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
at java.base/java.io.ObjectInputStream.readClassDesc(Unknown Source)
at java.base/java.io.ObjectInputStream.readClass(Unknown Source)
at java.base/java.io.ObjectInputStream.readObject0(Unknown Source)
at java.base/java.io.ObjectInputStream.defaultReadFields(Unknown Source)
at java.base/java.io.ObjectInputStream.readSerialData(Unknown Source)
at java.base/java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
at java.base/java.io.ObjectInputStream.readObject0(Unknown Source)
at java.base/java.io.ObjectInputStream.readArray(Unknown Source)
at java.base/java.io.ObjectInputStream.readObject0(Unknown Source)

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

No branches or pull requests

1 participant