Node crash badmatch enoent

Carlo Bertoldi carlo.bertoldi at ubiquity.it
Thu Jul 7 04:32:02 EDT 2011


Hello everybody,
  I'm following the fast track to learn something about Riak. I've 
installed, from source, riak 0.14.2, ran make all and make devrel.
I've changed this line in app.config of each node {http, [ 
{"192.168.0.186", 809x } ]}, and -name devX at 192.168.0.186 in vm.args.

Now I'm trying to insert the goog.csv for the MapReduce experiment, but 
after 11 insertions, the dev1 node crashes.
I also ran riak-admin test on all 3 nodes, and it was successful on all 
3 of them:

=INFO REPORT==== 7-Jul-2011::10:28:14 ===
Successfully completed 1 read/write cycle to 'dev1 at 192.168.0.186'

Am I missing something?
Thanks,
  Carlo

Some log:

riak-admin status:
1-minute stats for 'dev1 at 192.168.0.186'
-------------------------------------------
vnode gets : 0
vnode_puts : 0
read_repairs : 0
vnode_gets_total : 0
vnode_puts_total : 0
node_gets : 0
node_gets_total : 0
node_get_fsm_time_mean : 0
node_get_fsm_time_median : 0
node_get_fsm_time_95 : 0
node_get_fsm_time_99 : 0
node_get_fsm_time_100 : 0
node_puts : 0
node_puts_total : 0
node_put_fsm_time_mean : 0
node_put_fsm_time_median : 0
node_put_fsm_time_95 : 0
node_put_fsm_time_99 : 0
node_put_fsm_time_100 : 0
read_repairs_total : 0
cpu_nprocs : 657
cpu_avg1 : 164
cpu_avg5 : 108
cpu_avg15 : 97
mem_total : 3396595712
mem_allocated : 3262820352
disk : [{"/",148004296,39},
         {"/dev",1654272,1},
         {"/dev/shm",1658492,1},
         {"/var/run",1658492,1},
         {"/var/lock",1658492,0},
         {"/lib/init/rw",1658492,0},
         {"/var/lib/ureadahead/debugfs",148004296,39}]
nodename : 'dev1 at 192.168.0.186'
connected_nodes : ['dev2 at 192.168.0.186','dev3 at 192.168.0.186']
sys_driver_version : <<"1.5">>
sys_global_heaps_size : 0
sys_heap_type : private
sys_logical_processors : 2
sys_otp_release : <<"R13B04">>
sys_process_count : 177
sys_smp_support : true
sys_system_version : <<"Erlang R13B04 (erts-5.7.5) [source] [smp:2:2] 
[rq:2] [async-threads:64] [kernel-poll:true]">>
sys_system_architecture : <<"i686-pc-linux-gnu">>
sys_threads_enabled : true
sys_thread_pool_size : 64
sys_wordsize : 4
ring_members : ['dev1 at 192.168.0.186','dev2 at 192.168.0.186',
                 'dev3 at 192.168.0.186']
ring_num_partitions : 64
ring_ownership : <<"[{'dev3 at 192.168.0.186',21},\n 
{'dev2 at 192.168.0.186',21},\n {'dev1 at 192.168.0.186',22}]">>
ring_creation_size : 64
storage_backend : riak_kv_bitcask_backend
pbc_connects_total : 0
pbc_connects : 0
pbc_active : 0
cluster_info_version : <<"1.1.0">>
luwak_version : <<"1.0.0">>
skerl_version : <<"1.0.0">>
riak_kv_version : <<"0.14.2">>
riak_core_version : <<"0.14.2">>
bitcask_version : <<"1.1.6">>
luke_version : <<"0.2.4">>
webmachine_version : <<"1.8.0">>
mochiweb_version : <<"1.7.1">>
erlang_js_version : <<"0.6.1">>
runtime_tools_version : <<"1.8.3">>
crypto_version : <<"1.6.4">>
os_mon_version : <<"2.2.5">>
riak_err_version : <<"1.0.1">>
sasl_version : <<"2.1.9">>
stdlib_version : <<"1.16.5">>
kernel_version : <<"2.13.5">>
executing_mappers : 0

This is an extract from riak-0.14.2/dev/dev1/log

=ERROR REPORT==== 6-Jul-2011::17:11:51 ===
** Generic server riak_kv_stat terminating
** Last message in was 
{'$gen_cast',{update,{get_fsm_time,14310},63477191511}}
** When Server state == {state,
                             {spiral,63477191511,
                                 
[1,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,
                                  
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
                                  
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
                                  0,0,0,0,0,0,0,0,0,0,0,0,0,0]},
                             {spiral,63477184231,
                                 
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
                                  
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
                                  0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},
                             2,0,0,0,
                             {slide,undefined,60,60,
                                 
"/tmp/riak/slide-data/11493/1309.965031.33105",
                                 undefined,undefined},
                             {slide,undefined,60,60,
                                 
"/tmp/riak/slide-data/11493/1309.965031.33299",
                                 undefined,undefined},
                             {spiral,63477184231,
                                 
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
                                  
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
                                  0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},
                             0,0,
                             {spiral,63477184231,
                                 
[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
                                  
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
                                  0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]},
                             0,0}
** Reason for termination ==
** {{badmatch,{error,enoent}},
     [{slide,update,3},
      {riak_kv_stat,slide_incr,4},
      {riak_kv_stat,handle_cast,2},
      {gen_server2,handle_msg,7},
      {proc_lib,init_p_do_apply,3}]}






More information about the riak-users mailing list