Issues with search (2.0)

Chaim Solomon chaim at itcentralstation.com
Mon Aug 11 07:14:49 EDT 2014


Hi,

I've been running into an issue with the yz search acting up.

I've been getting a lot of these:

2014-08-11 06:45:22.005 [error] <0.913.0>@yz_kv:index:206 failed to index
object {<<"bucketname">>,<<"123">>} with error {"Failed to index
docs",{error,req_timedout}} because [{yz_solr,index,3,[{file,"s
rc/yz_solr.erl"},{line,192}]},{yz_kv,index,7,[{file,"src/yz_kv.erl"},{line,258}]},{yz_kv,index,3,[{file,
"src/yz_kv.erl"},{line,193}]},{riak_kv_vnode,actual_put,6,[{file,"src/riak_kv_vnode.erl"},{line,1416}]},
{riak_kv_vnode,perform_put,3,[{file,"src/riak_kv_vnode.erl"},{line,1404}]},{riak_kv_vnode,do_put,7,[{fil
e,"src/riak_kv_vnode.erl"},{line,1199}]},{riak_kv_vnode,handle_command,3,[{file,"src/riak_kv_vnode.erl"}
,{line,485}]},{riak_core_vnode,vnode_command,3,[{file,"src/riak_core_vnode.erl"},{line,345}]}]

and the Java process uses a lot of CPU and eventually runs out of memory or
something like that and gets stuck. Killing the process gets the cluster
back up and running.

I am guessing that it may be data corruption on the yz data on one node.

Clearing away the yz data on that node and restarting riak makes the system
work again - and I guess AAE will rebuild the index.

But I'm wondering why a crashing Java on one node practically takes down
the search on the cluster. Shouldn't Riak be more resilient than that?

Is there a explicit reindex command for the full text search subsystem?

Could Riak keep an eye on the java process and restart it if it crashes or
runs away?

Chaim Solomon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.basho.com/pipermail/riak-users_lists.basho.com/attachments/20140811/9f241001/attachment.html>


More information about the riak-users mailing list