rver 2008, MVP
> Cloudera Certified Developer for Apache Hadoop
>
>
> On Fri, Aug 9, 2013 at 7:23 PM, Jeremy Ong wrote:
>>
>> Hi Riak users,
>>
>> I'm wondering what the best approach to this is. The scenario is that
>> I have mounted a new drive to t
Hi Riak users,
I'm wondering what the best approach to this is. The scenario is that
I have mounted a new drive to the machine and want to have the node
leverage that drive to save data as opposed to the mount point it is
currently writing to.
My current plan is to start a second instance of riak
On the client you could extract the value_count of the objects you
read and just log them. Feel free to post code too, in particular, how
you are writing out updated values.
On Mon, Aug 5, 2013 at 9:20 PM, Paul Ingalls wrote:
> Interesting. I have sibling resolution code on the client side. Wou
What erlang version did you build with? How are you load balancing
between the nodes? What kind of disks are you using?
On Thu, Aug 1, 2013 at 7:53 PM, Paul Ingalls wrote:
> FYI, 2 more nodes died with the end of the last test. Storm, which I'm
> using to put data in, kills the topology a bit ab
Be advised, avoiding mocking/stubbing and making your tests "unit
tests" are mutually exclusive. A unit test by definition should not
have any dependencies whatsoever (on other modules even, let alone a
database!).
On Wed, Jul 31, 2013 at 9:41 PM, Wagner Camarao wrote:
> Hi all ~
>
> Great meetup
The X there indicates that it does not support connection pooling out of
the box in contrast to the check. I'd look at poolboy (to use in
conjunction with riakc_pb_socket) and riakpool (which pulls in
riak-erlang-client as a dependency).
On Wed, Jul 10, 2013 at 3:33 PM, Konstantin Kalin <
konstan
gt;
> Jordan
>
> [1] https://github.com/ricardobcl/Dotted-Version-Vectors
>
>
> On Tue, Jun 18, 2013 at 12:58 PM, Jeremy Ong wrote:
>
>>
>>
>>
>> On Tue, Jun 18, 2013 at 12:57 PM, Jeremy Ong wrote:
>>
>>> Suppose I have two sources writing to the
On Tue, Jun 18, 2013 at 12:57 PM, Jeremy Ong wrote:
> Suppose I have two sources writing to the database, source A and source B.
>
> Next, suppose A and B both issue a write to the database so they spawn two
> siblings: [a1, b1].
>
>
> Finally, suppose A writes another obje
Suppose I have two sources writing to the database, source A and source B.
Next, suppose A and B both issue a write to the database so they spawn two
siblings: [a1, b1].
Finally, suppose A writes another object using the metadata of the riak
object returned when writing a2. This will lead to the
hought in the past will jump
> in; I'll make further inquiries tomorrow.
>
> -John Daily
> Technical Evangelist
>
> On May 19, 2013, at 7:29 PM, Jeremy Ong wrote:
>
> For automatic conflict resolution, often times, the easiest thing to do is
> impose a Last Write Wins p
For automatic conflict resolution, often times, the easiest thing to do is
impose a Last Write Wins policy.
However, in certain circumstances, First Write Wins makes more sense. For
example, suppose you are handling user creation. Creating a single user
will populate values for two keys:
User Id
.
> >>
> >> [1]: http://basho.com/riaks-config-behaviors-part-2/
> >>
> >> ---
> >> Jeremiah Peschka - Founder, Brent Ozar Unlimited
> >> MCITP: SQL Server 2008, MVP
> >> Cloudera Certified Developer for Apache Hadoop
> >>
>
case however, I already have the value in memory, so it seems
inefficient to have to get the entire riakc_obj back when I really just
need the metadata to construct the new object. Is this correct?
On Tue, May 14, 2013 at 9:06 PM, Jeremy Ong wrote:
> Suppose I have an object X.
>
>
Suppose I have an object X.
I make an update to X and store it as X1. I perform a put operation using
X1.
The same client then makes a modification to X1 and stores it as X2. Then,
I perform a put operation using X2.
This will create two siblings X1 and X2 if allow_mult is true. Is there any
way
>From an implementation standpoint, see
https://github.com/basho/ripple/blob/master/lib/ripple/validations/associated_validator.rb
which does the passthrough to:
http://guides.rubyonrails.org/active_record_validations_callbacks.html#presence
I believe
On Mon, Oct 8, 2012 at 11:13 AM, Sean Crib
) but I'm throwing it out there in case somebody else struggles with
the same issues.
Cheers,
Jeremy
On Sun, Jul 22, 2012 at 2:05 PM, Jeremy Ong wrote:
> Ah perfect that works thanks.
>
> I saw the github issue asking for documentation on this. I feel woefully
> unqualified to wr
<"afield_bin">>, <<"avalue">>}],
> dict:new())
>
> On Sun, Jul 22, 2012 at 4:49 PM, Jeremy Ong wrote:
>
>> I am trying to store objects with indexed metadata but am running into
>> various difficulties (commands in bold).
&
I am trying to store objects with indexed metadata but am running into
various difficulties (commands in bold).
*Obj = riakc_obj:new(<<"foo">>, <<"bar">>, <<"zing">>).*
{riakc_obj,<<"foo">>,<<"bar">>,undefined,[],undefined,
<<"zing">>}
*
*
*MetaData = dict:store(<<"index">>, [{"afield",
allowable concurrent
connections. Also, I suspect that my understanding about how to properly
utilize the Erlang client is underwhelming at best.
Any suggestions on how to properly set up a local test bed for Riak and
communicating to Riak?
Thanks,
Jeremy
--
Jeremy Ong
Playmesh, Inc
Great thanks will try it tonight.
On Fri, Jul 13, 2012 at 5:43 PM, Jared Morrow wrote:
> Yes, if you build from source use R15B01.
>
> -J
>
>
> On Jul 13, 2012, at 6:42 PM, Andrew Zeneski
> wrote:
>
> I was told R15B1
>
> Andrew
>
> On Jul 13, 201
Hi,
looks awesome, which Erlang release is the recommended one for building
this?
jeremy
On Fri, Jul 13, 2012 at 5:31 PM, Gordon Tillman wrote:
> Jared this is great news. There are some supremely-useful additions and
> enhancements in this release!
>
> --gordon
>
>
> On Jul 13, 2012, at 19:1
21 matches
Mail list logo