[
https://issues.apache.org/jira/browse/CASSANDRA-14130?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16297188#comment-16297188
]
Hannu Kröger commented on CASSANDRA-14130:
------------------------------------------
When looking at the jstack and code, it seems like it is some sort of a race
condition with readLock.
> nodetool compactionstats gets stuck
> -----------------------------------
>
> Key: CASSANDRA-14130
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14130
> Project: Cassandra
> Issue Type: Bug
> Reporter: Hannu Kröger
> Attachments: jstack.txt, nodetool_jstack.txt
>
>
> We have a server that works apparently quite normally but nodetool
> compactionstats command hangs.
> For example "status" works fine
> {code}
> $ nodetool status
> {code}
> But "compactionstats" hangs
> {code}
> $ nodetool compactionstats
> {code}
> Hanging also happens when calling using JMX:
> {code}
> 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:
> {code}
> What could be the problem?
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]