cancel
Showing results for 
Search instead for 
Did you mean: 
Community Discussions
Connect with fellow community members to discuss general topics related to the Databricks platform, industry trends, and best practices. Share experiences, ask questions, and foster collaboration within the community.
cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to use graphframes library in databricks.

data9
New Contributor II

I have installed graphframes library from maven repository in the cluster (13.3 LTS (includes Apache Spark 3.4.1, Scala 2.12), Standard DS4_v2). The library that I have installed is graphframes:graphframes:0.8.3-spark3.5-s_2.13.

I can import the graphframes library in the notebook as well but running the following command is giving me error -

g = GraphFrame(vertices, edges)

Error -

java.lang.NoClassDefFoundError: scala/collection/ArrayOps$
---------------------------------------------------------------------------
Py4JJavaError Traceback (most recent call last)

Py4JJavaError: An error occurred while calling o16831.createGraph. : java.lang.NoClassDefFoundError: scala/collection/ArrayOps$

How can I rectify this?
Thanks!

0 REPLIES 0
Join 100K+ Data Experts: Register Now & Grow with Us!

Excited to expand your horizons with us? Click here to Register and begin your journey to success!

Already a member? Login and join your local regional user group! If there isn’t one near you, fill out this form and we’ll create one for you to join!