riak with meteor.js

2013-01-09 Thread Norman Khine
hi all, just wanted to find out if there are any projects running meteor.js with riak rather then mongodb? thanks -- %>>> "".join( [ {'*':'@','^':'.'}.get(c,None) or chr(97+(ord(c)-83)%26) for c in ",adym,*)&uzq^zqf" ] ) ___ riak-users mailing list ri

Re: LevelDB compaction and timeouts

2013-01-09 Thread Matthew Von-Maszewski
Parnell, I confirmed with the Basho team that "list_keys" is a read only process. Yes, some read operations would initiate compactions in Riak 1.1, but you have 1.2.1. I therefore suspect that there is a secondary issue. Would you mind gathering the LOG files from one of the machines that y

Re: Atomicity of if_not_modified?

2013-01-09 Thread qaspar
Kresten Krab Thorup wrote > When a Riak write "fails" the value can still have been written. > > Failure is really just a notification that the write didn't complete as > requested, usually because one or more of the cluster writes failed. Can you post a link that confirms this when DW (on top of

Re: LevelDB compaction and timeouts

2013-01-09 Thread Matthew Von-Maszewski
FYI: my theory of the moment (until LOG files arrive) is that maybe a couple of the machines are using the operating system swap file during the list_keys operation. That would explain everything. But maybe you have already ruled that out? Matthew On Jan 8, 2013, at 2:53 PM, Parnell Spring

Re: riak with meteor.js

2013-01-09 Thread Shuhao
Try create one! Shuhao On 13-01-09 07:19 AM, Norman Khine wrote: hi all, just wanted to find out if there are any projects running meteor.js with riak rather then mongodb? thanks ___ riak-users mailing list riak-users@lists.basho.com http://lists.

Re: Atomicity of if_not_modified?

2013-01-09 Thread Les Mikesell
On Wed, Jan 9, 2013 at 10:33 AM, qaspar wrote: >> When a Riak write "fails" the value can still have been written. >> >> Failure is really just a notification that the write didn't complete as >> requested, usually because one or more of the cluster writes failed. > > Can you post a link that con

Riak packaging for RPM-based distros

2013-01-09 Thread Aleksey Morarash
Hi All! Someone can possibly perceive the states below as a heresy, so, first of all, I want to declare: I have no intention to start new holywar here, I just propose a solution. I have noticed that packages available at http://docs.basho.com/riak/latest/downloads/ includes a kind of so-called Er

Re: Riak packaging for RPM-based distros

2013-01-09 Thread Jared Morrow
Aleksey, First off, thanks for the email and suggestions. Also thanks for working on RPM's for OpenSUSE and providing your repo. I'll try to hit each topic in the rough order you mentioned them. Let me comment first on our packaging of Erlang with Riak. I agree, this is not typically how distr

Re: Riak packaging for RPM-based distros

2013-01-09 Thread Andrew Thompson
To amplify Jared's reply a little... The packaging choices we have made are with good reason. I'll try to counter the most important points in your email below: - Erlang VM upgrade. Erlang VM, used by Riak installed, can be upgraded only with Riak code; This is actually what we want. Each Ria

Riak Image on Azure VM Depot

2013-01-09 Thread Tyler Hannan
Today, the Microsoft Open Tech team announced the launch of the Azure VM Depot[0]. A post detailing the purpose, an overview of their plans, etc can be found on the interoperability@microsoft blog[1]. Riak 1.2.1 was one of the images included in this launch[2]. For those of you so inclined, this

Re: Riak packaging for RPM-based distros

2013-01-09 Thread Aleksey Morarash
2013/1/9 Jared Morrow > In our case, making a distributed database that people depend on to be stable > and > performant also requires us to control the Erlang VM we use. In a particular > case, > we've been fighting Erlang scheduler issues in regards to our use of NIF's > that has > changed b

Re: Riak packaging for RPM-based distros

2013-01-09 Thread Jared Morrow
> > > Right now if someone has a problem, I can say, "tell me what ./riak > version says" > > and know exactly what is running. > > Mostly true, but... Most deps in 'rebar.config' files links to HEAD of > 'master' branch. Seems output of './riak version' is not enough. > Anyway, when packaging is d

Re: riak-users Digest, Vol 42, Issue 11

2013-01-09 Thread Julio Cesar Ríos Gutierrez
I have some trouble with processing "post" 1. -module(rptPedidos_resource). 2. -export([init/1, allowed_methods/2, process_post/2]). 3. -export([content_types_provided/2,to_pdf/2]). 4. 5. -record ( context, {root, name_file } ). 6. 7. -include_lib("webmachine/include/webmachi

Re: riak-users Digest, Vol 42, Issue 12

2013-01-09 Thread Julio Cesar Ríos Gutierrez
sorry, for the previuos message. I do not describe my problem. this is my problem. in the to_pdf function do not arrive name_file with value, arrive empty, and after process_post, It process "init" again, why this happend? io:format(Name_File), %%Print empty string but in this line I do this.

Re: Riak packaging for RPM-based distros

2013-01-09 Thread Tom Lanyon
On 10/01/2013, at 6:08 AM, Andrew Thompson wrote: > To amplify Jared's reply a little... > > The packaging choices we have made are with good reason. I'll try to > counter the most important points in your email below: To add some further ammo to this, from an user / non-Basho perspective... A

Socket closed during write?

2013-01-09 Thread Brad Heller
Hey all, I've got a mysterious error with Riak. Certain writes seem to result in an interesting error being raised by the coordinating node (rem, I'm assuming it's the coordinating node): webmachine error: path="/buckets/my_bucket/keys" {error,{error,{badmatch,{error,closed}},

Re: Socket closed during write?

2013-01-09 Thread Evan Vigil-McClanahan
The last time I saw this particular error it was someone on a 64bit client setting the content length value incorrectly via libcurl. Requests would work on 64 bit nodes but fail on 32 bit nodes, presumably because the HTTP client was handing the socket a garbage value to read, thereby killing it.

Re: Riak and host names

2013-01-09 Thread Matt Black
A quick update on this subject. Using an Elastic IP won't help with AWS since that only binds to the public interface - not the internal private one. The hostname command still returns the same internal IP address as before, which is what's seen by Riak. In AWS an internal IP address will actuall

Map function in erlang that takes entire bucket as input?

2013-01-09 Thread Shaan Sapra
Hi all, I'm exploring the erlang-riak-client and trying to write MapReduce functions to mimic the ones I've written in Javascript and in the riak-ruby-client. Following the tutorial here