Java Client - Can NOT connect to a Memcached bucket
Hello folks,
Does the Java client API support loading Memcached buckets in Couchbase or only Couchbase buckets are supported and if so what is the best way of using Memcached buckets on Couchbase?
I've been able to do all sorts of different stuffs with the Couchbase bucket type, but every time that I try to create a new CouchbaseClient using the Memcached bucket type I bump into an UnsupporttedOperationException.
Here's the stacktrace:
java.lang.UnsupportedOperationException: No vbucket support for cachebuckets
at com.couchbase.client.vbucket.config.CacheConfig.getVbucketsCount(CacheConfig.java:55)
at com.couchbase.client.vbucket.ConfigurationProviderHTTP.getBucketConfiguration(ConfigurationProviderHTTP.java:149)
at com.couchbase.client.CouchbaseConnectionFactory.getVBucketConfig(CouchbaseConnectionFactory.java:230)
at com.couchbase.client.CouchbaseClient.(CouchbaseClient.java:237)
at com.couchbase.client.CouchbaseClient.(CouchbaseClient.java:175)
at api.CouchbaseClient.(CouchbaseClient.groovy:23)
I'm using Couchbase 2.0 with Couchbase client 1.1.3.
I'd appreciate it if you could help me with this.
Hello,
It is a known issue that has been introduced in 1.1.3, and it is fixed in 1.1.4.
You can download it from:
http://www.couchbase.com/develop/java/current
regards
Tug
@tgrall