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

The notebook cannot find the dependencies I installed in EMR #138

Open
xiaoli-amazon opened this issue May 27, 2021 · 0 comments
Open

The notebook cannot find the dependencies I installed in EMR #138

xiaoli-amazon opened this issue May 27, 2021 · 0 comments

Comments

@xiaoli-amazon
Copy link

Please fill out the form below.

System Information

  • Spark or PySpark: Spark
  • SDK Version:
  • Spark Version:
  • Algorithm (e.g. KMeans):

Describe the problem

Describe the problem or feature request clearly here.
I created a sparkmagic notebook in SageMaker. And connected it with my EMR following this guide.
https://aws.amazon.com/blogs/machine-learning/build-amazon-sagemaker-notebooks-backed-by-spark-in-amazon-emr/
And then I installed all the jars for my spark in EMR. And I want to import related packages in my notebook, but it did not work. How can I import them to my notebook? Any configuration need?

Minimal repo / logs

Please provide any logs and a bare minimum reproducible test case, as this will be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
Logs showed: stderr:
Exception in thread "main" java.io.FileNotFoundException: File hdfs://ip-10-0-1-105.ec2.internal:8020/mnt/jars/NLPLanguageDetection-1.8-super.jar does not exist.
Here ip-10-0-1-105.ec2.internal is my cluster's IP.

  • Exact command to reproduce:
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