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

Incorrect error messages for namespace deletion

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.1.0
    • Component/s: CLI
    • Labels:
      None
    • Rank:
      1|hzyumv:

      Description

      CLI does not show why deleting a namespace failed:

      [andreas@anew1758-1000 ~]$ /opt/cdap/cli/bin/cdap-cli.sh delete namespace default
      Authentication is enabled in the CDAP instance: anew1758-1000.dev.continuuity.net.
      Please, specify Username for basic authentication.> andreas
      Please, specify Password for basic authentication.> *******
      WARNING: Deleting namespace is an unrecoverable operation
      Are you sure you want to delete contents of namespace 'default' [y/N]? y
      Error: 'namespace:default' could not be deleted
      

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: