Couchbase Questions: Spark

Have a Question? Get it answered by our community

draiwn's picture
Asked 1 month 4 days ago
Latest activity 2 weeks 6 days ago

[Solved] Jar conflict with Couchbase inside Spark Streaming job

Hi,

Couchbase Java SDK 1.4.4 uses netty 3.5.5 as dependency but Spark uses Akka Actor which uses netty with a different version.
Does anyone have an idea to solve this jar conflict issue?

Here below the stack strace inside Spark:

...
sunchen's picture
Asked 1 month 1 week ago

Exception when using scala to call java sdk,and run with Spark

I write some very simple Scala codes followed,these codes make a Spark job,and write something into Couchbase. But when I run this job on Spark,I got an exception.I am wondeing how this happend.
Something must be pointed, if I don't use Spark , the code can work.

CODE LIST:...