Spark Connector 2.1 - bucket username / pwd

Hi all,

In databricks I am trying to create a dataframe using the new spark 2.1 connector, connecting to a bucket in couchbase
(note the host is set as spark config for the cluster at startup)

val events =

org.apache.spark.SparkException: Job aborted due to stage failure: Task 0 in stage 3.0 failed 1 times, most recent failure: Lost task 0.0 in stage 3.0 (TID 3, localhost, executor driver): Passwords for bucket “events” do not match.

Are these the right options? Any ideas?


This is because the options are incorrect, please see our docs as linked in your other posting. (

You need to use

  .config("spark.couchbase.bucket.bucket1", "pw1")
  .config("", "")
1 Like