Unable to access solr port.

2011-10-20 Thread vijayakumar
Hi, I installed riaksearch-0.14 version and I am able to define schema and query records with command line interface (search-cmd). But I am facing issue when I try to query the records with solr interface. "curl http://:8098/solr/bucketname?q=" returns the following response 404 Not FoundNot F

RE: Unable to access solr port.

2011-10-20 Thread Roberto Calero
http://:8098/solr/ Date: Thu, 20 Oct 2011 13:46:18 +0530 Subject: Unable to access solr port. From: forgetvi...@gmail.com To: riak-users@lists.basho.com Hi, I installed riaksearch-0.14 version and I am able to define schema and query records with command line interface (search-cmd). But I am

Re: Hey, Python client users

2011-10-20 Thread Greg Stein
On Oct 18, 2011 11:12 AM, "Greg Stein" wrote: >... > The short answer: my branch puts connection management into the > transport, and Brett's patches puts that into the client. A decision > needs to be made, and that will determine future work. I've previously > emailed with an explanation for why

Re: Hey, Python client users

2011-10-20 Thread Russell Brown
On 20 Oct 2011, at 11:27, Greg Stein wrote: > On Oct 18, 2011 11:12 AM, "Greg Stein" wrote: > >... > > The short answer: my branch puts connection management into the > > transport, and Brett's patches puts that into the client. A decision > > needs to be made, and that will determine future wor

Re: Hey, Python client users

2011-10-20 Thread Greg Stein
On Oct 20, 2011 7:44 AM, "Russell Brown" wrote: >... > I had a chat with Reid Draper about it (he is much more pythonic than me), he concurs. I just need to do a bit more reading through the code, and unless anyone here objects (anyone? class? anyone?), I'll start work at merging your fork into th

paginate search results

2011-10-20 Thread Lyes zaiko
Hello! I need a little help. How can we obtain paginated search results by querying via the erlang command line (using search:search_doc/3)?? thank you! ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-

Re: Do not expose Riak to the Internet

2011-10-20 Thread Jonathan Langevin
Don't the other KVs implement M/R as well? If so, how is it they don't have a similar exploit? Is this issue due specifically to Basho's usage of Erlang for processing M/R? Is it possible to circumvent this type of exploit by running Erlang & Riak as unprivileged users? Seems sandboxing may be ne

List keys, new format, keys=stream

2011-10-20 Thread Jonathan Langevin
If I run a curl request to pull back a list of keys, streamed, the output has multiple empty arrays, like so: $ curl -i http://localhost:8098/buckets/User/keys?keys=stream HTTP/1.1 200 OK Vary: Accept-Encoding Transfer-Encoding: chunked Server: MochiWeb/1.1 WebMachine/1.9.0 (participate in the fra

Re: Unable to access solr port.

2011-10-20 Thread Dan Reverri
Hi Roberto, Can you try appending '/select' after the bucket name? For example: curl "http://localhost:8098/solr/books/select?start=0&rows=1&q=prog*"; I found the above query in the Riak Search documentation here: http://wiki.basho.com/Riak-Search---Querying.html Thanks, Dan Daniel Reverri

Re: List keys, new format, keys=stream

2011-10-20 Thread Jonathan Langevin
Thanks Gordon. So what is the recommended answer to this? Just skip the empty arrays? I'm asking, as I'm extending my php client to support streaming, and want to make sure we code for this properly. Thanks! On Oct 20, 2011 12:27 PM, "Gordon Tillman" wrote: > Jonathan that is correct - it is j

Re: List keys, new format, keys=stream

2011-10-20 Thread Jonathan Langevin
Perfect, thanks! On Oct 20, 2011 12:48 PM, "Gordon Tillman" wrote: > On Oct 20, 2011, at 11:40 , Jonathan Langevin wrote: > > Thanks Gordon. > > So what is the recommended answer to this? Just skip the empty arrays? > > That is exactly what I am doing with my "dump bucket" code - I have not > not

Re: Unable to access solr port.

2011-10-20 Thread vijayakumar
Hi Dan, Appending with select also doesn't help. "curl http://:8098/solr//select?q=" returns the following response 404 Not FoundNot FoundThe requested document was not found on this server.mochiweb+webmachine web server Regards, Vijay. On Thu, Oct 20, 2011 at 9:37 PM, Dan Reverri wrote: >

Re: Do not expose Riak to the Internet

2011-10-20 Thread Aphyr
On 10/20/2011 08:42 AM, Jonathan Langevin wrote: Don't the other KVs implement M/R as well? If so, how is it they don't have a similar exploit? Is this issue due specifically to Basho's usage of Erlang for processing M/R? Is it possible to circumvent this type of exploit by running Erlang & Riak

Re: List keys, new format, keys=stream

