Re: Riak crashing until I delete AEE folders

2015-06-15 Thread Matthew Brender
Hey Alex,

The best place to start on troubleshooting behaviors like the one you
saw is to run `riak-debug`, which is in `/bin`. There's a great deal
of data in there which you could upload to a Gist [1] and share with
us.

[1] https://gist.github.com/

Best,
Matt

Developer Advocacy Lead
Basho Technologies
t: @mjbrender

On Sun, Jun 14, 2015 at 3:52 AM, Alex De la rosa
 wrote:
> My riak node (i was doing some tests with Riak 2.0.0-1 in Ubuntu having just
> 1 node) and after some time, out of a sudden started crashing and even if i
> start it again, it hold running only a few seconds before crashing again.
>
> Then I deleted the AEE folders within "anti_entropy" and "yz_anti_entropy"
> and is working fine again... I would like to know the reason for that : )
>
> Thanks,
> Alex
>
> ___
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>

___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


Re: Riak crashing until I delete AEE folders

2015-06-15 Thread bryan hunt
Hi Alex, 

Slight confusion in the last response.  Just zip up the log files from that 
node and email them directly to me. 

We’ll take a look. 

B

> On 15 Jun 2015, at 15:50, Matthew Brender  wrote:
> 
> Hey Alex,
> 
> The best place to start on troubleshooting behaviors like the one you
> saw is to run `riak-debug`, which is in `/bin`. There's a great deal
> of data in there which you could upload to a Gist [1] and share with
> us.
> 
> [1] https://gist.github.com/
> 
> Best,
> Matt
> 
> Developer Advocacy Lead
> Basho Technologies
> t: @mjbrender
> 
> On Sun, Jun 14, 2015 at 3:52 AM, Alex De la rosa
>  wrote:
>> My riak node (i was doing some tests with Riak 2.0.0-1 in Ubuntu having just
>> 1 node) and after some time, out of a sudden started crashing and even if i
>> start it again, it hold running only a few seconds before crashing again.
>> 
>> Then I deleted the AEE folders within "anti_entropy" and "yz_anti_entropy"
>> and is working fine again... I would like to know the reason for that : )
>> 
>> Thanks,
>> Alex
>> 
>> ___
>> riak-users mailing list
>> riak-users@lists.basho.com
>> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>> 
> 
> ___
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


Re: Recreation of default bucket type

2015-06-15 Thread Engel Sanchez
Hi Douglas. Would you mind sharing the riak_core section of your
app.config? And also the output of `riak-admin bucket-type status default`
for a node that has been restarted after the app.config has been updated
with the change to the default bucket properties.

On Wed, Jun 10, 2015 at 10:06 AM, Douglas Isaksson <
douglas.isaks...@x5music.com> wrote:

> Hi,
>
> Ran into this issue when upgrading from 1.4.X to 2.1.1 :
> https://github.com/basho/riak/issues/727
> allow_mult leaked into my default bucket type.
>
> Is there a way to change the allow_mult setting in the default bucket
> type? I'm getting "no_default_update" when trying. Setting allow_mult in
> app.config still generates siblings.
> Or are my options to either creating a new bucket type or rolling back the
> upgrade?
>
> Best,
> Douglas
> --
>
>
> *Douglas Isaksson *Senior System Developer
>
>
> *X5 MUSIC GROUP*Slussplan 9
> 111 30 Stockholm, Sweden
> Direct: +46 70 595 85 07
> Skype : douglas.isaksson
> E-mail: douglas.isaks...@x5music.com
> Web: www.x5music.com 
>
> ___
> riak-users mailing list
> riak-users@lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


Re: Riak crashing until I delete AEE folders

2015-06-15 Thread bryan hunt
Hi Alex, 

Yes, I see the error messages, such as this: 

