You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Chris Lohfink (JIRA)" <ji...@apache.org> on 2019/04/18 21:18:00 UTC

[jira] [Updated] (CASSANDRA-15023) Scheduled tasks in management process

     [ https://issues.apache.org/jira/browse/CASSANDRA-15023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Lohfink updated CASSANDRA-15023:
--------------------------------------
    Reviewers: Chris Lohfink

> Scheduled tasks in management process
> -------------------------------------
>
>                 Key: CASSANDRA-15023
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-15023
>             Project: Cassandra
>          Issue Type: Sub-task
>          Components: Tool/nodetool
>            Reporter: Vinay Chella
>            Assignee: Vinay Chella
>            Priority: Normal
>              Labels: sidecar
>
> Scheduled tasks in a management process operate some task on a periodic or scheduled basis (e.g. periodic cleanups, compactions, flushes, backups etc…). We propose pluggable scheduled jobs which allow users to achieve simple yet powerful operations activities that are frequently required in Cassandra. Basically, these are cron jobs.
> *Proposed Scope*
>  * _GET /v1/scheduled/node_: Shows the scheduled tasks that run on the local host by the sidecar. These are determined via the configuration of the management process.
>  * _Cleanup_ of tables (nodetool cleanup) in Cassandra will be implemented as part of this JIRA. This maintenance activity is an important task when your environment is prone to lose nodes and move nodes all the time. Having {{cleanup}} activity scheduled on a regular basis helps to maintain the fidelity of the database.
>  
> {code:java}
> # View scheduled tasks on a node
> curl -i -XGET 'localhost:5000/v1/scheduled/node'  
> HTTP/1.0 200 OK
> {
>   "tasks": {
>     "cleanup": {
>       "exclude_kfs": "*system*",
>       "cron_schedule": "1 12 * * *"
>     }
>   }
> }
> {code}
>  
> Reference from CIP-1: [Scheduled Management|https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=95652224#CIP-1:ApacheCassandraManagementProcess(es)-5.Scheduledmanagement]



--
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