CB Riak Retrieve Error

21 views
Skip to first unread message

Geeth

unread,
Feb 10, 2012, 8:51:22 PM2/10/12
to chica...@googlegroups.com
Hi,

I am using CB 0.7.0 and my basic project works using mock db. When I point it to use riak, I seem to get some errors.

My saves seem to go thru. You can see that in the attached "Riak HTTP Response.rtf" file when I do curl going against riak I get the responses.

When I do boss_db:find(employee, []), I get some errors retrieving the saved records. Attached "Boss_DB Find Error.rtf" file shows what I see in the CB shell.

I have also attached what I see in Riak console, which seems to have some corresponding error. It is attached in "RiakConsole.rtf" file.

I really appreciate your responses.

Thanks.
Geeth


Boss_DB Find Error.rtf
Riak HTTP Response.rtf
RiakConsole.rtf

Ben G.

unread,
Feb 10, 2012, 10:34:09 PM2/10/12
to ChicagoBoss
What do you have in your boss.config and model file?


and use please a pastebin or gist or jsfiddle for code, it's just good
forum etiquette
>  Boss_DB Find Error.rtf
> 7KViewDownload
>
>  Riak HTTP Response.rtf
> < 1KViewDownload
>
>  RiakConsole.rtf
> 1KViewDownload

ll...@writersglen.com

unread,
Feb 11, 2012, 2:08:49 AM2/11/12
to chica...@googlegroups.com
jsfiddle -- first time I've heard of it.

What a great tool!

Thank you.

LRP

Geeth Narayanan

unread,
Feb 11, 2012, 10:28:36 AM2/11/12
to chica...@googlegroups.com
Ben,

Here is boss.config


Here is model:


Thanks.
Geeth

Evan Miller

unread,
Feb 11, 2012, 12:36:09 PM2/11/12
to chica...@googlegroups.com
The Riak adapter is still experimental. That said, you might try the
latest changes in BossDB and see if it works, as I've changed the way
the adapter handles empty queries. In your CB-0.7.0 directory:

rm -rf deps/*
make get-deps
make

That will pull in the latest BossDB code for you to test.

Thanks

Evan

--
Evan Miller
http://www.evanmiller.org/

Reply all
Reply to author
Forward
0 new messages