Adding support for Couchbase. #136

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
4 participants
@daschl
Contributor

daschl commented Jul 25, 2013

This PR adds full support for couchbase, but doesnt support scan() since its not straightforward with the model.

Workloads run as expected, builds and does without errors. Can hopefully be merged as-is!

@sramakr

This comment has been minimized.

Show comment Hide comment
@sramakr

sramakr Aug 24, 2013

Thanks for the couchbase support for YCSB. somehow , whenever , I run with checkFutures=True, the threads are always failing. Cannot complete the requested number of operations.

But, when I set checkFuture=False , it all works as completed.

740421 [Thread-1] WARN net.spy.memcached.internal.OperationFuture - Error getting status of operation
java.util.concurrent.ExecutionException: net.spy.memcached.internal.CheckedOperationTimeoutException: Operation timed out. - failing node: mandb-ch2-a2p.sys.comcast.net/172.28.161.133:11210
at net.spy.memcached.internal.OperationFuture.get(OperationFuture.java:173)
at net.spy.memcached.internal.OperationFuture.get(OperationFuture.java:133)
at net.spy.memcached.internal.OperationFuture.getStatus(OperationFuture.java:236)
at com.yahoo.ycsb.db.CouchbaseClient.checkFutureStatus(CouchbaseClient.java:270)
at com.yahoo.ycsb.db.CouchbaseClient.insert(CouchbaseClient.java:227)
at com.yahoo.ycsb.DBWrapper.insert(DBWrapper.java:148)
at com.yahoo.ycsb.workloads.CoreWorkload.doInsert(CoreWorkload.java:461)
at com.yahoo.ycsb.ClientThread.run(Client.java:269)
Caused by: net.spy.memcached.internal.CheckedOperationTimeoutException: Operation timed out. - failing node: mandb-ch2-a2p.sys.comcast.net/172.28.161.133:11210

I am not so sure if this is forum , if not , please direct me to the right forum.

Appreciate your help.

Thanks

sramakr commented Aug 24, 2013

Thanks for the couchbase support for YCSB. somehow , whenever , I run with checkFutures=True, the threads are always failing. Cannot complete the requested number of operations.

But, when I set checkFuture=False , it all works as completed.

740421 [Thread-1] WARN net.spy.memcached.internal.OperationFuture - Error getting status of operation
java.util.concurrent.ExecutionException: net.spy.memcached.internal.CheckedOperationTimeoutException: Operation timed out. - failing node: mandb-ch2-a2p.sys.comcast.net/172.28.161.133:11210
at net.spy.memcached.internal.OperationFuture.get(OperationFuture.java:173)
at net.spy.memcached.internal.OperationFuture.get(OperationFuture.java:133)
at net.spy.memcached.internal.OperationFuture.getStatus(OperationFuture.java:236)
at com.yahoo.ycsb.db.CouchbaseClient.checkFutureStatus(CouchbaseClient.java:270)
at com.yahoo.ycsb.db.CouchbaseClient.insert(CouchbaseClient.java:227)
at com.yahoo.ycsb.DBWrapper.insert(DBWrapper.java:148)
at com.yahoo.ycsb.workloads.CoreWorkload.doInsert(CoreWorkload.java:461)
at com.yahoo.ycsb.ClientThread.run(Client.java:269)
Caused by: net.spy.memcached.internal.CheckedOperationTimeoutException: Operation timed out. - failing node: mandb-ch2-a2p.sys.comcast.net/172.28.161.133:11210

I am not so sure if this is forum , if not , please direct me to the right forum.

Appreciate your help.

Thanks

@daschl

This comment has been minimized.

Show comment Hide comment
@daschl

daschl May 29, 2015

Contributor

@busbey actually, this one of course is heavily outdated by now. If you are interested we have an up to date version at: https://github.com/YCSB/YCSB, which we can also merge back.

Contributor

daschl commented May 29, 2015

@busbey actually, this one of course is heavily outdated by now. If you are interested we have an up to date version at: https://github.com/YCSB/YCSB, which we can also merge back.

@busbey

This comment has been minimized.

Show comment Hide comment
@busbey

busbey May 29, 2015

Collaborator

I would love an up-to-date pull request.

Collaborator

busbey commented May 29, 2015

I would love an up-to-date pull request.

@busbey busbey referenced this pull request Jun 6, 2015

Closed

YCSB w/t Couchbase support #172

jaricftw pushed a commit to jaricftw/YCSB that referenced this pull request Jul 19, 2016

[couchbase] Adding support for Couchbase.
closes #136

Signed-off-by: Sean Busbey <sean.busbey@gmail.com>

jaricftw pushed a commit to jaricftw/YCSB that referenced this pull request Jul 19, 2016

[couchbase] Adding support for Couchbase.
closes #136

Signed-off-by: Sean Busbey <sean.busbey@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment