Skip to content

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

@xiaoli-amazon

Description

@xiaoli-amazon

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions