Couchbase Questions: Java SDK

Have a Question? Get it answered by our community

raycardillo's picture
Asked 2 months 4 weeks ago

Cannot seem to access "Full Set" of a Development View

It looks like some SDKs can request "full_set=true" but I cannot seem to find it anywhere in the Java SDK. There is nothing on the View or Query class from what I see. As a result, I cannot test against Development Views before they're ready for Production. It's easy to do through the REST...

Rajans's picture
Asked 3 months 1 day ago

Multiple Couchbase/Resubscriber threads when restarting couchbase

There are 2 Couchbase/Resubscriber threads running when couch-base is up & running, if the couch-base is restarted 2 more Couchbase/Resubscriber threads started running & 2 old one remains there & it seems like there can be multiple threads running simultaneously.. now the problem...

dwen77's picture
Asked 3 months 2 days ago

Aynchronous Set in JAVA Client

The aynchronous set method returns a OperationFuture object.
We can use get method of this object to get the result of the operation and the method is a block method. It waits until the operation sends back the response.

But, when the get method returns if we set the PersistTo.TWO?...

thangarajan's picture
Asked 3 months 3 days ago
Latest activity 3 months 2 days ago

MySQL to Hadoop Migration

Hi All,

I am new to Big Data. now i have one task that i have to migrate my table(s) from MySQL to Hadoop using java client can anyone help me please. I need the flow too.

bahaaldine's picture
Asked 3 months 6 days ago
Latest activity 3 months 3 days ago

Avoiding shutting down couchbase java client


Is there a way to reuse a couchbase java client connection? I always have to shutdown the connection when making queries in for loop, otherwise I get an out of memory.

Shutting down the connection each time is just inefficient in my use case

Thanks for your help !

ohassidi's picture
Asked 3 months 1 week ago
Latest activity 3 months 3 days ago

Write a List of documents to couchbase


Is there to write a bulk of documents to couchbase?
For example a list of documents in the form:

    "users": [
            "name": "x",
            "address": "y
dengberg's picture
Asked 3 months 1 week ago
Latest activity 3 months 3 days ago

Java client occasionally leaks (non-daemon) netty IO threads after shutdown

We're using CouchbaseClient v1.4 from a Java server with moderately high concurrency.
When we shutdown the Couchbase client, it usually comes down cleanly, but we occasionally see lingering Netty threads:

seans's picture
Asked 3 months 2 weeks ago
Latest activity 3 months 3 days ago

Too many open files


We are currently using Couchbase 1.8 with the version 1.2.2 of the Java client library. Occasionally, we have noticed that the the process that uses the Java client library complains of having too many open files. Using lsof on the running process, I can see 32000+ TCP connections...

jamieb's picture
Asked 3 months 2 weeks ago
Latest activity 3 months 3 days ago

IllegalStateException: Shutting Down

Hi. Using Couchbase in a fairly simple way and everything has been going fine, but all of a sudden every time I request a document (I can see it in the Admin Console) I get this;

Caused by: java.lang.IllegalStateException: Shutting down
at net.spy.memcached.MemcachedConnection....

nolandubeau's picture
Asked 3 months 2 weeks ago
Latest activity 3 months 3 days ago


I've been using the Couchbase Java SDK and am frequently encountering errors such as this:

Error Type: net.spy.memcached.OperationTimeoutException : [N/A]
Error Messages: Timeout waiting for value: waited 2,500 ms. Node status: Connection Status { 10.xx.xx.xx/10.xx.xx.xx:11210...