cancel
Showing results for 
Search instead for 
Did you mean: 
Get Started Discussions
Start your journey with Databricks by joining discussions on getting started guides, tutorials, and introductory topics. Connect with beginners and experts alike to kickstart your Databricks experience.
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 Us as a Local Community Builder!

Passionate about hosting events and connecting people? Help us grow a vibrant local community—sign up today to get started!

Sign Up Now