Re: riak ubuntu 11 building problems

2011-11-08 Thread Andrew Musselman
Have you tried this series of commands? wget http://erlang.org/download/otp_src_R14B03.tar.gz tar xzvf otp_src_R14B03.tar.gz cd otp_src_R14B03/ ./configure && make && sudo make install git clone https://github.com/basho/riak.git cd riak/ git checkout 1.0.1-release git fetch git pull make rel If

Re: riak ubuntu 11 building problems

2011-11-08 Thread Ivan Trajkovic
I have ubuntu 11.04, not 11.10 could that be an issue On Tue, Nov 8, 2011 at 8:14 PM, Andrew Musselman wrote: > I can confirm building both erlang and riak from source on Ubuntu 11.10 > works. > > That is, everything builds without any complaints or editing config files, > and then I'm able to

Re: Riak configurator?

2011-11-08 Thread Jonathan Langevin
K, let me know when you complete it :-D On Nov 8, 2011 9:05 PM, "Alexander Sicular" wrote: > Not that I know of, but that sounds like a great idea. > > @siculars > http://siculars.posterous.com > > Sent from my rotary phone. > On Nov 8, 2011 6:58 PM, "Jonathan Langevin" > wrote: > >> Any tool av

Re: Riak configurator?

2011-11-08 Thread Alexander Sicular
Not that I know of, but that sounds like a great idea. @siculars http://siculars.posterous.com Sent from my rotary phone. On Nov 8, 2011 6:58 PM, "Jonathan Langevin" wrote: > Any tool available that lets you specify how you intend to use riak, and > suggests a valid configuration? > > _

Re: riak ubuntu 11 building problems

2011-11-08 Thread Andrew Musselman
I can confirm building both erlang and riak from source on Ubuntu 11.10 works. That is, everything builds without any complaints or editing config files, and then I'm able to add an object to a riak client. wget http://erlang.org/download/otp_src_R14B03.tar.gz tar xzvf otp_src_R14B03.tar.gz c

Re: riak ubuntu 11 building problems

2011-11-08 Thread Ivan Trajkovic
yep encountered that issue already and made sure Im using whats supported so R14B3, and checking out riak-1.0.1 On Tue, Nov 8, 2011 at 7:17 PM, Jared Morrow wrote: > When you say you are building from source (github) 1.0.1, are you doing a > 'git checkout riak-1.0.1' or building from 'master'?

Re: riak ubuntu 11 building problems

2011-11-08 Thread Jared Morrow
When you say you are building from source (github) 1.0.1, are you doing a 'git checkout riak-1.0.1' or building from 'master'? One note, based on your erts version, you are using a newer erlang than we support. We have not built or tested Riak against erlang R15. Try using R14B02 or R14B03 fo

Riak configurator?

2011-11-08 Thread Jonathan Langevin
Any tool available that lets you specify how you intend to use riak, and suggests a valid configuration? ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Openssl 1.0.0, riak packages, and ubuntu 11

2011-11-08 Thread Jared Morrow
Riak-Users, Andrew Musselman filed the following bugin regards to Ubuntu 11 and the Riak .deb packages. Although this issue was filed against a specific OS and package, the problem has a larger scope than that. As some background and as most of yo

Re: riak ubuntu 11 building problems

2011-11-08 Thread Ivan Trajkovic
hi Jared, thank you for your fast response... interestingly riak 1.0.1 does build now, from source (github)... unlike before... not really sure what changed. but the old errors are coming up again, when trying to start riak: ~/Desktop/riak/rel/riak$ bin/riak start escript: Failed to open file: ~/D

Re: riak ubuntu 11 building problems

2011-11-08 Thread Jared Morrow
In an effort to reproduce the problem, I started with a fresh ubuntu 11.10 image to build riak. First off you'll need these dependencies for ubuntu 11: make, binutils (really ubuntu, no gnu make by default?), libncurses5-dev, libssl-dev (or libssl-dev-0.9.8 if you are using riak deb package), lib

Re: Riak and SEC Filings

2011-11-08 Thread Ryan Zezeski
On Tue, Nov 8, 2011 at 7:08 AM, Hector Castro wrote: > > >* In going through the search querying documentation, I haven't > found a way to extract a section of a result containing matches. Something > similar to Google's search results page where you see an excerpt of the > webpage conten

Re: riak ubuntu 11 building problems

2011-11-08 Thread Ivan Trajkovic
any idea on why this might be happening? for now Im using Ubuntu 10.04 for my riak development, but would really love to have it running on my Ubuntu 11.04 machines... ps. by accident I see I sent the last email reply to Jared personally instead of to the riak list... On Wed, Nov 2, 2011 at 4:05

Re: Riak and SEC Filings

