Couchbase Q&A

Have a Question? Get it answered by our community.
Looking for the old Couchbase Forum? Click here (read-only).
lenniedg2000's picture
Asked 3 days 19 hours ago
Latest activity 1 hour 37 min ago

Couchbase Lite iOS Filter

Hi

I have some documents in my local Couchbase database that each have a channel set like "25".
On iOS in Objective C I then try to have a filter to ONLY pull the data for that channel down... My goal is to assign a channel ID to each user that signup in the application so that i...

matthew.blyth's picture
Asked 5 hours 29 min ago

Importing data from couchbase to hadoop using connector

Hi,
I am using the couchbase hadoop connector plugin to import data from couchbase to hadoop. Unfortunately, the values imported appear as byte array references instead of the actual byte array I was expecting. So, for example, the data output to hadoop appears as follows:

key,[B@...

bmhardy's picture
Asked 13 hours 52 min ago
Latest activity 2 hours 6 min ago

How to get the session cookie after persona authentication

Hi,

I read this about using persona with couchbase:

Clients log in by sending a POST request to /dbname/_persona. The request body is a JSON document that contains an assertion property whose value is the signed assertion received from the identity provider. Just as with a _session...

sgande's picture
Asked 16 hours 6 min ago

Connection pool to connect to multiple buckets

Greetings

I am new to couchbase and We are in process of evaluating couchbase.

I have few questions. Appreciate response.
1) How can I maintain multiple connections at a time?
My use case is , I have multiple virtual buckets and I need to connect to corresponding...

bmhardy's picture
Asked 16 hours 36 min ago
Latest activity 2 hours 15 min ago

Wrong user exception not thrown in client code.

I'm using authorization in my couchbase config.

In my config.json, my sync function says this:

if (oldDoc) {
requireUser("importantUser@consultant.com");
}

This does indeed stop un authorized users from...

ahurt's picture
Asked 18 hours 51 min ago

Better way to split a string?

I have a document element that looks like this ...

"ip": "123.12.11.4"

I need to be able to get each 'octet' out of that value (split it on the '.') I can get the first portion with a case statement:

case
when
substr(ws.ip, 1, 1) == '.'
...

bmhardy's picture
Asked 19 hours 40 min ago
Latest activity 2 hours 2 min ago

Trouble with authorization in sync function

I'm having some trouble adding some authorization into our couchbase mobile app. Can you offer any help or insight?

I'm running this on an amazon ec2 instance so the couchbase version may be a little older than current.

I'm using persona to authenticate. I successfully...

buger's picture
Asked 1 day 37 min ago
Latest activity 9 hours 14 min ago

Error after updating libcouchbase from 2.2 to 2.3

After updating design_docs query shows error:

Couchbase.connect("http://localhost:8091/").design_docs
Couchbase::Error::Invalid: failed to schedule document request (key="/pools/default/buckets/
...
simonh10's picture
Asked 2 days 3 hours ago
Latest activity 1 day 3 min ago

Pure Python API

Hi,
I know there has been some very brief discussion of a pure python couchbase API, but did anything actually happen with it?
A reliance on a C library makes deploying on a heterogeneous environment practically impossible.
Mixed environment of clients (Mac, Linux, Windows)....

igor_astds's picture
Asked 2 days 6 hours ago
Latest activity 1 day 18 hours ago

Issues with bench/ performance: cbc-pillowfight produces 1000x slower peaks at certain amount of writes

Hi all.
I'm having a very uneven distribution of 100usec and 1msec query time for following test command:
cbs-pillowfight -h localhost -b default -i 1 -I 10000
It's a two-node cluster running on i7-2600'...

Pages