Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-7240 Scaling HDFS
  3. HDFS-11675

Ozone: SCM CLI: Implement delete container command

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • HDFS-7240
    • ozone
    • Reviewed

    Description

      Implement delete container

      hdfs scm -container del <container name> -f
      

      Deletes a container if it is empty. The -f options can be used to force a delete of a non-empty container. If container name specified not exist, prints a clear error message.

      Attachments

        1. HDFS-11675-HDFS-7240.001.patch
          25 kB
          Weiwei Yang
        2. HDFS-11675-HDFS-7240.002.patch
          27 kB
          Weiwei Yang
        3. HDFS-11675-HDFS-7240.003.patch
          28 kB
          Weiwei Yang
        4. HDFS-11675-HDFS-7240.004.patch
          28 kB
          Weiwei Yang
        5. HDFS-11675-HDFS-7240.005.patch
          32 kB
          Weiwei Yang
        6. Container_create_del_command_tests
          4 kB
          Weiwei Yang

        Activity

          People

            cheersyang Weiwei Yang
            cheersyang Weiwei Yang
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: