Re: What is listEndpointsPendingHints?

2013-11-27 Thread Rahul Menon
Tom,

Here is the definition
List all the endpoints that this node has hints for, and count the number
of hints for each such endpoint.

Returns:map of endpoint - hint count


I would suggest looking at at the gossipinfo to validate if there are any
nodes which have that token value. If there is ( there should be since its
storing hints ) you should assassinate the node and you should be on your
way.

Thanks
Rahul


On Tue, Nov 26, 2013 at 6:09 PM, Tom van den Berge t...@drillster.comwrote:

 When I run the operation listEndpointsPendingHints on the
 mbean org.apache.cassandra.db:type=HintedHandoffManager, I'm getting

 ( 126879603237190600081737151857243914981 )

 It suggests that there are pending hints, but the
 org.apache.cassandra.internal:type=HintedHandoff mbean provides these
 figures:

 TotalBlockedTasks = 0;
 CurrentlyBlockedTasks = 0;
 CoreThreads = 2;
 MaximumThreads = 2;
 ActiveCount = 0;
 PendingTasks = 0;
 CompletedTasks = 0;

 I'm wondering what it means that it returns a value, and what this value
 is? It looks like a token, but it's not one of the tokens of my nodes.

 The reason I'm looking into this is that my cluster suffering every now
 and then from never ending (dead) hinted handoff tasks, resulting in a
 flooding of hints on the node.

 Thanks,
 Tom




What is listEndpointsPendingHints?

2013-11-26 Thread Tom van den Berge
When I run the operation listEndpointsPendingHints on the
mbean org.apache.cassandra.db:type=HintedHandoffManager, I'm getting

( 126879603237190600081737151857243914981 )

It suggests that there are pending hints, but the
org.apache.cassandra.internal:type=HintedHandoff mbean provides these
figures:

TotalBlockedTasks = 0;
CurrentlyBlockedTasks = 0;
CoreThreads = 2;
MaximumThreads = 2;
ActiveCount = 0;
PendingTasks = 0;
CompletedTasks = 0;

I'm wondering what it means that it returns a value, and what this value
is? It looks like a token, but it's not one of the tokens of my nodes.

The reason I'm looking into this is that my cluster suffering every now and
then from never ending (dead) hinted handoff tasks, resulting in a flooding
of hints on the node.

Thanks,
Tom