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

Issue while installing spark-nlp in EMR: java.lang.UnsatisfiedLinkError: no jnitensorflow in java.library.path #14310

Open
1 task done
slice-niharika opened this issue Jun 4, 2024 · 1 comment
Assignees

Comments

@slice-niharika
Copy link

slice-niharika commented Jun 4, 2024

Is there an existing issue for this?

  • I have searched the existing issues and did not find a match.

Who can help?

Anyone who has used Spark-NLP in EMR

What are you working on?

I am trying to run it on sample data, just getting started with it.

Current Behavior

Having dependency issue. I do not have a docker set up. Just needed to understand where and why is it failing?

Expected Behavior

Any specific version combination of tensorflow and spark-nlp that might help. I have used all the versions as per doc.

Steps To Reproduce

PS: I had tensorflow and spark-nlp installed in the cluster

%%configure -f
{
"conf": {
"spark.yarn.stagingDir": "hdfs:///tmp",
"spark.yarn.preserve.staging.files": "true",
"spark.kryoserializer.buffer.max": "2000M",
"spark.serializer": "org.apache.spark.serializer.KryoSerializer",
"spark.driver.maxResultSize": "0",
"spark.jars.packages": "com.johnsnowlabs.nlp:spark-nlp_2.12:5.3.3"
}
}

import sparknlp
from sparknlp.pretrained import PretrainedPipeline
from sparknlp.annotator import *
from sparknlp.base import *

spark = sparknlp.start()
pipeline = PretrainedPipeline("explain_document_dl", lang="en")

Spark NLP version and Apache Spark

spark version - 3.3.0
spark-nlp version - 5.3.3
EMR version - 6.9.0

Type of Spark Application

spark-shell

Java Version

No response

Java Home Directory

No response

Setup and installation

No response

Operating System and Version

No response

Link to your project (if available)

No response

Additional Information

No response

Copy link

github-actions bot commented Dec 2, 2024

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 5 days

@github-actions github-actions bot added the Stale label Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants