ERROR com.couchbase.client.vbucket.VBucketNodeLocator

Hi, We recently upgraded the Couchbase to 4.1.0 but when I tried to load the data from OLTP database to buckets thru Talend ETL job (windows batch file) it is failing with following error. I tried to fail-over/re-balance/remove nodes and add back with re-balance but nothing worked. We have two nodes in cluster. It was working fine with previous versions 3.1.0/2.1.1/2.1.0. Please check this and help.

Error

2016-03-10 10:09:13.948 INFO com.couchbase.client.CouchbaseConnection: Added {Q
A sa=NODE1/IP:11210, #Rops=0, #Wops=0, #
iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue
2016-03-10 10:09:13.964 INFO com.couchbase.client.CouchbaseConnection: Added {Q
A sa=NODE2/IP:11210, #Rops=0, #Wops=0, #
iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue
2016-03-10 10:09:13.964 ERROR com.couchbase.client.vbucket.VBucketNodeLocator:
Critical reconfiguration error: Server list from Configuration and Nodes are out
of synch. causing NODE2:11210 to be removed
2016-03-10 10:09:13.964 INFO com.couchbase.client.CouchbaseConnection: Connecti
on state changed for sun.nio.ch.SelectionKeyImpl@114536a5
2016-03-10 10:09:13.980 INFO com.couchbase.client.CouchbaseConnection: Connecti
on state changed for sun.nio.ch.SelectionKeyImpl@5706937e
2016-03-10 10:09:14.011 INFO com.couchbase.client.ViewConnection: Added Node2 to connect queue
Exception in thread “Thread-3” 2016-03-10 10:09:14.026 INFO com.couchbase.client
.ViewConnection: Added NODE1 to connect queue
2016-03-10 10:09:14.026 INFO com.couchbase.client.CouchbaseClient: viewmode pro
perty isn’t defined. Setting viewmode to production mode
java.lang.NullPointerException
at net.spy.memcached.auth.AuthThread.buildOperation(AuthThread.java:117)

    at net.spy.memcached.auth.AuthThread.run(AuthThread.java:86)

2016-03-10 10:09:14.167 INFO net.spy.memcached.auth.AuthThread: Authenticated t
o NODE1/IP:11210
2016-03-10 10:09:14.292 INFO com.couchbase.client.CouchbaseConnection: Added {Q
A sa=NODE2/IP:11210, #Rops=0, #Wops=0, #
iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue
2016-03-10 10:09:14.307 INFO com.couchbase.client.CouchbaseConnection: Added {Q
A sa=NODE2/IP:11210, #Rops=0, #Wops=0, #
iq=0, topRop=null, topWop=null, toWrite=0, interested=0} to connect queue

Which Java Client 1.4.X version are you using exactly?

Hi Daschl, Thanks for your reply.

Java version is 7 Update 25 (build 1.7.0_25_b17).

Java has installed on the client server where we run the jobs to load the data.
Java is not installed on the couchbase servers (both nodes)

@kchittampalli daschl meant which version of the Couchbase SDK, which is pulled by Spring Data Couchbase as a dependency (version of Spring Data Couchbase would be interesting as well).

I am kind of new to Couchbase. We are using Talend Open Studio 5.3.1 It has a Couchbase 2.0 connector. Is this information sufficient? Not sure how to check Couchbase SDK version. Please advise.

Ok after digging up a little, all that I could find is this directory having the Couchbase SDK 1.1 version:

If it is indeed the version in use, this is a very outdated version of the Couchbase SDK. There has been quite a few new generation 1.x versions since then (it was in 2013 and current 1.x is 1.4.11) and a complete rewrite of the SDK, generation 2.x (currently at 2.2.5).

This was in Talend’s github repository on branch maintenance/5.3, which looks like an old(ish) version of the studio, byt it also looks like the current master of the same project still uses the outdated lib: https://github.com/Talend/tbd-studio-se/tree/master/main/plugins/org.talend.libraries.couchbase/lib.

In order to make sure of which exact version of the SDK is used by the exact version of Talend you are using, best is to take it to Talend helpdesk/support and ask them directly I guess.