Hi Florian,

It looks like you may have renamed the node at some point. The
ring_membership currently reports that [email protected] is the only member,
however, the node itself is named [email protected].

Can you shutdown the node and run "riak-admin reip [email protected]
[email protected]"?

Once that is done, start the node and test ago.

Thanks,
Dan

Daniel Reverri
Developer Advocate
Basho Technologies, Inc.
[email protected]


On Thu, Jan 20, 2011 at 3:21 AM, Florian Odronitz <[email protected]> wrote:

> Hi all,
>
> I have problems accessing data on a solitary riak node.
>
> I tried to connect via protocol buffers:
> 7> riakc_pb_socket:ping(Pid).
> pong
> 8> riakc_pb_socket:get(Pid, <<"test">>, <<"test">>).
>
> =ERROR REPORT==== 20-Jan-2011::12:02:39 ===
> ** Generic server <0.43.0> terminating
> ** Last message in was {req_timeout,#Ref<0.0.0.71>}
> ** When Server state == {state,"192.168.1.109",8087,false,false,undefined,
>                               undefined,
>                               {[],[]},
>                               1,[],100}
> ** Reason for termination ==
> ** disconnected
> ** exception exit: disconnected
>
>
> A similar thing happens with http:
> dark-fish:~ odo101$ curl 192.168.1.109:8098/riak/test/
>
> {"props":{"name":"test","n_val":3,"allow_mult":false,"last_write_wins":false,"precommit":[],"postcommit":[],"chash_keyfun":{"mod":"riak_core_util","fun":"chash_std_keyfun"},"linkfun":{"mod":"riak_kv_wm_link_walker","fun":"mapreduce_linkfun"},"old_vclock":86400,"young_vclock":20,"big_vclock":50,"small_vclock":10,"r":"quorum","w":"quorum","dw":"quorum","rw":"quorum"}}
> dark-fish:~ odo101$ curl 192.168.1.109:8098/riak/test/test
> request timed out
>
> The log files in /var/log/riak don't seem to report any errors.
>
> So it looks like the node answers and can return metadata but has trouble
> accessing data.
>
> The riak node runs on a virtual machine (via VirtualBox) using Ubuntu 10.10
> server.
> I tried installing from source and installing from the package. I also
> tried running riak as root. The result was always the same.
>
> Below is the status of the riak node.
>
> Any help is appreciated.
>
> Best,
> Florian
>
>
> riak@riak:~$ riak-admin status
> 1-minute stats for '[email protected]'
> -------------------------------------------
> vnode gets : 0
> vnode_puts : 0
> read_repairs : 0
> vnode_gets_total : 0
> vnode_puts_total : 0
> node_gets : 1
> node_gets_total : 9
> node_get_fsm_time_mean : 60007629.0
> node_get_fsm_time_median : 60007629
> node_get_fsm_time_95 : 60007629
> node_get_fsm_time_99 : 60007629
> node_get_fsm_time_100 : 60007629
> node_puts : 0
> node_puts_total : 0
> node_put_fsm_time_mean : undefined
> node_put_fsm_time_median : undefined
> node_put_fsm_time_95 : undefined
> node_put_fsm_time_99 : undefined
> node_put_fsm_time_100 : undefined
> read_repairs_total : 0
> cpu_nprocs : 138
> cpu_avg1 : 0
> cpu_avg5 : 5
> cpu_avg15 : 0
> mem_total : 516673536
> mem_allocated : 118091776
> disk : [{"/",7852740,29},
>        {"/dev",245560,1},
>        {"/dev/shm",252280,0},
>        {"/var/run",252280,1},
>        {"/var/lock",252280,0},
>        {"/var/lib/ureadahead/debugfs",7852740,29}]
> nodename : '[email protected]'
> connected_nodes : []
> sys_driver_version : <<"1.5">>
> sys_global_heaps_size : 0
> sys_heap_type : private
> sys_logical_processors : 1
> sys_otp_release : <<"R13B04">>
> sys_process_count : 154
> sys_smp_support : false
> sys_system_version : <<"Erlang R13B04 (erts-5.7.5) [source] [64-bit] [rq:1]
> [async-threads:64] [kernel-poll:true]">>
> sys_system_architecture : <<"x86_64-pc-linux-gnu">>
> sys_threads_enabled : true
> sys_thread_pool_size : 64
> sys_wordsize : 8
> ring_members : ['[email protected]']
> ring_num_partitions : 64
> ring_ownership : <<"[{'[email protected]',64}]">>
> ring_creation_size : 64
> storage_backend : riak_kv_bitcask_backend
> pbc_connects_total : 7
> pbc_connects : 0
> pbc_active : 0
> cluster_info_version : <<"1.0.0">>
> luwak_version : <<"1.0.0">>
> skerl_version : <<"1.0.0">>
> riak_kv_version : <<"0.14.0">>
> riak_core_version : <<"0.14.0">>
> bitcask_version : <<"1.1.5">>
> luke_version : <<"0.2.3">>
> webmachine_version : <<"1.8.0">>
> mochiweb_version : <<"1.7.1">>
> erlang_js_version : <<"0.5.0">>
> runtime_tools_version : <<"1.8.3">>
> crypto_version : <<"1.6.4">>
> os_mon_version : <<"2.2.5">>
> riak_err_version : <<"1.0.0">>
> sasl_version : <<"2.1.9">>
> stdlib_version : <<"1.16.5">>
> kernel_version : <<"2.13.5">>
> executing_mappers : 0
>
>
> _______________________________________________
> riak-users mailing list
> [email protected]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
>
>
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to