Couchbase Questions: Java SDK

Have a Question? Get it answered by our community

adamhonen's picture
Asked 2 months 1 week ago
Latest activity 1 month 1 week ago

Is the 2.0 developer preview Java client supposed to support CAS values?

I wanted to see what happens when replace fails due to CAS value, so I executed a fast batch of several dozens of replace requests for the same document, but all with the same CAS value.

The expected result was that only the first would succeed, but instead, all replace operations work....

talkganga's picture
Asked 2 months 1 week ago
Latest activity 1 month 1 week ago

MemcachedClient throwing InterruptedException during get operation

hello,

I am new to the couchbase and recently we have started using cb for caching purposes. We have built client library on top of the couchbase client library. The problem we are seeing is during a async get call for some reason the thread is getting interrupted (see below stacktrace...

vincent_v's picture
Asked 2 months 1 week ago
Latest activity 1 month 1 week ago

jpa support ?

Hi,

are there plans to support JPA ? I see that there is a Spring project that allows the use of JPA with Couchbase, but without Spring, it is not possible ?

winstonwaite's picture
Asked 2 months 1 week ago
Latest activity 6 days 1 hour ago

Java client not aware of failed over node under certain circumstances

This is similar to http://www.couchbase.com/communities/q-and-a/java-client-not-aware-about...

This is using the 1.4.2 java client.

If I failover from the admin...

pharvener@yahoo.com's picture
Asked 2 months 2 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 2 months 2 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 3 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 2 months 3 weeks 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 3 weeks 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 3 weeks ago
Latest activity 2 months 3 weeks 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.

Pages