2011-10-20 Thread Mark Steele
Here's a way to properly deal with streaming chunked HTTP encoding... http://www.control-alt-del.org/2011/09/09/streaming-results-from-riak-over-http-in-php/ Just sayin' Mark On Thursday 20 October 2011 12:40:00 Jonathan Langevin wrote: > Thanks Gordon. > > So what is the recommended answe

Re: Do not expose Riak to the Internet

2011-10-20 Thread Andy Skelton
On Thu, Oct 20, 2011 at 12:27 PM, Aphyr wrote: > *** The best mapreduce system I can think of would be... I'd be happy with a configurable MR whitelist: [ mod | {mod,fun} ] Andy ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho

Improved capacity planning for Bitcask deployments

2011-10-20 Thread Greg Burd
A while ago on this list Nico Meyer did an amazingly detailed job of examining the overhead required when storing data in Riak using Bitcask (http://lists.basho.com/pipermail/riak-users_lists.basho.com/2011-May/004292.html). That post inspired me to redo our wiki page, which I just published a

Re: Do not expose Riak to the Internet

2011-10-20 Thread David Smith
On Thu, Oct 20, 2011 at 11:27 AM, Aphyr wrote: > I *do* know that multitenant mongo is vulnerable to trivial > denial-of-service vulnerabilities, thanks to a global write lock and > gleefully executing javascript everywhere. While we're talking DoS, it's > I think we can all agree it's a bad ide

Riak 1.0.1 Released

2011-10-20 Thread Mark Phillips
Hi All - We are happy to report that Riak 1.0.1 is tagged and officially ready for downloading. As Dizzy noted about a week ago[1], this is a patch-level release, and we appreciate your help in identifying and resolving numerous issues. The latest packages are available via downloads.basho.com:

newly created object not found under heavy load

2011-10-20 Thread Ivaylo Panitchkov
Hello, We are close to production and noticed that from time to time under heavy load newly created objects are not available immediately after their creation. I'm running Riak 1.0.0.rc2 under Ubuntu 11.04. allow_mult: false, last_write_wins: true, r: 'one', w: 'quorum'. Cluster of three mach

Fwd: newly created object not found under heavy load

2011-10-20 Thread Joseph Blomstedt
Ivaylo, If you're using R=1 and W=quorum then this is entirely possible. Given these settings an incoming write is only guaranteed to hit floor(N/2+1) nodes. If N=3, that would be 2 nodes. However, with R=1, you are only waiting for 1 reply before responding, which may not be one of the 2 nodes in

RE: Unable to access solr port.

2011-10-20 Thread Roberto Calero
You're right... yours is the right url. I guess my fingers were too fast in hitting the send button. Date: Thu, 20 Oct 2011 09:07:35 -0700 Subject: Re: Unable to access solr port. From: d...@basho.com To: roberto_cal...@hotmail.com CC: forgetvi...@gmail.com; riak-users@lists.basho.com Hi Roberto

RE: Unable to access solr port.

2011-10-20 Thread Roberto Calero
Did you enable the bucket to be indexed? Date: Thu, 20 Oct 2011 22:41:56 +0530 Subject: Re: Unable to access solr port. From: forgetvi...@gmail.com To: d...@basho.com CC: roberto_cal...@hotmail.com; riak-users@lists.basho.com Hi Dan, Appending with select also doesn't help. "curl ht

RE: Riak 1.0

2011-10-20 Thread Jim Adler
I tried the Bitcask-to-LevelDB procedure on 1.0.1 to switch my backend from Bitcask to LevelDB. I have one node on Bitcask with my data and the other node with a fresh LevelDB backend. When I join the fresh LevelDB node, I get the following error: Failed: r...@xx.xx.xx.xx has a different ring_c

Re: secondary indexes: how to know the saved indexes for a key?

2011-10-20 Thread Nate Lawson
On Oct 20, 2011, at 8:35 PM, Antonio Rohman Fernandez wrote: > Hi All, > > Imagine that I store "some_item" with key "some_key" into a "products" bucket > with a category "whatever" and a price "300". > I save it using cURL like this: > > $data = 'some_item'; > $key = 'some_key'; >

Re: secondary indexes: how to know the saved indexes for a key?

2011-10-20 Thread Antonio Rohman Fernandez
Hi Nate, Thanks for your answer... I also thought of that, having the values as a JSON object inside the data... but I was hoping there was some way to check the indexes without having to put more data into the objects. Thanks On Thu, 20 Oct 2011 21:38:58 -0700, Nate Lawson wrote: > On Oc

Time a link was created?

2011-10-20 Thread Andrew Fisher
Hi all, I'm using the python bindings for Riak so there may be an element of this being obscured due to the library. I'm creating a link between two objects - I can establish it, query it and tag it so that part is working great. What I want to do now is determine the date/time a link was created