2011-11-08 Thread Elias Levy
On Tue, Nov 8, 2011 at 7:15 AM, wrote: > Date: Tue, 8 Nov 2011 07:08:59 -0500 > From: Hector Castro > > I'm currently in the process of evaluating solutions to index the contents > of ~1TB of SEC (Securities and Exchange Commission) documents. File sizes > vary between a few KB to a couple hund

Re: erlang precommit hook error

2011-11-08 Thread Hal Eisen
I've made some progress. Looks like I was not compiling my module, nor did I have the add_paths set in app.config. However, now I'm getting a new failure: error:function_clause When I look in my erlang.log file, I see this: [{string,'tokens1',[<<"my actual data that I am trying to store before

Re: 2i for single-result lookup

2011-11-08 Thread Justin Karneges
Hi Nate, On Monday, November 07, 2011 08:31:15 PM you wrote: > I appreciate you sharing your design. But I can never understand why people > go to such great lengths to add transactions to an eventually-consistent > db. I'd agree that in many cases user registration doesn't need to be 100% avail

Re: 2i for single-result lookup

2011-11-08 Thread Greg Pascale
Thanks for all the suggestions. Let's not worry about the problem of ensuring uniqueness right now - I have that part solved separately. Rohman, this approach is what I described as a "manual index". It adds a good deal of code that I'm hoping to avoid by using 2i or search. This whole thing

Re: erlang precommit hook error

2011-11-08 Thread Hal Eisen
Sorry, typo in code. the mangle function is actually: mangle(X) -> crypto:start(), {_, Tokens} = lists:partition(fun(Arg) -> lists:member(Arg, mangle:stopwords()) end, string:tokens(riak_object:get_value(X), " ")), riak_object:update_value(X, lists:flatten(lists:map(fun(Arg) -> cryp

erlang precommit hook error

2011-11-08 Thread Hal Eisen
Hello again. I have given up on using the JavaScript precommit hook because I could not find anything which did not produce timeouts under the load for my application. So, I have ported my hook to Erlang. Alas, I'm not getting very far. I've installed my hook in /etc/riak/erl/hooks.erl. The cod

Nodes crashes on every map reduce query.

2011-11-08 Thread Alexandre Ravey
Hi, Following the Riak fast track I'm stuck at the map reduce phase. I've tried the following with devrel 4 nodes on the same box and 4 distinct virtual boxes with riak rel, same thing appends. Cluster is working fine, can put and get data, everything explained in the fast track work as expected

Re: Consistency in riak/luwak

2011-11-08 Thread Alexander Sicular
Build a retry into your client. @siculars http://siculars.posterous.com Sent from my rotary phone. On Nov 8, 2011 3:11 AM, "vuleetu" wrote: > Hi, guys > >I am using luwak as dfs, right now we have couple riak nodes like 10 > there. Here is the problem we encountered, after write file succes

Re: Riak and SEC Filings

2011-11-08 Thread Andres Jaan Tack
> > * Given that the documents total ~1TB of storage (not including the > generated indexes), does something like decreasing the n_val make sense? > Mostly the documents are bulk inserted on a daily or weekly basis – other > than that all of the operations are read-only. The N replication factor

Re: Consistency in riak/luwak

2011-11-08 Thread Jeremiah Peschka
A couple of things: I may be wrong on this (no being specifically familiar with Luwak's internals), but when using RIak there's no guarantee that the data is actually written to the node you connect to. If you connect to Node3, the data may be written to Node6, Node9, and Node1. As far as the

Re: 2i for single-result lookup

2011-11-08 Thread Kresten Krab Thorup
Or for something simple like this you can also use my riak_link_index module https://github.com/krestenkrab/riak_link_index#readme Kresten On Nov 8, 2011, at 2:45 AM, Greg Pascale wrote: > Hi, > > I'm thinking about using 2i for a certain piece of my system, but I'm worried > that t

Riak and SEC Filings

2011-11-08 Thread Hector Castro
Hello, I'm currently in the process of evaluating solutions to index the contents of ~1TB of SEC (Securities and Exchange Commission) documents. File sizes vary between a few KB to a couple hundred KB. I started evaluating Riak first because ease of setting up and expanding a cluster are prim

Re: Severe problems when adding a new node

2011-11-08 Thread John Axel Eriksson
Thanks for the emails detailing this issue - private and to the list. I've got a question for the list on our situation: As stated we did an upgrade from 0.14.2 to 1.0.1 and after that we added a new node to our cluster. This really messed things up and nodes started crashing. In the end I opted

Consistency in riak/luwak

2011-11-08 Thread vuleetu
Hi, guys I am using luwak as dfs, right now we have couple riak nodes like 10 there. Here is the problem we encountered, after write file success, the next read operation always fail. it happens when that is a little bit big file size. is there any way to get rid of that. because we want the us