Forum Discussion
goreavin
2 years agoHelper I
Graphframes error: ClassNotFoundException
I am trying to use Graphframes library to generate GraphX objects. Output of "%conda list" shows : graphframes 0.6 pyhd3deb0d_1 conda-forge So the package is installed. But when I try to cons...
- 2 years ago
Anonymous : I received a message from your support engineer with the following solutions:
- Use Scala instead of Python:
- Add the library manually to the environment:
- Install the jar from maven repository. reference: Maven Repository: graphframes » graphframes » 0.8.0-spark3.0-s_2.12 (mvnrepository.com)
- upload the Jar to your environment. Reference: Library management in Fabric environments - Microsoft Fabric | Microsoft Learn
- Attach the environment to your workspace. Reference: Create, configure, and use an environment in Microsoft Fabric - Microsoft Fabric | Microsoft Learn
- Add this config as first cell inside your notebook:
%%configure -f { "conf": { "spark.jars.packages": "graphframes:graphframes:0.8.0-spark3.0-s_2.12" } }This solved the issue.
Thanks! Avi
Anonymous
2 years agoNot applicable
Hi goreavin ,
We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet .
Otherwise, will respond back with the more details and we will try to help .
Anonymous
2 years agoNot applicable
Hi goreavin ,
We haven’t heard from you on the last response and was just checking back to see if you have a resolution yet .
Otherwise, will respond back with the more details and we will try to help .