Re: [RFC] Python client: move to properties

2011-09-15 Thread Greg Stein
On Wed, Sep 14, 2011 at 10:40, Russell Brown wrote: > > On 14 Sep 2011, at 12:37, Mathias Meyer wrote: > >> The short answer: yes, we can and we should. I had that on my radar for a >> while too, because it felt un-Pythonic. >> >> As for deprecation, there's no specific rule for the Python client

Re: Problems Executing Erlang Map Reduce

2011-09-15 Thread bill robertson
I finally found it after looking at the fast track tutorial again. Mistake #1 -> erlang noob Conn = riakc_pb_socket:start("127.0.0.1", 8091) is wrong, it should be {ok, Conn} = ... And after that I had the port wrong, (8081-3 for the fast track dev db's). Thanks! On Thu, Sep 15, 201

SV: Rename riak bucket ; low speed on deletion.

2011-09-15 Thread Jens Rantil
Hi Vicky, What client are you using? The protocol buffer API is generally way faster than using clients that are using the HTTP interface. Also, have you tried using multiple threads for deletion? That might give you a speed boost. The speed in riak lies partially in the fact that it is very co

Problems Executing Erlang Map Reduce

2011-09-15 Thread bill robertson
I have a 0.14.2 dev database set up from the riak fast track tutorial. I created an Erlang application that creates a new route for webmachine upon startup. configure_webmachine() -> webmachine_router:add_route( {["foo", bar, '*'], myapp_myresource, []}). I modified vm.args for all thr

Re: Leveldb and riak search?

2011-09-15 Thread Ian Plosker
Yes Ian Plosker Developer Advocate Basho Technologies On Sep 15, 2011, at 1:49 PM, Craig Muth wrote: > Great, so if we build riak 1.0.0pre3 and enable riak search in app.config > (per RELEASE-NOTES.org) and switch to > {storage_backend, riak_kv_eleveldb_backend} then

Re: Python Riak Search Returning 'NoneType' object

2011-09-15 Thread idmartin
sorry thats /usr/sbin/search-cmd -- View this message in context: http://riak-users.197444.n3.nabble.com/Python-Riak-Search-Returning-NoneType-object-tp3317538p3339705.html Sent from the Riak Users mailing list archive at Nabble.com. ___ riak-users mai

Re: Leveldb and riak search?

2011-09-15 Thread Craig Muth
Great, so if we build riak 1.0.0pre3 and enable riak search in app.config (per RELEASE-NOTES.org) and switch to {storage_backend, riak_kv_eleveldb_backend} then we'll be using leveldb for the kv backend and riak search will be in effect? --Craig On Sep 15, 2011, at 7

Re: PHP client overhaul

2011-09-15 Thread Jonathan Langevin
I'm with Joe on an extension, especially as that may gain more visibility for Riak in the PHP community as an alternative to Couch & Mongo.* Jonathan Langevin Systems Administrator Loom Inc. Wilmington, NC: (910) 241-0433 - jlange...@loomlearning.com - www.loomlear

Riak error: no_candidate_nodes, exhausted_preflist

