Couchbase Q&A

Have a Question? Get it answered by our community.
Looking for the old Couchbase Forum? Click here (read-only).
sunchen's picture
Asked 1 month 1 week ago

Exception when using scala to call java sdk,and run with Spark

I write some very simple Scala codes followed,these codes make a Spark job,and write something into Couchbase. But when I run this job on Spark,I got an exception.I am wondeing how this happend.
Something must be pointed, if I don't use Spark , the code can work.

CODE LIST:...

dhanushka's picture
Asked 1 month 1 week ago

CouchBase Client Fails to Cache Object less than 20mb. Time Out Error

I am caching my serialized POJO s(4mb-8mb size objects) concurrently into Couchbase server with CouchBase client (couchbase-client-1.4.3).

for(upto 20 itertarions){  
    new Thread().start().. //this
...
mtaisigue's picture
Asked 1 month 1 week ago

can not log in - 3.0 beta

hey i just created a account for Jira and i can not log in,
i can log in into couchbase but using the same credentials on jira it does not allow me in.
my email is mtaisigue@gmail.com

can you check that for me please.
Thanks

dhops's picture
Asked 1 month 1 week ago

Replication Fails with auto-failover?

couchbase server 2.2, java 1.4 client.

I have a 3 node cluster, and my test bucket has replication.ONE. I kill one of those, and call:
client.set(key,json, ReplicateTo.ONE);

This will fail ~%50 of the time with the following error:
Currently, there is no replica node...

dhops's picture
Asked 1 month 1 week ago

getView() fails if 1 node is offline?

(sing couchbase 2.2, java sdk 1.4.)

Hi all, I have 3 node cluster, a bucket with replication ONE.

When I startup my CouchbaseClient(), it is able to start with the one node offline.
however the first thing I do after that is getView()..it spins for a bit.then finally throws...

dhops's picture
Asked 1 month 1 week ago

couchbase shutdown/startup/status? (cli)

I've been trying to figure out how to start/stop couchbase server (2.2) properly usingthe commandline (linux)...any pointers? (I'm not seeing anything in the cli docs for this).

I've tried killing the processes (-4), which works..but then I can never get server started again (using bin/...

witbrock's picture
Asked 1 month 1 week ago
Latest activity 1 month 1 week ago

Maven Dependency with Netbeans 8 doesn't construct correct run classpath

I'm trying the HelloWorld file, and it fails to run
because
Exception in thread "main" java.lang.NoClassDefFoundError: org/codehaus/jettison/json/JSONException

Looking at the IDE's classpath for the HelloWorld class and comparing it with the explicit path in the tutorial, I...

cjjohansen's picture
Asked 1 month 1 week ago

Getting Single document by Unique value

Hi

Whats the best approach for querying a single entity by a unique value which is not the Key?

var view = client.GetView("useraccount", "by_email").StartKey(theEmail).EndKey(theEmail).Limit(1
...
cjjohansen's picture
Asked 1 month 1 week ago
Latest activity 1 month 1 week ago

.NET SDK 1.3 Extensions is it possible to configure JSON Serializer

Hi

the MVC Tutorial suggests using the client.GetJson and client.StoreJson extension methods.

I Need to serialize POCO's with protected setters in order to maintain incapsulation.
I Have written a ContractResolver based on CamelCasePropertyNamesContractResolver. Which does...

danomano's picture
Asked 1 month 2 weeks ago
Latest activity 1 month 1 week ago

couchbase reads? (from master vs server)

Lets say we have 1 cluster with 4 nodes, 2 nodes in US, and 2 nodes in the Europe.

we have replication for the bucket set to 2 (so this means 3 nodes will have the same document, after replication).

My question is..

When a read request comes into the cluster, will it:
...

Pages