Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-3051

Programs should be able to perform dataset Admin operations

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.4.0
    • Component/s: Datasets
    • Labels:
    • Release Notes:
      Adds a way for programs to perform administrative dataset operations (create, update, truncate, drop).
    • Rank:
      1|hzyw9j:

      Description

      In a program (service, worker, etc), we can only get a dataset instance via getDataset(), which can perform data operations. But we cannot get a dataset admin, which would be required to delete/truncate/create/upgrade a dataset.

      A common use case is a service that allows to create a dataset, or to reconfigure a dataset. Otherwise, how can one do dataset admin at all, other than through deploying an app, or REST calls.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                andreas Andreas Neumann
                Reporter:
                andreas Andreas Neumann
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: