Riak Erlang Client 2.5.3 released

2017-03-06 Thread Luke Bakken
Hi everyone - Version 2.5.3 of the Riak Erlang client is available from both GitHub and hex.pm. This is the first version published to hex.pm from Basho, and I'd like to thank Drew Kerrigan for his assistance in getting that set up. https://hex.pm/packages/riakc https://github.com/basho

Re: Associating Riak CRDT Sets to Buckets / Keys via Erlang Client

2016-11-17 Thread Vikram Lalit
;> bucket-type datasource equated to 'set'. Unfortunately though, from the >> documentation, I'm not able to ascertain how to associate a created set >> with an existing bucket and a new key reference if I use the Erlang client. >> This seems possible for other lang

Re: Associating Riak CRDT Sets to Buckets / Keys via Erlang Client

2016-11-17 Thread Magnus Kessler
ket-type datasource equated to 'set'. Unfortunately though, from the > documentation, I'm not able to ascertain how to associate a created set > with an existing bucket and a new key reference if I use the Erlang client. > This seems possible for other languages but not for E

Associating Riak CRDT Sets to Buckets / Keys via Erlang Client

2016-11-16 Thread Vikram Lalit
#x27;m not able to ascertain how to associate a created set with an existing bucket and a new key reference if I use the Erlang client. This seems possible for other languages but not for Erlang, with the Basho doc mentioning "%% Sets in the Erlang client are opaque data structures that colle

Re: Erlang client map reduce?

2016-10-12 Thread Luke Bakken
t; the erlang client in erl. I didn’t see in the documentation how to do a map > reduce with a bucket type. I have the bucket type and the bucket. I want to > map reduce to basically filter out any documents whose createTime(which is > just int/number) is less then 24 hours and return those. I

Erlang client map reduce?

2016-09-29 Thread Brandon Martin
So I am trying to figure out how to do a map reduce on a bucket type with the erlang client in erl. I didn’t see in the documentation how to do a map reduce with a bucket type. I have the bucket type and the bucket. I want to map reduce to basically filter out any documents whose createTime

Riak Erlang Client 2.4.1 released

2016-07-11 Thread Luke Bakken
Hi everyone - I just released version 2.4.1 of the Erlang client. The main feature is support for OTP 19 in the client itself and its dependencies. Dialyzer appears to be making erroneous warnings at this point that will be addressed in the future. https://github.com/basho/riak-erlang-client

Re: Riak Erlang Client 2.4.0 released

2016-07-08 Thread DeadZen
w00t On Friday, July 8, 2016, Luke Bakken wrote: > Hi everyone - > > I just released version 2.4.0 of the Erlang client. The main feature > is support for both Riak KV and Riak TS. > > https://github.com/basho/riak-erlang-client/releases/tag/2.4.0 > > https://github.com/

Riak Erlang Client 2.4.0 released

2016-07-08 Thread Luke Bakken
Hi everyone - I just released version 2.4.0 of the Erlang client. The main feature is support for both Riak KV and Riak TS. https://github.com/basho/riak-erlang-client/releases/tag/2.4.0 https://github.com/basho/riak-erlang-client/blob/master/RELNOTES.md https://github.com/basho/riak-erlang

Re: riak-erlang-client

2016-05-25 Thread Richard Jonas
Thank you for the quick answer. On Wed, May 25, 2016 at 4:13 PM, Nick Marino wrote: > Hi Richard, > > Yes, sharing a riak-erlang-client connection process among multiple Erlang > processes should not cause any problems. The riak_pb_socket processes are > implemented using a gen_s

Re: riak-erlang-client

2016-05-25 Thread Nick Marino
Hi Richard, Yes, sharing a riak-erlang-client connection process among multiple Erlang processes should not cause any problems. The riak_pb_socket processes are implemented using a gen_server, and they use a queuing mechanism to handle concurrent requests. If process A has sent a request and is

riak-erlang-client

2016-05-25 Thread Richard Jonas
Guys, most of the examples I can see that riak erlang client processes cannot be shared with multiple processes. Is it safe if more processes use the same riak connection? So in other words: is riak erlang client thread-safe? Thanks -- Richard Jonas Erlang Solutions Hungary Kft Address

Re: Connection multiplexing in the Erlang client

2016-01-03 Thread Matthew Von-Maszewski
ty maintained PBC pooling ‎libraries in the > > Erlang sub-section of this page: > > > > ‎http://docs.basho.com/riak/latest/dev/using/libraries/#Community-Libraries > > <http://docs.basho.com/riak/latest/dev/using/libraries/#Community-Libraries> > > > > II was

Re: Connection multiplexing in the Erlang client

2016-01-02 Thread Paulo Almeida
gt; > > You can find a list of community maintained PBC pooling ‎libraries in > the Erlang sub-section of this page: > > > > ‎ > http://docs.basho.com/riak/latest/dev/using/libraries/#Community-Libraries > > > > II was under the impression that Riak Erlang

Re: Connection multiplexing in the Erlang client

2016-01-02 Thread Paulo Almeida
n Thu, Dec 31, 2015 at 5:21 PM, Luke Bakken wrote: > Hi Paulo, > > Why are you considering this? Are you running into issues or > limitations using the current Erlang client? > > -- > Luke Bakken > Engineer > lbak...@basho.com > > On Thu, Dec 31, 2015 at 1

Re: Connection multiplexing in the Erlang client

2015-12-31 Thread Luke Bakken
Hi Paulo, Why are you considering this? Are you running into issues or limitations using the current Erlang client? -- Luke Bakken Engineer lbak...@basho.com On Thu, Dec 31, 2015 at 12:47 AM, Paulo Almeida wrote: > > Hi, > > A poolboy or other connection pool based solution still

Re: Connection multiplexing in the Erlang client

2015-12-31 Thread Russell Brown
f this page: > > ‎http://docs.basho.com/riak/latest/dev/using/libraries/#Community-Libraries > > II was under the impression that Riak Erlang client ships with poolboy ‎so > I'm uncertain of the distinction between the different libraries listed. > > Perhaps someone cou

Re: Connection multiplexing in the Erlang client

2015-12-31 Thread Paulo Almeida
Community-Libraries > > II was under the impression that Riak Erlang client ships with poolboy ‎so > I'm uncertain of the distinction between the different libraries listed. > > Perhaps someone could comment to clarify? > > Bryan > > > > *From: *Paulo Almeida &g

Re: Connection multiplexing in the Erlang client

2015-12-31 Thread Russell Brown
Hi Paulo, Riak-erlang-client does not support multiplexing. In fact I believe there would be some work needed on the riak protocol buffers server code to support multiplexing. Riak-erlang-clinet does not use a pool (like poolboy) either. Cheers Russell On 31 Dec 2015, at 01:59, Bryan Hunt

Re: Connection multiplexing in the Erlang client

2015-12-30 Thread Bryan Hunt
: ‎http://docs.basho.com/riak/latest/dev/using/libraries/#Community-LibrariesII was under the impression that Riak Erlang client ships with poolboy ‎so I'm uncertain of the distinction between the different libraries listed.Perhaps someone could comment to cl

Connection multiplexing in the Erlang client

2015-12-30 Thread Paulo Almeida
Hi, Does the Erlang Riak client support multiplexing multiple concurrent calls in a single TCP connection? Specifically when using the PB interface (riakc_pb_socket:start_link). Thanks. Regards, Paulo ___ riak-users mailing list riak-users@lists.basho

Re: How to create a flag type (context_required) using riak-erlang-client/riakc_flag

2015-08-06 Thread Russell Brown
Hi, It’s a long story. The short answer is: you can’t with that client, it has strong opinions so the best thing to do is this: have your app interpret the absence of a flag as false (the bottom/default value for a flag.) The long story: the semantic for the flag is “observed remove” or “add-wi

How to create a flag type (context_required) using riak-erlang-client/riakc_flag

2015-08-06 Thread 王昊
When I try this in Erlang:(saving a new Map object to a bucket through ) Map = riakc_map:new(), Map1 = riakc_map:update({<<"published_b">>, flag}, fun(F) -> riakc_flag:disable(F) end, Map); I got context_required. How could I create a false flag? I tried ena

erlang client

2015-02-01 Thread Michael Martin
Hello, I'm working on a little e2 application that needs to put/get data to/from riak. I apparently have a misunderstanding about some things. I can successfully put and get key-value pairs to a bucket using the erlang client. However, when I try to curl the data out, I get nothing. In

Re: riak-erlang-client

2014-09-29 Thread Sean Cribbs
ussell Brown > wrote: >> Have you included the deps/riak_pb/ebin in your erlang path? >> >> On 29 Sep 2014, at 17:18, Jon Brisbin wrote: >> >> I’m trying to use the riak-erlang-client from master to talk to Riak 2.0 >> and >> I’m getting an error when I use the

Re: riak-erlang-client

