Stratio / Spark-MongoDB

Spark library for easy MongoDB access
http://www.stratio.com
Apache License 2.0
307 stars 99 forks source link

Getting Error:: java.lang.NoClassDefFoundError: scala/runtime/AbstractPartialFunction #167

Closed splinepalash closed 7 years ago

splinepalash commented 7 years ago

Hello,

Good day!

I am trying to use Stration Spark-MongoDB since couple of days & tried to use in many ways. I don't know but still I'm not able to connect with mongodb for different different errors and dependencies. My spark version is 2:00 & mongodb version is 3:X0, python version is 3.4.0.

Either using --packages or --jars command, it is showing different errors. If you have a look my attached error.txt file, you might understand what is happening in background. I printed all the jars I'm using for using this package.

You help will be highly appreciated.

error.txt

Thanks!

Best Regards, Palash Gupta

splinepalash commented 7 years ago

I was using incompatible api. When I started using latest api, then the error get resolved, thanks