You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "C. Scott Andreas (JIRA)" <ji...@apache.org> on 2018/11/19 02:34:00 UTC
[jira] [Updated] (CASSANDRA-11589) NodeProbe.checkJobs uses
DatabaseDescriptor but should instead use JMX
[ https://issues.apache.org/jira/browse/CASSANDRA-11589?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
C. Scott Andreas updated CASSANDRA-11589:
-----------------------------------------
Component/s: Observability
> NodeProbe.checkJobs uses DatabaseDescriptor but should instead use JMX
> ----------------------------------------------------------------------
>
> Key: CASSANDRA-11589
> URL: https://issues.apache.org/jira/browse/CASSANDRA-11589
> Project: Cassandra
> Issue Type: Improvement
> Components: Observability
> Reporter: Robert Stupp
> Priority: Minor
>
> CASSANDRA-11179 introduced the {{-j}} parameter for several nodetool commands. The function {{NodeProbe.checkJobs}} validates the argument against {{DatabaseDescriptor.getConcurrentCompactors()}}, which returns the configured value of the _local_ node - so it might not return the correct value for the node to which nodetool talks.
> So, {{checkJobs()}} should get the configured number of concurrent_compactors via JMX and not using DatabaseDescriptor.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org