Re: Nodetool compactionstats hangs

2017-12-19 Thread Hannu Kröger
Hi,

Sure! I attached the jstack dumps on the ticket.

Hannu

On 19 December 2017 at 14:38:45, Jeff Jirsa (jji...@gmail.com) wrote:

Can you grab a thread dump with jstack as well?

--
Jeff Jirsa


On Dec 19, 2017, at 3:32 AM, Hannu Kröger  wrote:

Hi,

I opened a ticket about nodetool compactionstats hanging:
https://issues.apache.org/jira/browse/CASSANDRA-14130

The root cause seems to be JMX metric fetching hanging. I was able to
replicate it on this problematic like this:

Welcome to JMX terminal. Type "help" for available commands.
$>open localhost:7199
#Connection to localhost:7199 is opened
$>bean org.apache.cassandra.metrics:type=Compaction,name=PendingTasksByTableName
#bean is set to
org.apache.cassandra.metrics:type=Compaction,name=PendingTasksByTableName
$>get Value
#mbean = 
org.apache.cassandra.metrics:type=Compaction,name=PendingTasksByTableName:

// This command never finishes.


This happens only on one node AFAIK. What could possibly be the problem?

Hannu


Re: Nodetool compactionstats hangs

2017-12-19 Thread Jeff Jirsa
Can you grab a thread dump with jstack as well? 

-- 
Jeff Jirsa


> On Dec 19, 2017, at 3:32 AM, Hannu Kröger  wrote:
> 
> Hi,
> 
> I opened a ticket about nodetool compactionstats hanging:
> https://issues.apache.org/jira/browse/CASSANDRA-14130
> 
> The root cause seems to be JMX metric fetching hanging. I was able to 
> replicate it on this problematic like this:
> Welcome to JMX terminal. Type "help" for available commands.
> $>open localhost:7199
> #Connection to localhost:7199 is opened
> $>bean 
> org.apache.cassandra.metrics:type=Compaction,name=PendingTasksByTableName
> #bean is set to 
> org.apache.cassandra.metrics:type=Compaction,name=PendingTasksByTableName
> $>get Value
> #mbean = 
> org.apache.cassandra.metrics:type=Compaction,name=PendingTasksByTableName:
> // This command never finishes.
> 
> This happens only on one node AFAIK. What could possibly be the problem?
> Hannu