-
Notifications
You must be signed in to change notification settings - Fork 715
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
InvalidClassException when using PretrainedPipeline #8440
Comments
Could you please try sparknlp.start(spark32=True)? |
@maziyarpanahi While I did miss that detail in the documentation, adding the argument to |
Thanks for the update. I am gonna look to see if that specific pretrained pipeline is compatible with pyspark 3.2 and get back to you. |
Tried two ways to start spark service and had same problem:
or:
Spark NLP version sparknlp.version(): 3.4.4 |
@maziyarpanahi Were you able to discover anything here? I did notice issue #8448 ... seems to be related. |
Hi, |
Description
I am trying to run some sample code on my Spark 3.2.1 deployment, and I get a
java.io.InvalidClassException
. The full error stack is below. The code I am trying to run is simply your example code:The
PretrainedPipeline
object gets to Stage 6 but crashes in the single task.The full error trace:
Expected Behavior
Not to crash.
Current Behavior
Crashing.
Possible Solution
Steps to Reproduce
Context
I am simply trying to get started with this package.
Your Environment
sparknlp.version()
:3.4.4
, I load it with packagespark-nlp-spark32_2.12:3.4.4
spark.version
:3.2.1
java -version
:openjdk version "1.8.0_332"
2.12.15
The text was updated successfully, but these errors were encountered: