The notebook cannot find the dependencies I installed in EMR
- Dominant language
- Scala
- Stars
- 301
- Forks
- 129
- PR merge metrics
- No merged PRs in 30d
Description
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**:
Contributor guide
Research direction
The report names a SageMaker sparkmagic notebook connected to EMR and includes the AWS setup guide plus a FileNotFoundException for hdfs://ip-10-0-1-105.ec2.internal:8020/mnt/jars/NLPLanguageDetection-1.8-super.jar. Start by reproducing that setup and checking how the EMR jar path is exposed to the notebook. Done means the notebook can import the installed dependency, with the required configuration documented and the missing-file error resolved.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- aws
- Domain
- cloud, distributed-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100