2014-09-29 Thread Jon Brisbin
included the deps/riak_pb/ebin in your erlang path? > > On 29 Sep 2014, at 17:18, Jon Brisbin wrote: > > I’m trying to use the riak-erlang-client from master to talk to Riak 2.0 and > I’m getting an error when I use the test commands found in the README: > >

Re: riak-erlang-client

2014-09-29 Thread Sean Cribbs
in your erlang path? > > On 29 Sep 2014, at 17:18, Jon Brisbin wrote: > > I’m trying to use the riak-erlang-client from master to talk to Riak 2.0 and > I’m getting an error when I use the test commands found in the README: > > (rabbit@localhost)1> {ok, Pid} = riakc_pb_socke

Re: riak-erlang-client

2014-09-29 Thread Russell Brown
Have you included the deps/riak_pb/ebin in your erlang path? On 29 Sep 2014, at 17:18, Jon Brisbin wrote: > I’m trying to use the riak-erlang-client from master to talk to Riak 2.0 and > I’m getting an error when I use the test commands found in the README: > > (rabbit@localhost

riak-erlang-client

2014-09-29 Thread Jon Brisbin
I’m trying to use the riak-erlang-client from master to talk to Riak 2.0 and I’m getting an error when I use the test commands found in the README: (rabbit@localhost)1> {ok, Pid} = riakc_pb_socket:start_link("127.0.0.1", 8087). {ok,<0.685.0>} (rabbit@localhost)2> ri

Re: Streaming keys with the Erlang client

2014-08-22 Thread István
tion of this doc has Erlang samples, including > an example for how to stream: > > http://docs.basho.com/riak/2.0.0/dev/using/2i/#Querying > > Luc > > > On Thu, Aug 21, 2014 at 10:38 AM, István wrote: > >> Let me answer my own question, yes all of these are supporte

Re: Streaming keys with the Erlang client

2014-08-21 Thread Luc Perkins
: > Let me answer my own question, yes all of these are supported in the > Erlang client. > > The function I was looking for is get_index_eq: > > > http://basho.github.io/riak-erlang-client/riakc_pb_socket.html#get_index_eq-5 > > Regards, > Istvan > > > O

Re: Streaming keys with the Erlang client

2014-08-21 Thread István
Let me answer my own question, yes all of these are supported in the Erlang client. The function I was looking for is get_index_eq: http://basho.github.io/riak-erlang-client/riakc_pb_socket.html#get_index_eq-5 Regards, Istvan On Thu, Aug 21, 2014 at 10:32 AM, István wrote: > Hi guys, &g

Streaming keys with the Erlang client

2014-08-21 Thread István
max_results Is any of these available in the Erlang client? Thank you in advance, Istvan -- the sun shines for all ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Re: Facing exception error in riak-erlang client in erlang shell while doing Mapreduce

2014-05-17 Thread Steve Vinoski
This is caused by a pattern mismatch in your shell. Your left-hand side of the assignment is {ok, [{0, [S]}]} which indicates that the list returned inside the inner tuple is going to have only a single element, S. If you change it to: {ok, [{0, S}]} it will work, assuming S is not already prev

Re: Facing exception error in riak-erlang client in erlang shell while doing Mapreduce

2014-05-17 Thread Gopi Krishna
Hi, I got it. very much thanks,one more doubt please clarify it. same thing i have done for another bucket called "test" which contains data in the form of key, value. but when i do map reduce i am getting the following: {ok, [{0,[S]}]} = riakc_pb_socket:mapred(Pid,<<"test">>,[{map,{qfun,Maps},

Re: Facing exception error in riak-erlang client in erlang shell while doing Mapreduce

2014-05-17 Thread Steve Vinoski
On Sat, May 17, 2014 at 10:04 AM, Gopi Krishna wrote: > Hi, > > I am getting the following , don't know what was happening could you > please elaborate and explain the solution to this. > > I am working on erlang-riak-client. > > > 1> {ok, Pid} = riakc_pb_socket:start_link('127.0.0.1',10017). > {

Facing exception error in riak-erlang client in erlang shell while doing Mapreduce

2014-05-17 Thread Gopi Krishna
Hi, I am getting the following , don't know what was happening could you please elaborate and explain the solution to this. I am working on erlang-riak-client. 1> {ok, Pid} = riakc_pb_socket:start_link('127.0.0.1',10017). {ok,<0.34.0>} 2> 2> 2> Object = riakc_obj:new(<<"test_age">>, <<"test1">>

Problem with r_object and riak-erlang-client compatibility

2014-05-14 Thread Alex Turkin
3.nabble.com/Problem-with-r-object-and-riak-erlang-client-compatibility-tp4031118.html Sent from the Riak Users mailing list archive at Nabble.com. ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Re: riak-erlang-client, riak HTTP API, riak search

2014-05-08 Thread Brisa Anahi Jimenez Flores
want to save buckets through riak-erlang-client. > > If I save a bucket through HTTP API, I get search results (search-cmd and > solr interface), but, If I save through riak-erlang-client, I don't have any > results. > > I tried to save the same bucket/key/value through

riak-erlang-client, riak HTTP API, riak search

2014-05-08 Thread Brisa Anahi Jimenez Flores
Hi everybody! I'm using riakc, branch 1.4 and riak-1.4.7. I want to save buckets through riak-erlang-client. If I save a bucket through HTTP API, I get search results (search-cmd and solr interface), but, If I save through riak-erlang-client, I don't have any results. I tried to sav

Re: riak 2.0 erlang client issue

2014-03-21 Thread Buri Arslon
9:44 AM, Buri Arslon wrote: > >> Hi guys! >> >> I'm playing with Riak 2.0 pre15. I also updated riakc-erlang-client to >> the latest. I'm getting an error. Any hints? Thanks! >> >> >> ERROR: >> >>

Re: riak 2.0 erlang client issue

2014-03-21 Thread Sean Cribbs
Buri, riak_pb_messages is a module generated by rebar at build time. Do you have the latest riak_pb dependency? How did you build the client? On Fri, Mar 21, 2014 at 9:44 AM, Buri Arslon wrote: > Hi guys! > > I'm playing with Riak 2.0 pre15. I also updated riakc-erlang-client t

riak 2.0 erlang client issue

2014-03-21 Thread Buri Arslon
Hi guys! I'm playing with Riak 2.0 pre15. I also updated riakc-erlang-client to the latest. I'm getting an error. Any hints? Thanks! ERROR: --- (main@abc)5> {ok, Pid} = riakc_pb_socket:start_link("127.0.0.1", 8087). {ok,

Re: Any docs on Yokozuna with erlang client?

2014-03-20 Thread Buri Arslon
m/riak/2.0.0pre11/dev/using/search/ > > On Thu, Mar 20, 2014 at 10:28 AM, Buri Arslon wrote: > > Hi guys! > > > > In yokozuna github page, I see only http examples. Do you have any docs > for > > erlang client? > > > > thanks, > > Buriwoy >

Re: Any docs on Yokozuna with erlang client?

2014-03-20 Thread Hector Castro
see only http examples. Do you have any docs for > erlang client? > > thanks, > Buriwoy > > ___ > riak-users mailing list > riak-users@lists.basho.com > http://lists.basho.com/mailman

Any docs on Yokozuna with erlang client?

2014-03-20 Thread Buri Arslon
Hi guys! In yokozuna github page, I see only http examples. Do you have any docs for erlang client? thanks, Buriwoy ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Re: Storing JSON via Erlang Client

2013-10-17 Thread Daniil Churikov
To Konstantin Kalin: This is not a good place to start discussion about NIFS, but check this http://ferd.ca/rtb-where-erlang-blooms.html especially last passage. -- View this message in context: http://riak-users.197444.n3.nabble.com/Storing-JSON-via-Erlang-Client-tp4029489p4029509.html Sent

Re: Storing JSON via Erlang Client

2013-10-17 Thread Konstantin Kalin
;, <<"my_key">>, >> <<"{\"key\":\"\val\"}">>, >> <<"application/json">>), >> ok = riakc_pb_socket:put(Worker, Obj), >> ok = riakc_pb_socket:stop(Worker). >> >> >> >

Re: Storing JSON via Erlang Client

2013-10-17 Thread Christopher Meiklejohn
w(<<"my_bucket">>, <<"my_key">>, <<"{\"key\":\"\val\"}">>, > > <<"application/json">>), > > ok = riakc_pb_socket:put(Worker, Obj), > > ok = riakc_pb_socket:stop(Worker). > > > > &

Re: Storing JSON via Erlang Client

2013-10-17 Thread Eric Redmond
y_key">>, > <<"{\"key\":\"\val\"}">>, > <<"application/json">>), > ok = riakc_pb_socket:put(Worker, Obj), > ok = riakc_pb_socket:stop(Worker). > > > > > -- > View this message in c

Re: Storing JSON via Erlang Client

2013-10-17 Thread Daniil Churikov
pb_socket:put(Worker, Obj), ok = riakc_pb_socket:stop(Worker). -- View this message in context: http://riak-users.197444.n3.nabble.com/Storing-JSON-via-Erlang-Client-tp4029489p4029491.html Sent from the Riak Users mailing list archive at Nabble.com. _

Storing JSON via Erlang Client

2013-10-16 Thread Ari King
Hi, Does anyone know of any examples illustrating how to store json values via the erlang client? I've recently started learning riak & erlang, so straight forward/simple examples would be appreciated. Thanks. -Ari ___ riak-users mailing

Riak mapred with key filtering using Erlang client

2013-08-23 Thread Maciek Borzecki
aialble in erlang client and how it is to be used correctly? According to online documentation from here: http://docs.basho.com/riak/latest/dev/using/keyfilters/#Constructing-key-filters call is to be done like this (docs for 1.2 through 1.4 have the same example): : riakc_pb_socket:

Re: Riak Erlang client documentation

2013-08-19 Thread Sean Cribbs
Hi Michal, Sorry for the delay, it has just been updated. On Mon, Aug 19, 2013 at 3:04 PM, Michał Ptaszek wrote: > Hi, > > are there any plans for keeping the Erlang edoc page up-to-date with the > current state of the library (http://basho.github.io/riak-erlang-client/)? >

Riak Erlang client documentation

2013-08-19 Thread Michał Ptaszek
Hi, are there any plans for keeping the Erlang edoc page up-to-date with the current state of the library (http://basho.github.io/riak-erlang-client/)? Current version seems to be pretty old (Generated by EDoc, Nov 1 2012, 15:19:50): the latest API is not in sync with what we have in 1.4.1 tag

[ANN] Riak Erlang Client 1.4.0

2013-07-29 Thread Sean Cribbs
Hi Riak Users, It seems I have failed to mention that we tagged 1.4.0 of the riak-erlang-client a few weeks ago! This includes support for all Riak 1.4 features and some other niceties that were picked up along the way. https://github.com/basho/riak-erlang-client/releases/tag/1.4.0 -- Sean

Re: A story about unexpected changes in riak-erlang-client dependencies

2013-04-09 Thread Dmitry Demeshchuk
You can also list all the dependencies explicitly, with tags or refs, in top-level rebar.config. Of course, if dependencies list changes for whatever reason (it happened to Riak's Erlang client once), you'll still be in trouble. On Tue, Apr 9, 2013 at 10:48 AM, Daniil Churikov wrote

Re: A story about unexpected changes in riak-erlang-client dependencies

2013-04-09 Thread Daniil Churikov
recursively lock all deps on same commit. -- View this message in context: http://riak-users.197444.n3.nabble.com/A-story-about-unexpected-changes-in-riak-erlang-client-dependencies-tp4027582p4027594.html Sent from the Riak Users mailing list archive at Nabble.com

Re: A story about unexpected changes in riak-erlang-client dependencies

2013-04-09 Thread Jared Morrow
In regards to 3rd parties, we've generally had good luck asking the developer to make a tag for us or to merge a branch that has fixed dependencies. I do agree it is a problem, but it is one that can be fixed. Sorry you ran into problems in any of our repos, we are working to fix our process a bi

Re: A story about unexpected changes in riak-erlang-client dependencies

2013-04-09 Thread Yuri Lukyanov
Glad to hear you are moving away from master dependencies. Would be great if all of us follow this way. It's sad that even if you completely sorted out your own deps and rebar.conig's, it does not solve the problem in general. You may still want to use third-party deps which are not necessary good

Re: A story about unexpected changes in riak-erlang-client dependencies

2013-04-09 Thread Reid Draper
Yuri, You're certainly not the only one dealing with this. Sorry about that. It's bit us here at Basho a few times too. As you saw, we're moving toward not having master dependencies, at least for tagged versions of repos. Especially for projects that are likely to be dependencies in other proj

A story about unexpected changes in riak-erlang-client dependencies

2013-04-09 Thread Yuri Lukyanov
Hi, To begin with, I almost fucked up production servers with these changes in riak_pb: https://github.com/basho/riak_pb/commit/2505ff1fa3975b93150d7445b6f7b91940ecb970 Well, this issue boils down to commonly known rebar-related problem. I was even hesitating which mailing list I should've sent t

Re: erlang client tests

2013-02-05 Thread Sean Cribbs
It's not automatic, but you can use the memory backend, and add the {test, true} setting to the riak_kv section of app.config. Then when you want to clear them, riak_kv_memory_backend:reset(). (From your test suite you might need to rpc:call/4 that). On Tue, Feb 5, 2013 at 7:16 AM, Pablo Vieytes

Riak Search Using Riak Erlang Client

2013-01-18 Thread Jorge Garrido
Hi I've implemented a riak search using riak-erlang-client like this: First I put an object into Riak using erlang: $ erl -pa > ObjUser1 = riakc_obj:new(<<”users”>>, <<”user_one”>>, [{name, mario}, {age, 10}]). >

Re: riak-erlang-client ping problem

2012-12-12 Thread Olav Frengstad
netstat: # netstat -nlt [1] http://docs.basho.com/riak/latest/references/Configuration-Files/#app-config Olav 2012/12/12 Pablo Vieytes : > Hi, > I'm new with Riak. I'm trying to use riak-erlang-client but I have some > problems. > > I can connect with the browser t

Re: riak-erlang-client ping problem

2012-12-12 Thread Eric Redmond
You're pinging the protocol buffer port 8091. HTTP is on another port, check your app.config setting. Eric On Dec 12, 2012, at 6:23 AM, Pablo Vieytes wrote: > Hi, > I'm new with Riak. I'm trying to use riak-erlang-client but I have some > problems. > > I c

Re: riak-erlang-client ping problem

2012-12-12 Thread Pablo Vieytes
solved I just had to connect to the Protobuf Port instead of http port. 2012/12/12 Pablo Vieytes > Hi, > I'm new with Riak. I'm trying to use riak-erlang-client but I have some > problems. > > I can connect with the browser to localhost:8091 > > http://loca

riak-erlang-client ping problem

2012-12-12 Thread Pablo Vieytes
Hi, I'm new with Riak. I'm trying to use riak-erlang-client but I have some problems. I can connect with the browser to localhost:8091 http://localhost:8091/ping -> ok But I can do a ping with the erlang client. 1> {ok, Pid} = riakc_pb_socket:start_link("127.0.0.1&quo

Re: A bunch of Erlang client questions

2012-11-27 Thread Bryan Fink
On Tue, Nov 27, 2012 at 11:41 AM, Alex Rønne Petersen wrote: >> In short, the proper way to replace an object is to first fetch the >> existing object, then update the value of what you fetched, then use >> riakc_pb_socket:put to write the new value. The reason for doing this >> is to comply with

Re: A bunch of Erlang client questions

2012-11-27 Thread Alex Rønne Petersen
new object)? > > This one is answered in the "Modifying Data" section of the README: > > https://github.com/basho/riak-erlang-client/blob/master/README.md#modifying-data I don't know how I managed to miss that. Thanks! > > In short, the proper way to replace an object

Re: A bunch of Erlang client questions

2012-11-27 Thread Bryan Fink
y to replace the object associated with a bucket/key > pair to simply do a riakc_pb_socket:put/2 with the same bucket/key > pair (with a new object)? This one is answered in the "Modifying Data" section of the README: https://github.com/basho/riak-erlang-client/blob/master/README.md#m

A bunch of Erlang client questions

2012-11-26 Thread Alex Rønne Petersen
(with a new object)? * What exactly is the purpose of riakc_obj:update_value/2 (with regards to the above question)? * How does one associate a secondary index with an object? Is this done via riakc_obj:update_metadata/2? * Is there any particular reason the Erlang client doesn't yet support

Re: Building riak-erlang-client

2012-10-25 Thread Martin Woods
Hi Dave Thanks for the reply. The warnings you posted on the gist do indeed match those we see. We're building Riak against R15B01 but the Erlang client against R15B02 as this is embedded in our own Erlang app running on a separate server. I don't think the errors reported agains

Re: Building riak-erlang-client

2012-10-25 Thread David Parfitt
Hello Martin - Yes, riak-erlang-client 1.3.1 is the latest tag that you should be using to build from Github. The protobuffs implementation produces several warnings during compilation. I attached the output of 'make' and 'rebar eunit' using Erlang R15B01 to the gist [1]

Building riak-erlang-client

2012-10-25 Thread Martin Woods
Hi We're in the process of upgrading Riak to 1.2.1 and have a question regarding the correct stable version of the riak-erlang-client to use within our Erlang app against this version of Riak. It seems that we should be cloning riak-erlang-client from github and using the state of the co

Re: riak-erlang-client issue with Riak EE 1.2

2012-09-07 Thread Ryan Zezeski
Julian, On Thu, Aug 16, 2012 at 6:51 PM, Julian wrote: > > > One of the intriguing things I find is that the exception is listed as > occuring in one of my own processes that is doing json decoding, however I > have checked the json by saving it to a file and it does not contain the > data shown

Re: riak-erlang-client issue with Riak EE 1.2

2012-08-29 Thread Sean Cribbs
I have pushed to the gh-pages branch a newly-generated edoc, which includes the changes Dave mentioned. They should be live now at http://basho.github.com/riak-erlang-client On Wed, Aug 29, 2012 at 10:54 PM, Dave Parfitt wrote: > Hi Julian - >The riak-erlang-client docs definitely need

Search API question (was: riak-erlang-client issue with Riak EE 1.2)

2012-08-29 Thread Julian
s is related to indexing or something like that? Unfortunately, I did not configure our Riak search and can't say definitively whether I have secondary indices on those or not. Thanks Julian On Wed, Aug 29, 2012 at 12:54 PM, Dave Parfitt wrote: > Hi Julian - >The riak-erlang-client

Re: riak-erlang-client issue with Riak EE 1.2

2012-08-29 Thread Dave Parfitt
Hi Julian - The riak-erlang-client docs definitely need to be updated for search, index, and map/reduce. In the meantime, if you notice on this line: https://github.com/basho/riak-erlang-client/blob/master/src/riakc_pb_socket.erl#L635 you'll see that the type for Options is "sear

Re: riak-erlang-client issue with Riak EE 1.2

2012-08-28 Thread Sean Cribbs
s now. > > The Map/Reduce functions are available here: > https://github.com/basho/riak-erlang-client/blob/master/src/riakc_pb_socket.erl#L454 > > and the Search functions are available here: > https://github.com/basho/riak-erlang-client/blob/master/src/riakc_pb_socket.erl#L618 > >

Re: riak-erlang-client issue with Riak EE 1.2

2012-08-28 Thread Dave Parfitt
basho/riak-erlang-client/blob/master/src/riakc_pb_socket.erl#L454 and the Search functions are available here: https://github.com/basho/riak-erlang-client/blob/master/src/riakc_pb_socket.erl#L618 Cheers - Dave On Aug 28, 2012, at 3:06 PM, Julian wrote: > Hi Dave, > > I don't see

Re: riak-erlang-client issue with Riak EE 1.2

2012-08-28 Thread Julian
id:o.account_id, account_type_id:o.account_type_id, deleted:o.deleted, status:o.status, hidden:o.hidden, currency:o.currency}; return [JSON.stringify(p)] } On Fri, Aug 17, 2012 at 6:22 AM, Dave Parfitt wrote: > > Hello Julian - > > A new version of the riak-erlang-client [1] was recently released that >

Re: riak-erlang-client issue with Riak EE 1.2

2012-08-17 Thread Dave Parfitt
Hello Julian - A new version of the riak-erlang-client [1] was recently released that changes riakc_pb_socket:search/* to use protobuffs instead of map/reduce. Give that a shot first and let us know if it works for you. Cheers - Dave [1] https://github.com/basho/riak-erlang-client/ On

riak-erlang-client issue with Riak EE 1.2

2012-08-16 Thread Julian
Hi, Recently, we upgraded our Riak cluster to 1.2. I hear that one of our buckets has been wiped and reloaded, but our index (Riak search is enabled) may not be in a consistent state. This has led to an error in code using riak-erlang-client 1.2, shown below. One of the intriguing things I find

Re: emulated vs native support in riak-erlang-client

2012-08-15 Thread Sean Cribbs
You misunderstand. That is *already* in the tagged 1.3.0 version of riak-erlang-client; I meant the documentation. On Wed, Aug 15, 2012 at 1:46 PM, Anthony Molinaro < antho...@alumni.caltech.edu> wrote: > > Hi Sean, > > How soon is "soon"? In other words when can w

Re: emulated vs native support in riak-erlang-client

2012-08-15 Thread Anthony Molinaro
Hi Sean, How soon is "soon"? In other words when can we expect a new riak-erlang-client with this fix? Will it be tied to a release of riak or can the client be released separately? Or is it in the last tagged version (1.3.0), but undocumented? Thanks, -Anthony On Tue, Aug 14,

Re: emulated vs native support in riak-erlang-client

2012-08-14 Thread Sean Cribbs
That item will be updated soon since it now has native. The difference is whether it can send/receive the new Protocol Buffers messages to perform search queries, or if it performs them through MapReduce. Sean Cribbs On Aug 14, 2012, at 7:10 PM, Gregory de Souza wrote: > Hi folks, > The wiki

emulated vs native support in riak-erlang-client

2012-08-14 Thread Gregory de Souza
Hi folks, The wiki on client libs (http://wiki.basho.com/Client-Libraries.html) indicates that the protocol buffer-based erlang library (riakc) only supports emulated (and not native) search. Can someone explain the difference between 'emulated' and 'native'? Thanks! -- Gregory _

Re: riak-erlang-client search changes

2012-08-03 Thread Dave Parfitt
umber of results }). Cheers - Dave On Aug 2, 2012, at 11:08 PM, Andrew Berman wrote: > The more fields the better. I like this change. > > Andrew > > On Aug 2, 2012 8:17 AM, "Dave Parfitt" wrote: > Hello - > We're considering some changes to the Ri

Re: riak-erlang-client search changes

2012-08-02 Thread Andrew Berman
The more fields the better. I like this change. Andrew On Aug 2, 2012 8:17 AM, "Dave Parfitt" wrote: > Hello - > > We're considering some changes to the Riak Search functionality in > riak-erlang-client for the upcoming Riak 1.2 release. The current behavior of &

riak-erlang-client search changes

2012-08-02 Thread Dave Parfitt
Hello - We're considering some changes to the Riak Search functionality in riak-erlang-client for the upcoming Riak 1.2 release. The current behavior of the riakc_pb_socket:search/* functions return a list in the form: [[Index, Id],[Index2,Id2],...] With the new Riak Search protobuffs mes

Re: Erlang Client: get_update_metadata vs get_metadata

2012-06-13 Thread Andrew Berman
Thanks guys, I'm more inclined to have an API like get_original_metadata and get_metadata. The get_metadata in this case always returns whatever metadata is set on the object, new or original. In the current API, if calling get_update_metadata will return the original metadata if there are no ch

Re: Erlang Client: get_update_metadata vs get_metadata

2012-06-12 Thread Michael Radford
Reid, I do understand why update_metadata exists. I guess what I'm suggesting is a better default behavior, especially for users who don't explicitly set any metadata values. (Or even if they do, for when all the metadatas are equivalent.) I.e., something like this for riakc_obj:get_update_metada

Re: Erlang Client: get_update_metadata vs get_metadata

2012-06-12 Thread Reid Draper
On Jun 12, 2012, at 2:56 PM, Michael Radford wrote: > get_metadata returns the metadata that was read from riak. But if > allow_mult is true, and there is more than one sibling, then > get_metadata throws the exception 'siblings'. You have to call > get_metadatas to get a list with metadata for e

Re: Erlang Client: get_update_metadata vs get_metadata

2012-06-12 Thread Michael Radford
get_metadata returns the metadata that was read from riak. But if allow_mult is true, and there is more than one sibling, then get_metadata throws the exception 'siblings'. You have to call get_metadatas to get a list with metadata for each sibling in that case. get_update_metadata returns the met

Erlang Client: get_update_metadata vs get_metadata

2012-06-12 Thread Andrew Berman
Can someone explain the difference between the get_update_metadata and get_metadata functions in the Erlang PB Client for Riak? It's very confusing... Thanks, Andrew ___ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/

Re: native erlang client on non-Riak node?

2012-04-05 Thread Alexander Sicular
w.infoq.com/interviews/hickey-datomic . >> Worth the 30min. >> >> -Alexander Sicular >> >> @siculars >> >> On Apr 5, 2012, at 3:30 PM, Ryan Zezeski wrote: >> >> Mike, >> >> The native Erlang client was never designed to

Re: native erlang client on non-Riak node?

2012-04-05 Thread John E. Vincent
q.com/interviews/hickey-datomic . > Worth the 30min. > > -Alexander Sicular > > @siculars > > On Apr 5, 2012, at 3:30 PM, Ryan Zezeski wrote: > > Mike, > > The native Erlang client was never designed to be used in this fashion, as > you are finding out first hand.

Re: native erlang client on non-Riak node?

2012-04-05 Thread Alexander Sicular
ich Hickey discussing similar concepts employed in his new system, Datomic, here, http://www.infoq.com/interviews/hickey-datomic . Worth the 30min. -Alexander Sicular @siculars On Apr 5, 2012, at 3:30 PM, Ryan Zezeski wrote: > Mike, > > The native Erlang client was never designed to be used

Re: native erlang client on non-Riak node?

2012-04-05 Thread Ryan Zezeski
Mike, The native Erlang client was never designed to be used in this fashion, as you are finding out first hand. You are correct in that some operations assume they are running on the Riak VM, e.g. mapred_dynamic_inputs_stream. Normally I would say not to establish a Erlang dist connection to

  1   2   3   >