alitouka / spark_dbscan

DBSCAN clustering algorithm on top of Apache Spark
Apache License 2.0
255 stars 115 forks source link

java.lang.NoClassDefFoundError: org/apache/spark/Logging #29

Open tchuynh opened 4 years ago

tchuynh commented 4 years ago

getting that error when I use the jar.

for both ways of calling it,

spark-submit https://github.com/alitouka/spark_dbscan/wiki/Using-Spark-DBSCAN-as-a-standalone-application

or including it in application way, https://github.com/alitouka/spark_dbscan/wiki/Including-Spark-DBSCAN-in-your-application

laksheenmendis commented 4 years ago

I also got the same error when I ran the downloaded jar. However, I built the assembly jar from source, after doing a slight modification in org.alitouka.spark.dbscan.spatial.Box, as mentioned in #22 by @sfdan473414 in here

And I was able to run it..