Details

    • Sub-task
    • Status: Open
    • Normal
    • Resolution: Unresolved
    • None
    • None

    Description

      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.

       

      # 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 * * *"
          }
        }
      }
      

       

      Reference from CIP-1: Scheduled Management

      Attachments

        Activity

          People

            vinaykumarcse Vinay Chella
            vinaykumarcse Vinay Chella
            Vinay Chella
            Chris Lohfink
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: