I apologize, I typoed the arguments to the last command. Please replace '
[email protected]' with the correct hostname in:
yz_kv:is_metadata_consistent('[email protected] <[email protected]>').
Also, can you confirm these log messages are still being written.
Jordan
On Sun, Jul 27, 2014 at 10:54 PM, Chaim Solomon <[email protected]>
wrote:
> Hi,
>
>
> Responses inline
>
> On Mon, Jul 28, 2014 at 5:30 AM, Jordan West <[email protected]> wrote:
>
>> Unfortunately, there are several conditions that could cause this. To
>> rule out the obvious ones can you verify that `[email protected]` has
>> search enabled. If it is the case that search is enabled we can try a few
>> different things to debug further.
>>
>>
> All nodes have search=on in the riak.conf and I see the Java process.
>
> Attaching to '[email protected]' (via "riak attach") and using the
>> shell, if you could provide the output of:
>>
>> ```
>> rpc:multicall([node() | nodes()], app_helper, get_env, [yokozuna,
>> enabled, false], 5000).
>> ```
>>
>> Eshell V5.10.3 (abort with ^G)
> ([email protected])1> rpc:multicall([node() | nodes()], app_helper,
> get_env, [yokozuna, enabled, false], 5000).
> {[true,true,true,true,true,true,true],[]}
>
> As well as:
>>
>> ```
>> [riak_core_node_watcher:services(N) || N <- [node() | nodes()]].
>> ```
>>
>> ([email protected])2> [riak_core_node_watcher:services(N) || N <-
> [node() | nodes()]].
> [[yokozuna,riak_pipe,riak_kv],
> [yokozuna,riak_pipe,riak_kv],
> [yokozuna,riak_pipe,riak_kv],
> [yokozuna,riak_pipe,riak_kv],
> [yokozuna,riak_pipe,riak_kv],
> [yokozuna,riak_pipe,riak_kv],
> [yokozuna,riak_pipe,riak_kv]]
>
> And finally:
>>
>> ```
>> yz_kv:is_metadata_consistent('[email protected]').
>> ```
>>
>> ([email protected])3> yz_kv:is_metadata_consistent('[email protected]
> ').
> ** exception exit: {{nodedown,'[email protected]'},
> {gen_server,call,
> [{riak_core_metadata_hashtree,
> '[email protected]'},
> {prefix_hash,{core,bucket_types}},
> 1000]}}
> in function gen_server:call/3 (gen_server.erl, line 188)
> in call from yz_kv:is_metadata_consistent/1 (src/yz_kv.erl, line 433)
>
> Based on the output of those we can debug further.
>>
>> Additionally, its entirely possible that when we get rid of that error it
>> will not resolve the primary issue (CPU usage/request slowness). However,
>> the check that is the source of that log message can block in the request
>> path, so something funky could certainly be going on.
>>
>
>
> Chaim Solomon
>
>
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com