You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/08/28 05:22:00 UTC
[jira] [Commented] (CASSANDRA-8727) nodetool command to get the
status of things that can be enable/disable'd
[ https://issues.apache.org/jira/browse/CASSANDRA-8727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16143379#comment-16143379 ]
ASF GitHub Bot commented on CASSANDRA-8727:
-------------------------------------------
GitHub user cormoran opened a pull request:
https://github.com/apache/cassandra/pull/142
CASSANDRA-8727 add command 'statusautocompaction'
Added nodetool command 'statusautocompaction'
By default, the status is summarized: running, not running or partially running (some of the specified tables have it enabled, some don't).
```
$ nodetool statusautocompaction
partially running
```
The `--all` option can be used to see a detailed status output.
```
$ nodetool statusautocompaction -a
Keyspace Table Status
system_schema dropped_columns not running
system_schema tables not running
...
system built_views running
system sstable_activity running
...
test test2 not running
test test_cf not running
system_auth role_permissions not running
system_auth resource_role_permissons_index not running
```
You can specify keyspace (and table).
```
$ nodetool statusautocompaction test test2 -a
Keyspace Table Status
test test2 not running
```
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cormoran/cassandra CASSANDRA-8727
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cassandra/pull/142.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #142
----
commit 9bd85f7402f566fb7bd6bcbd969486446f08a21b
Author: cormoran <co...@gmail.com>
Date: 2017-08-28T04:18:57Z
CASSANDRA-8727 add command 'statusautocompaction'
----
> nodetool command to get the status of things that can be enable/disable'd
> -------------------------------------------------------------------------
>
> Key: CASSANDRA-8727
> URL: https://issues.apache.org/jira/browse/CASSANDRA-8727
> Project: Cassandra
> Issue Type: Improvement
> Components: Tools
> Reporter: Brian Hess
> Labels: lhf
>
> It is possible to say enableautocompaction or disableautocompaction via nodetool. But it doesn't appear that there is a nodetool command to display the current state of autocompaction - enabled or disabled.
> It would be good to be able to get the status of these binary commands so that you can determine the status, possibly make a change to troubleshoot/experiment/etc, and return the status to the way it was when you arrived.
> This applies for autocompaction, backup, binary, gossip, handoff, and thrift.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org