2011-09-15 Thread Martin Woods
Hi all When running Riak recently on a development platform (Ubuntu 9.10 Server 64-bit with Riak 0.14.2) the Riak error logs reported the following termination: ** Reason for termination = ** {error, {phase_error, {error, {no_candidate_nodes,exhausted_preflist, [{riak_kv_ma

Re: Python Riak Search Returning 'NoneType' object

2011-09-15 Thread idmartin
I indexed the table with command line >> /var/sbin/search-cmd install testbucket -- View this message in context: http://riak-users.197444.n3.nabble.com/Python-Riak-Search-Returning-NoneType-object-tp3317538p3339324.html Sent from the Riak Users mailing list archive at Nabble.com. _

Retreiving data from an index

2011-09-15 Thread Antonio Fernández Vara
Hi all, I'm performing queries to an index using riak client, indexing data from models for a new Rails app. Making the first tests on the search I have found that those queries must match the case that was used. Is there some option for make the queries indiferent of the case? Or, must I take ca

Re: Leveldb and riak search?

2011-09-15 Thread Ian Plosker
Craig, Just in case I misinterpreted your question, I want to clarify. The search indexes themselves are stored in a merge_index backend, and in the future we may also support a leveldb backend for those search indexes. In terms of what storage backends work with search, all of them do. Ian Pl

Re: Leveldb and riak search?

2011-09-15 Thread Sean Cribbs
To be clear, search uses its own storage engine, merge_index, which is separate from the KV backend. LevelDB might be supported as a storage engine for search in the future (no specific plans yet, but it's possible). On Thu, Sep 15, 2011 at 9:54 AM, Ian Plosker wrote: > All backends should suppo

Re: Leveldb and riak search?

2011-09-15 Thread Ian Plosker
All backends should support Riak Search, as the index is populated by a pre-commit hook. Ian Plosker Developer Advocate Basho Technologies On Sep 14, 2011, at 6:28 PM, Craig Muth wrote: > Does the leveldb backend support riak search, or will it support it soon? > > http://wiki.basho.com/Riak-

Re: PHP client overhaul

2011-09-15 Thread Mark Steele
See http://www.control-alt-del.org/2011/09/06/building-a-better-riak-client-for-php/ I suspect the gains are only modest, perhaps I'll test it out. YMMV Cheers, Mark Steele Bering Media Inc. On Thu, Sep 15, 2011 at 4:50 AM, Joseph Lambert wrote: > How would you go about adding support for pr

Re: Link Walking with PB-Client.

2011-09-15 Thread Russell Brown
On 15 Sep 2011, at 14:26, vijayakumar wrote: > Thanks Rusell. I compiled the master code base but still I couldn't find the > way to link way in pb. Have a look at this test[1]. It is exactly the same for both HTTP and PB, it uses subclasses to create the clients, but codes to the interface.

Re: Link Walking with PB-Client.

2011-09-15 Thread vijayakumar
Thanks Rusell. I compiled the master code base but still I couldn't find the way to link way in pb. On Thu, Sep 15, 2011 at 3:21 PM, Russell Brown wrote: > > On 15 Sep 2011, at 10:46, vijayakumar wrote: > > > I learnt from the mailing list that there is no direct way to link walk > on PBClient

Re: Riak 1.0.0pre3 build is now available for download

2011-09-15 Thread Jeremiah Peschka
Strange. I copied these things out of your email and ran them and got the same error. Would this be an environmental error on my end? Got any ideas on the best place to check for what could be causing this kind of problem? --- Jeremiah Peschka - Founder, Brent Ozar PLF, LLC Microsoft SQL Server M

Re: Riak 1.0.0pre3 build is now available for download

2011-09-15 Thread David Smith
I just did the following: (dizzyd@sigr).(~/tmp)% git clone git://github.com/basho/riak riak.build.test Cloning into riak.build.test... remote: Counting objects: 11717, done. remote: Compressing objects: 100% (3643/3643), done. remote: Total 11717 (delta 7746), reused 11673 (delta 7710) Receiving o

Rename riak bucket ; low speed on deletion.

2011-09-15 Thread Vicky Khanna
Hi, Can we by any chance rename riak bucket?? Also Deletion all keys in a bucket is taking a lot of time: 30 secs for 1 records which means 3 millisecs for 1 record. I am using java client to do this. Kindly tell if I can increase the speed or rename the bucket. Thanks in Advance Vicky Khann

Re: Riak 1.0.0pre3 build is now available for download

2011-09-15 Thread Jeremiah Peschka
For what it's worth, the missing file error is coming out of deps/eleveldb/c_src/leveldb/Makefile. Line 19 in that does indeed reference a file that doesn't exist locally for me: # this file is generated by build_detect_platform to set build flags include build_config.mk --- Jeremiah Peschka -

Re: Riak 1.0.0pre3 build is now available for download

2011-09-15 Thread Jeremiah Peschka
I'm building from the git tags when I see this issue. I'll try with the source tar and see if there's a difference. --- Jeremiah Peschka - Founder, Brent Ozar PLF, LLC Microsoft SQL Server MVP On Sep 14, 2011, at 10:28 PM, David Smith wrote: > On Wed, Sep 14, 2011 at 9:21 PM, Jeremiah Peschka >

Re: Link Walking with PB-Client.

2011-09-15 Thread Russell Brown
On 15 Sep 2011, at 10:46, vijayakumar wrote: > I learnt from the mailing list that there is no direct way to link walk on > PBClient as we do with HttpClient. > Has any one implemented it on their own. If so, kindly share me the patch. You can with the 0-15-SNAPSHOT riak-java-client from master

Link Walking with PB-Client.

2011-09-15 Thread vijayakumar
I learnt from the mailing list that there is no direct way to link walk on PBClient as we do with HttpClient. Has any one implemented it on their own. If so, kindly share me the patch. Thanks. ___ riak-users mailing list riak-users@lists.basho.com http:/

Re: PHP client overhaul

2011-09-15 Thread Joseph Lambert
How would you go about adding support for protocol buffers? I think I'd prefer having a PHP extension for that. Anyone else feel that way? - Joe Lambert joseph.g.lamb...@gmail.com +86 13656213284 On Wed, Sep 14, 2011 at 10:23 PM, Kev Burns wrote: > > Riak 1.0 is coming soon. > Now would be a

Re: Github Issues for riak-java-client

2011-09-15 Thread Russell Brown
On 15 Sep 2011, at 08:44, 陈臻 wrote: > Hi, > Where is the url? https://github.com/basho/riak-java-client/issues > > There is a bug at com.basho.riak.client.operations.FetchObject line 127. > r must be Integer. > > 发件人: riak-users-boun...@lists.basho.com [riak-users-boun...@lists.basho.com]

答复: Github Issues for riak-java-client

2011-09-15 Thread 陈臻
Hi, Where is the url? There is a bug at com.basho.riak.client.operations.FetchObject line 127. r must be Integer. 发件人: riak-users-boun...@lists.basho.com [riak-users-boun...@lists.basho.com] 代表 Russell Brown [russel...@basho.com] 发送时间: 2011年9月15日 15:32 收件人: ri

Github Issues for riak-java-client

2011-09-15 Thread Russell Brown
Hi, We turned on Github issues for the riak-java-client last night. This is another way to contribute to the riak-java-client. Basho's bugzilla[1] will still be the canonical repository of bug information. Until we release 1.0, I will be taking care of manually syncing the github issues with bug