2015-06-14 22:21:13.005 [error] emulator Error in process <0.20175.11> on node 
‘riak@x.x.x.x' with exit value: 
{function_clause,[{proplists,get_value,[n_val,{error,no_type},undefined],[{file,"proplists.erl"},{line,225}]},{riak_kv_util,get_index_n,1,[{file,"src/riak_kv_util.erl"},{line,190}]},{yz_index_hashtree,'-fold_keys/2-fun-0-'...

It’s an old bug, a race condition related to the creation and activation of 
bucket types.
https://github.com/basho/riak_kv/issues/872 


It was fixed in the following commit, although it doesn’t have seem to have 
made it into your 2.0.1 build.

https://github.com/basho/riak_test/commit/7cd264556498a8e6ebdf1f383f5d59fbaecf7f0a?diff=split
 


2.0.1 is way, way, old. I’d recommend a jump to 2.0.6, it’s a much more stable 
release, or 2.1.1 for the latest hotness.

Best Regards,

Bryan Hunt




> On 15 Jun 2015, at 17:25, Alex De la rosa  wrote:
> 
> Hi Bryan
> 
> Thanks for your help : )
> 
> Here you have the /var/logs/folder in a zip file.
> 
> I was using Ubuntu 14.04 LTS, just 1 node with 3 replicas (not the best, but 
> just for testing purposes).
> 
> I was curious on why deleting the AAE subfolders fixed it, and wondered if in 
> the future i found something similar if that could be a solution... but what 
> if you have massive amount of data, nodes, etc... would this be viable?
> 
> Thanks!
> Alex
> 
> On Mon, Jun 15, 2015 at 5:12 PM, bryan hunt  > wrote:
> Hi Alex,
> 
> Slight confusion in the last response.  Just zip up the log files from that 
> node and email them directly to me.
> 
> We’ll take a look.
> 
> B
> 
> > On 15 Jun 2015, at 15:50, Matthew Brender  > > wrote:
> >
> > Hey Alex,
> >
> > The best place to start on troubleshooting behaviors like the one you
> > saw is to run `riak-debug`, which is in `/bin`. There's a great deal
> > of data in there which you could upload to a Gist [1] and share with
> > us.
> >
> > [1] https://gist.github.com/ 
> >
> > Best,
> > Matt
> >
> > Developer Advocacy Lead
> > Basho Technologies
> > t: @mjbrender
> >
> > On Sun, Jun 14, 2015 at 3:52 AM, Alex De la rosa
> > mailto:alex.rosa@gmail.com>> wrote:
> >> My riak node (i was doing some tests with Riak 2.0.0-1 in Ubuntu having 
> >> just
> >> 1 node) and after some time, out of a sudden started crashing and even if i
> >> start it again, it hold running only a few seconds before crashing again.
> >>
> >> Then I deleted the AEE folders within "anti_entropy" and "yz_anti_entropy"
> >> and is working fine again... I would like to know the reason for that : )
> >>
> >> Thanks,
> >> Alex
> >>
> >> ___
> >> riak-users mailing list
> >> riak-users@lists.basho.com 
> >> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com 
> >> 
> >>
> >
> > ___
> > riak-users mailing list
> > riak-users@lists.basho.com 
> > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com 
> > 
> 
> 
> 

___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com


Re: Riak crashing until I delete AEE folders

2015-06-15 Thread Alex De la rosa
Hi Bryan,

Yeah, 2.0.1 is an old one. I normally use 2.1.1 on my own developments but
this exact one was for an in-house company competition they run last august
so I was not able to touch the implementation until the competition was
over last month (of course, my solution kicked everybody's else asses and
won!... lol)

Is also funny that after months of testing and competition the indexes had
to crash exactly when the competition was over! I remember about all issues
with AAE so I first upgraded to 2.1.1 to see if it would be fixed but
continued crashing; so as final resort I decided to delete the AAE folders
and it was back to normal (so far it didn't crash again until now)

However I was wondering why happened; seems clear now! and good to know I
don't have to worry about it in future releases : )

Thanks again for your help!
Alex

On Mon, Jun 15, 2015 at 7:36 PM, bryan hunt  wrote:

> Hi Alex,
>
> Yes, I see the error messages, such as this:
>
> 2015-06-14 22:21:13.005 [error] emulator Error in process <0.20175.11> on
> node ‘riak@x.x.x.x' with exit value:
> {function_clause,[{proplists,get_value,[n_val,{error,no_type},undefined],[{file,"proplists.erl"},{line,225}]},{riak_kv_util,get_index_n,1,[{file,"src/riak_kv_util.erl"},{line,190}]},{yz_index_hashtree,'-fold_keys/2-fun-0-'...
>
> It’s an old bug, a race condition related to the creation and activation
> of bucket types.
> https://github.com/basho/riak_kv/issues/872
>
> It was fixed in the following commit, although it doesn’t have seem to
> have made it into your 2.0.1 build.
>
>
> https://github.com/basho/riak_test/commit/7cd264556498a8e6ebdf1f383f5d59fbaecf7f0a?diff=split
>
> 2.0.1 is way, way, old. I’d recommend a jump to 2.0.6, it’s a much more
> stable release, or 2.1.1 for the latest hotness.
>
> Best Regards,
>
> Bryan Hunt
>
>
>
>
> On 15 Jun 2015, at 17:25, Alex De la rosa  wrote:
>
> Hi Bryan
>
> Thanks for your help : )
>
> Here you have the /var/logs/folder in a zip file.
>
> I was using Ubuntu 14.04 LTS, just 1 node with 3 replicas (not the best,
> but just for testing purposes).
>
> I was curious on why deleting the AAE subfolders fixed it, and wondered if
> in the future i found something similar if that could be a solution... but
> what if you have massive amount of data, nodes, etc... would this be viable?
>
> Thanks!
> Alex
>
> On Mon, Jun 15, 2015 at 5:12 PM, bryan hunt  wrote:
>
>> Hi Alex,
>>
>> Slight confusion in the last response.  Just zip up the log files from
>> that node and email them directly to me.
>>
>> We’ll take a look.
>>
>> B
>>
>> > On 15 Jun 2015, at 15:50, Matthew Brender  wrote:
>> >
>> > Hey Alex,
>> >
>> > The best place to start on troubleshooting behaviors like the one you
>> > saw is to run `riak-debug`, which is in `/bin`. There's a great deal
>> > of data in there which you could upload to a Gist [1] and share with
>> > us.
>> >
>> > [1] https://gist.github.com/
>> >
>> > Best,
>> > Matt
>> >
>> > Developer Advocacy Lead
>> > Basho Technologies
>> > t: @mjbrender
>> >
>> > On Sun, Jun 14, 2015 at 3:52 AM, Alex De la rosa
>> >  wrote:
>> >> My riak node (i was doing some tests with Riak 2.0.0-1 in Ubuntu
>> having just
>> >> 1 node) and after some time, out of a sudden started crashing and even
>> if i
>> >> start it again, it hold running only a few seconds before crashing
>> again.
>> >>
>> >> Then I deleted the AEE folders within "anti_entropy" and
>> "yz_anti_entropy"
>> >> and is working fine again... I would like to know the reason for that
>> : )
>> >>
>> >> Thanks,
>> >> Alex
>> >>
>> >> ___
>> >> riak-users mailing list
>> >> riak-users@lists.basho.com
>> >> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>> >>
>> >
>> > ___
>> > riak-users mailing list
>> > riak-users@lists.basho.com
>> > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>>
>>
> 
>
>
>
___
riak-users mailing list
riak-users@lists.basho.com
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com