Re: external http calls from map functions?

2010-04-16 Thread Eric Gaumer
Check out: http://github.com/kungfooguru/erlastic_search Which is an Erlang ElasticSearch client. You may also want to look at the pre/post commit hooks in Riak because they offer a nice integration point (as opposed to building the index all at once). Keep in mind that regardless, HTTP has a hi

Re: external http calls from map functions?

2010-04-16 Thread Eric Gaumer
On Fri, Apr 16, 2010 at 10:04 AM, Colin Surprenant wrote: > > I definitely have to do some experimentation with this idea and see if > adding such triggers directly from map functions can have a > significant impact on the data post-processing throughput out of the > mapreduce framework. Another o

Riak 0.10rc1 Startup Issues

2010-04-20 Thread Eric Gaumer
Build seems to have went fine but I get a core dump when I start riak. Slogan: Kernel pid terminated (application_controller) ({application_start_failure,erlang_js,{{bad_return_value,{error,{load_error,[70,97,105,108,101,100,32,116,111,32,1 System version: Erlang R13B04 (erts-5.7.5) [source] [64-b

Re: Riak 0.10rc1 Startup Issues

2010-04-20 Thread Eric Gaumer
On Tue, Apr 20, 2010 at 2:23 PM, Kevin Smith wrote: > Do you have 64 or 32 bit Erlang installed? My guess is erlang_js is > compiling the Spidermonkey VM for 64 bit but you have 32 bit Erlang > installed. > I'm running a 64 bit version of Erlang. Could it have something to do with hipe being ena

Re: Riak 0.10rc1 Startup Issues

2010-04-20 Thread Eric Gaumer
On Tue, Apr 20, 2010 at 3:01 PM, Kevin Smith wrote: > Hipe shouldn't make a difference. The linker errors: > > ld: warning: in > /usr/local/lib/erlang/lib/erl_interface-3.6.5/lib/liberl_interface.a, file > is not of required architecture > ld: warning: in /usr/local/lib/erlang/lib/erl_interface-3

Re: bitbucket problems today and current code tree

2010-04-20 Thread Eric Gaumer
On Tue, Apr 20, 2010 at 6:28 PM, richard bucker wrote: > I cloned riak from HG this evening and started to build. That's when I got > the following errors. It seems to me that the URL of the dependencies are > wrong. > > /r > > > rbuc...@ubudev:riak$(default)$ make rel > ./rebar compile generate

Protobufs & HTTP

2010-04-20 Thread Eric Gaumer
If I add some data using the protobufs interface, can I retrieve that data over HTTP? I'm getting an error when I try to GET the id but the return_body looks proper. = import socket from struct import * import riakclient_pb2 s = socket.socket(socket.AF_

Re: Protobufs & HTTP

2010-04-20 Thread Eric Gaumer
On Tue, Apr 20, 2010 at 11:49 PM, Jon Meredith wrote: > Hi Eric, > > For the HTTP interface to work correctly you need to supply a content type > when you do your updated - if you add something like > > request.content.content_type = 'application/json' > > Then you should be in business. Th

Re: one-to-very-many link associations

2010-04-22 Thread Eric Gaumer
Don't fall into the trap of "one size fits all". Riak is an amazing product that can solve a number of tough problems. I don't think this is one of them. You need/want a triple store to (correctly) model this sort of problem. You need flexible schemas, ontologies, and a graph based query language.

Re: one-to-very-many link associations

2010-04-22 Thread Eric Gaumer
On Thu, Apr 22, 2010 at 9:01 AM, Sean Cribbs wrote: > > One of the "other options" that I didn't mention was a graph database. If > your model seems to beg lots and lots of links, you might be better off > looking at something that fits the traversal model better, like Neo4J, > AllegroGraph, etc

Re: one-to-very-many link associations

2010-04-22 Thread Eric Gaumer
On Thu, Apr 22, 2010 at 4:47 PM, Orlin Bozhinov wrote: > Eric, > > Thanks for the bigdata.com link. It's something I had missed spotting. > > The Semantic Web doesn't fit it all either. I anticipate to much rather > search riak (with its upcoming query language) than rely entirely on > sparql.

Re: m/r error "All nodes failed"

2010-04-24 Thread Eric Gaumer
On Sat, Apr 24, 2010 at 7:31 AM, Alexander Sicular wrote: > Hi, > > Here is some curl output that should get me a 200 OK, but instead I'm > getting a 500: > > macpro1:dev siculars$ curl -i http://localhost:8098/riak/test-bucket-1/10 > HTTP/1.1 200 OK > X-Riak-Vclock: a85hYGBgymDKBVIsbLoK3hlMiYx5rA

Re: building on OS X 10.6.2 Dependency not available: webmachine-"1.*" .. Dependency not available: mochiweb-"0.02

2010-04-24 Thread Eric Gaumer
On Sat, Apr 24, 2010 at 11:51 PM, Norman Khine wrote: > hello, > i am trying to build riak on osx, but get the following dependency issues: > > $ make rel > ./rebar compile generate > ==> luke (compile) > Compiled src/luke.erl > Compiled src/luke_flow_sup.erl > Compiled src/luke_phase.erl > Compi

Re: Riak Search release date

2010-05-13 Thread Eric Gaumer
On Thu, May 13, 2010 at 11:02 AM, Senthilkumar Peelikkampatti < senthilkumar.peelikkampa...@gmail.com> wrote: > Hi, > It has been while Basho announced about Riak Search (I guess it is > almost an year back, if I remember correctly), do you have any time frame of > release? Or will it be ava

Re: Riak Search release date

2010-05-21 Thread Eric Gaumer
On Fri, May 21, 2010 at 12:02 PM, Mark Phillips wrote: > Hey All, > > As promised, here is the blog post on Riak Search. > > http://blog.basho.com/2010/05/21/riak-search/ > > Nice. Thanks for the update Mark. It sounds like you're using Java in places (e.g., Lucene analyzers). Is that assumption

Re: migration from mysql

2010-08-24 Thread Eric Gaumer
On Tue, Aug 24, 2010 at 10:42 AM, Jonathan Moore wrote: > Hello there, > > I am new to Riak, but we are thinking of migrating some of our data from > mysql into it and running with it for some of our website. > > Temporarily we would need to keep the data in sync whilst we make other > changes. So