Re: first time user setting up a cluster
Hi, I've reported a bug some time ago and it seems like this is the same error: https://github.com/basho/riak_core/pull/266 With regards, Jan Pieper -- Jan Pieper · Software Engineer Adcloud GmbH · Venloer Str. 25 · D-50672 Köln Ein Unternehmen von Deutsche Post DHL T +49 221 292 095 35 · F +49 221 292 095 99 jan.pie...@adcloud.com · www.adcloud.com Skype: pieper.jan Handelsregister: Amtsgericht Köln, HRB 65770 · Sitz der Gesellschaft: Köln Geschäftsführer: Henning Lange, Oliver Thylmann -Original Message- From: tech topcis Sender: "riak-users" Date: Sat, 09 Feb 2013 10:30:20 To: Subject: first time user setting up a cluster Hi, I am following the set-up instructions and ran into a problem when I switched from the loop back ip to the LAN IP. I followed this page: http://docs.basho.com/riak/1.2.1/cookbooks/Basic-Cluster-Setup/ I was able to edit the two files. Once I tried to start again, I had an error (below). Please help me see what I need to change. Thank you, Michael log/console output: Exec: /usr/lib/riak/erts-5.9.1/bin/erlexec -boot /usr/lib/riak/releases/1.2.1/riak -embedded -config /etc/riak/app.config -pa /usr/lib/riak/lib/basho-patches -args_file /etc/riak/vm.args -- console Root: /usr/lib/riak Erlang R15B01 (erts-5.9.1) [source] [64-bit] [smp:6:6] [async-threads:64] [kernel-poll:true] ** /usr/lib/riak/lib/basho-patches/etop_txt.beam hides /usr/lib/riak/lib/observer-1.1/ebin/etop_txt.beam ** Found 1 name clashes in code paths 10:28:50.822 [info] Application lager started on node 'riak@192.168.1.9' 10:28:50.904 [info] Upgrading legacy ring 10:28:51.043 [error] gen_server riak_core_capability terminated with reason: no function clause matching orddict:fetch('riak@192.168.1.9', []) line 72 /usr/lib/riak/lib/os_mon-2.2.9/priv/bin/memsup: Erlang has closed. Erlang has closed {"Kernel pid terminated",application_controller,"{application_start_failure,riak_core,{bad_return,{{riak_core_app,start,[normal,[]]},{'EXIT',{{function_clause,[{orddict,fetch,['riak@192.168.1.9',[]],[{file,[111,114,100,100,105,99,116,46,101,114,108]},{line,72}]},{riak_core_capability,renegotiate_capabilities,1,[{file,[115,114,99,47,114,105,97,107,95,99,111,114,101,95,99,97,112,97,98,105,108,105,116,121,46,101,114,108]},{line,415}]},{riak_core_capability,handle_call,3,[{file,[115,114,99,47,114,105,97,107,95,99,111,114,101,95,99,97,112,97,98,105,108,105,116,121,46,101,114,108]},{line,208}]},{gen_server,handle_msg,5,[{file,[103,101,110,95,115,101,114,118,101,114,46,101,114,108]},{line,588}]},{proc_lib,init_p_do_apply,3,[{file,[112,114,111,99,95,108,105,98,46,101,114,108]},{line,227}]}]},{gen_server,call,[riak_core_capability,{register,{riak_core,vnode_routing},{capability,[proxy,legacy],legacy,{riak_core,legacy_vnode_routing,[{true,legacy},{false,proxy}]}}},infinity]}}"} Crash dump was written to: /var/log/riak/erl_crash.dump Kernel pid terminated (application_controller) ({application_start_failure,riak_core,{bad_return,{{riak_core_app,start,[normal,[]]},{'EXIT',{{function_clause,[{orddict,fetch,['riak@192.168.1.9',[]], ___ 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: Upgrade Riak
Hi Kevin, i think this will answer your question: http://docs.basho.com/riak/latest/cookbooks/Rolling-Upgrades/. with regards, Jan On Wed, Mar 13, 2013 at 3:10 PM, Kevin Burton wrote: > I want to upgrade to 1.3 and I see the instructions for installing riak at > http://docs.basho.com/riak/latest/tutorials/installation/Installing-on-Debian-and-Ubuntu/. > But I don’t want to install. I just want to upgrade. In other words I > have app.config and a cluster setup right now and I would rather not wipe > all that out. Can I essentially do ‘sudo apt-get install riak’ to upgrade? > > > ___ > 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 1.3 YCSB Read Time Out
Wine. Lanhe ujnd umwiesodk ;ymm ;} -- Jan Pieper · Software Engineer Adcloud GmbH · Venloer Str. 25 · D-50672 Köln Ein Unternehmen von Deutsche Post DHL T +49 221 292 095 35 · F +49 221 292 095 99 jan.pie...@adcloud.com · www.adcloud.com Skype: pieper.jan Handelsregister: Amtsgericht Köln, HRB 65770 · Sitz der Gesellschaft: Köln Geschäftsführer: Christoph Mempel, Bente Hepper-Hammelehle *From: *Dave Parfitt *Sent: *Sunday, July 14, 2013 02:01 *To: *Nika Abramova *Reply To: *Dave Parfitt *Cc: *riak-users@lists.basho.com *Subject: *Re: Riak 1.3 YCSB Read Time Out Hello Veronika, We suggest a minimum of 5 nodes in a cluster. Riak isn't really designed to run on a single node. Cheers, Dave On Jul 13, 2013, at 12:15 PM, Nika Abramova wrote: I am sorry, I thought that was it. But now I tried to execute workload. And what I am getting is: com.basho.riak.pbc.RiakError: {insufficient_vnodes,0,need,2} ... How can I solve that? As far as I checked on Google, it has to do with cluster nodes and I am running just 1 instance (1 node as server and client). How can I avoid that error? Maybe disable/change some specific config parameters? Regards, Veronika -- From: ni...@hotmail.com To: riak-users@lists.basho.com Subject: RE: Riak 1.3 YCSB Read Time Out Date: Sat, 13 Jul 2013 17:06:24 +0100 Greetings, Thank you for help. I changed what you said but it was not enough. However, I noticed a Warning about "ulimit -n" is being low, 4096 is recommended. So I increased mine to max value I can and was able to load 100.000 records. Now I have to load 200.000 and 600.000 records but if something goes wrong I know the reason. Once again, thanks for help. Have a nice day. Regards, Veronika -- Date: Fri, 12 Jul 2013 21:10:11 -0400 Subject: Re: Riak 1.3 YCSB Read Time Out From: dparf...@basho.com To: ni...@hotmail.com CC: riak-users@lists.basho.com Hello Veronika - It looks like you are out of memory. You could try turning active anti-entropy off via: {anti_entropy, {off, []}}, in app.config [0]. Some other docs that you may find useful are the operations guide [1], choosing a backend [2], Linux performance tuning [3], and file system tuning [4]. Cheers - Dave [0] http://docs.basho.com/riak/latest/references/Configuration-Files/ [1] http://docs.basho.com/riak/latest/operators.html [2] http://docs.basho.com/riak/latest/tutorials/choosing-a-backend/ [3] http://docs.basho.com/riak/latest/cookbooks/Linux-Performance-Tuning/ [4] http://docs.basho.com/riak/latest/cookbooks/File-System-Tuning/ On Fri, Jul 12, 2013 at 4:39 PM, Nika Abramova wrote: Hello, I have got logs and error. So what I got from log was (part of it since it goes all same): 2013-07-12 06:33:35.674 [error] <0.1048.0> gen_server <0.1048.0> terminated with reason: no match of right hand value {error,{db_write,"IO error: ./data/anti_entropy/639406966332270026714112114313373821099470487552/03.log: Cannot allocate memory"}} in hashtree:flush_buffer/1 line 302 2013-07-12 06:33:35.683 [error] <0.1048.0> CRASH REPORT Process <0.1048.0> with 0 neighbours exited with reason: no match of right hand value {error,{db_write,"IO error: ./data/anti_entropy/639406966332270026714112114313373821099470487552/03.log: Cannot allocate memory"}} in hashtree:flush_buffer/1 line 302 in gen_server:terminate/6 line 747 2013-07-12 06:33:35.688 [error] <0.28642.0> CRASH REPORT Process <0.28642.0> with 0 neighbours exited with reason: no match of right hand value {error,{db_open,"IO error: lock ./data/anti_entropy/639406966332270026714112114313373821099470487552/LOCK: Resource temporarily unavailable"}} in hashtree:new_segment_store/2 line 499 in gen_server:init_it/6 line 328 2013-07-12 06:33:36.150 [error] <0.968.0> gen_server <0.968.0> terminated with reason: no match of right hand value {error,{db_write,"IO error: ./data/anti_entropy/525227150915793236229449236757414210188850757632/03.log: Cannot allocate memory"}} in hashtree:flush_buffer/1 line 302 2013-07-12 06:33:36.158 [error] <0.968.0> CRASH REPORT Process <0.968.0> with 0 neighbours exited with reason: no match of right hand value {error,{db_write,"IO error: ./data/anti_entropy/525227150915793236229449236757414210188850757632/03.log: Cannot allocate memory"}} in hashtree:flush_buffer/1 line 302 in gen_server:terminate/6 line 747 2013-07-12 06:33:36.164 [error] <0.29013.0> CRASH REPORT Process <0.29013.0> with 0 neighbours exited with reason: no match of right hand value {error,{db_open,"IO error: lock ./data/anti_entropy/525227150915793236229449236757414210188850757632/LOCK: Resource temporarily unavailable"}} in hashtree:new_segment_store/2 line 499 in gen_server:init_it/6 line 328 2013-07-12 06:33:36.261 [error] <0.1436.0> gen_server <0.1436.0> terminated with reason: no match