Couchbase Questions: Java SDK

Have a Question? Get it answered by our community

pharvener@yahoo.com's picture
Asked 1 month 3 weeks ago

Java Bulk add

Does Couchbase support bulk add in a similar manner as CouchDB?

In other words, I would like to update a Couchbase bucket with a List of json objects,
each representing a different document.

paul

swami's picture
Asked 1 month 3 weeks ago

Java client (1.4.1) taking long to receive configuration updates after fail over

I am using Couchbase server 2.2 and Java client 1.4.1

I have 3 nodes in my cluster. I am doing fail over testing by bring down one of the nodes.

Use iptables to prevent the node from being seen to other machines

Script as below

CB_PORTS=$(sudo netstat -lptun | egrep -...

raycardillo's picture
Asked 2 months 4 days 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 2 months 6 days 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 2 months 6 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 2 months 1 week ago
Latest activity 2 months 6 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 2 months 1 week ago
Latest activity 2 months 1 week ago

Avoiding shutting down couchbase java client

Hy,

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 2 months 1 week ago
Latest activity 2 months 1 week ago

Write a List of documents to couchbase

Hi

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 2 months 2 weeks ago
Latest activity 2 months 1 week 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 2 months 2 weeks ago
Latest activity 2 months 1 week ago

Too many open files

Hi,

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...

Pages