mi_server lookup/range failure for search queries (only in cluster setup)

2012-12-10 Thread Abhinav Singh
Hi, We are facing 500 Internal Server Error for a search queries and amazingly it fails only in cluster mode (i.e. with more than one riak node running). We have following single node setup to start with: $ ./bin/riak-admin member-status = Membership

Re: Mal Reduce Exception: {phase:0,error:[timeout],input:

2012-12-10 Thread Shane McEwan
G'day David, It looks like you might be hitting this bug: https://github.com/basho/riak_kv/issues/290 It doesn't look like there's an easy fix unless you want to backport the patch into your current system. :-( Shane. On 10/12/12 04:03, David Montgomery wrote: Hi, I am having an

Re: Mal Reduce Exception: {phase:0,error:[timeout],input:

2012-12-10 Thread rkevinburton
I am trying to build and install riak from source on a CentOS 6.2 Machine. I get to 'make rel' and I get: fatal: Not a git repository (or any of the parent directories): .git ./rebar get-deps /usr/bin/env: escript: No such file or directory make: *** [deps] Error 127 Suggestions? Thank you.

Install from source

2012-12-10 Thread rkevinburton
I am trying to build and install riak from source on a CentOS 6.2 Machine. I get to 'make rel' and I get: fatal: Not a git repository (or any of the parent directories): .git ./rebar get-deps /usr/bin/env: escript: No such file or directory make: *** [deps] Error 127 Suggestions? Thank you.

Re: Install from source

2012-12-10 Thread Brian Sparrow
Hello, This means that rebar cannot find erlang on your system most likely because it is not on your PATH. The docs[1] on installing from source on CentOS should help you out. Also, don't forget the section on installing Erlang. Thanks [1]

Re: python map reduce and secondary indexes

2012-12-10 Thread Bryan Fink
On Sat, Dec 8, 2012 at 2:12 AM, David Montgomery davidmontgom...@gmail.com wrote: Given that map reduce is the primary way of getting data out of riak Hi, David. MapReduce is not the primary way of getting data out of Riak. Primary-key reads serve that purpose. Even for reading indexes, there

Re: problem counting items with MapReduce

2012-12-10 Thread Bryan Fink
On Sat, Dec 8, 2012 at 6:11 AM, Antonio Rohman Fernandez roh...@mahalostudio.com wrote: ** QUERY: { inputs:{bucket:sales,index:sex_bin,key:male}, query:[ {map: {language:javascript,source:function(v,k,a) { var m = v.values[0].data.match(\1981\); if (m != null) { return [v.key];

Synchronous Writes to Remote Cluster

2012-12-10 Thread Ben Rowland
Hi, We're building a distributed storage API, which must be highly available across several globally distant data-centres. A specific requirement is that a user of the API must see a write as successful iff the data has been successfully written to a node in at least 2 data-centres. This is to

Re: error with MR and someone had painted it blue

2012-12-10 Thread Bryan Fink
On Sun, Dec 9, 2012 at 2:25 AM, David Montgomery davidmontgom...@gmail.com wrote: I am trying to run a mr. I get the below error. Other than a 500 error...I dont see any other means to debug. What does the error mean? Hi, David. The clues are here:

Installing from source

2012-12-10 Thread rkevinburton
Should I be concerned about the messages at the end of the ./configure for Erlang? * ** APPLICATIONS DISABLED ** *

Re: Synchronous Writes to Remote Cluster

2012-12-10 Thread Reid Draper
Hey Ben, I'm not aware of any off-the-shelf tool that does exactly what you're looking for. Riak's multi-dc replication is not synchronous (naive synchronous replication _reduces_ availability). In order to have synchronous multi-dc replication that doesn't decrease availability, you'd need to

Cluster setup

2012-12-10 Thread rkevinburton
I am looking at http://docs.basho.com/riak/latest/cookbooks/Basic-Cluster-Setup/ which provides me with a lot of information. But I have one question. I have a source distribution and I have already done 'make rel'. Once I have performed all of the steps outlined in setting up a cluster how do

Re: Cluster setup

2012-12-10 Thread Kevin Burton
I did these steps and while I see that Riak has been added to the system files (like /etc/riak). I don't see any links to auto start like in init.d. Do I add these links manually? On Dec 10, 2012, at 11:32 AM, Jared Morrow ja...@basho.com wrote: If you are looking install and /etc/init.d

Re: Cluster setup

2012-12-10 Thread Jared Morrow
The init.d script for RIak is included in the RPM. If you list the file contained in the RPM do you see the init.d/riak script? If you do have that file, you'll need to add the rc.d scripts by hand to auto-start / auto-stop on startup / shutdown or use a tool like `chkconfig`

Re: Cluster setup

2012-12-10 Thread Kevin Burton
The first node started up without error (/etc/init.d/riak start). But nodes 2 and 3 failed to start. I looked in /var/log/riak/error.log and found about three lines with {error,eaddrnotavail} in the error message. What does this mean? Is there a work around? I don't understand why this address

Re: Cluster setup

2012-12-10 Thread Jared Morrow
Are you trying to start all nodes on the same machine/vm? Each riak node needs to be on its own machine, unless you are simply trying to test out a development environment. In that case, you need to look at

Re: Cluster setup

2012-12-10 Thread Kevin Burton
Each node is on a separate machine. This not a development build. The instructions just indicate that I should start the Riak Server but does not indicate what should be done when it doesn't start. On Dec 10, 2012, at 1:52 PM, Jared Morrow ja...@basho.com wrote: Are you trying to start all

Re: Cluster setup

2012-12-10 Thread Sean Carey
Kevin, Send us more detailed logs of the startup error. Also a copy /etc/riak/app.config on the machine where the error is happening, and also the output of `netstat -tln` -Sean On Monday, December 10, 2012 at 2:56 PM, Kevin Burton wrote: Each node is on a separate machine. This not a

Re: Cluster setup

2012-12-10 Thread Sean Carey
Look at the section in your config called pb_ip. The ip is wrong. On Monday, December 10, 2012 at 4:02 PM, rkevinbur...@charter.net wrote: I moved on to the next step and from the seed node I execute 'sudo riak-admin cluster join riak@10.79.110.52 (mailto:riak@10.79.110.52)' and I get

Re: Cluster setup

2012-12-10 Thread rkevinburton
I cannot see the problem it is 10.79.110.52. Isn't that the address of this node? I looked at the end of erlang.log.a and see the following errors: = = LOGGING STARTED Mon Dec 10 21:03:57 UTC 2012 = Exec: /usr/lib64/riak/erts-5.9.1/bin/erlexec -boot

Re: Installing from source

2012-12-10 Thread Kota Uenishi
Is that erlang for Riak? Riak uses none of those mentioned by ./configure - so, go ahead. On Tue, Dec 11, 2012 at 1:41 AM, rkevinbur...@charter.net wrote: Should I be concerned about the messages at the end of the ./configure for Erlang?

Re: error with MR and someone had painted it blue

2012-12-10 Thread Lex H
Hi, It looks like I'm running into this bug quite often. What is the release date schedule for the next Riak release that would include this fix? Cheers, Lexual. On Tue, Dec 11, 2012 at 3:34 AM, Bryan Fink br...@basho.com wrote: On Sun, Dec 9, 2012 at 2:25 AM, David Montgomery

log configuration not effective.

2012-12-10 Thread Kevin Burton
I have the following lines in app.config {platform_bin_dir, /usr/sbin}, {platform_data_dir, /mnt/datadrive/riak/data}, {platform_etc_dir, /etc/riak}, {platform_lib_dir, /usr/lib64/riak/lib}, {platform_log_dir,

Re: log configuration not effective.

2012-12-10 Thread Andrew Thompson
Look under 'lager' in app.config for the logfile paths. Andrew ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com