Re: How to write data into CouchBase using Spark & Scala?

2016-09-07 Thread Devi P.V
Thanks.Now it is working. On Thu, Sep 8, 2016 at 12:57 AM, aka.fe2s wrote: > Most likely you are missing an import statement that enables some Scala > implicits. I haven't used this connector, but looks like you need "import > com.couchbase.spark._" > > -- > Oleksiy Dyagilev

Re: How to write data into CouchBase using Spark & Scala?

2016-09-07 Thread aka.fe2s
Most likely you are missing an import statement that enables some Scala implicits. I haven't used this connector, but looks like you need "import com.couchbase.spark._" -- Oleksiy Dyagilev On Wed, Sep 7, 2016 at 9:42 AM, Devi P.V wrote: > I am newbie in CouchBase.I am

How to write data into CouchBase using Spark & Scala?

2016-09-07 Thread Devi P.V
I am newbie in CouchBase.I am trying to write data into CouchBase.My sample code is following, val cfg = new SparkConf() .setAppName("couchbaseQuickstart") .setMaster("local[*]") .set("com.couchbase.bucket.MyBucket","pwd") val sc = new SparkContext(cfg) val doc1 =