hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/ksm/KeySpaceManager.java
public void deleteBucket(String volume, String bucket) throws IOException {
    try {
      metrics.incNumBucketDeletes();
      bucketManager.deleteBucket(volume, bucket);
    } catch (Exception ex) {
      metrics.incNumBucketDeleteFails();
      throw ex;
    }
  }
/**
   * Deletes an existing empty bucket from volume.
   * @param volume - Name of the volume.
   * @param bucket - Name of the bucket.
   * @throws IOException
   */
Deletes an existing empty bucket from volume.
@param volume - Name of the volume.
@param bucket - Name of the bucket.
Deletes an existing empty bucket from volume . @param volume - Name of the volume . @param bucket - Name of the bucket .
public void deleteBucket(String volume, String bucket) throws IOException {
    try {
      metrics.incNumBucketDeletes();
      bucketManager.deleteBucket(volume, bucket);
    } catch (Exception ex) {
      metrics.incNumBucketDeleteFails();
      throw ex;
    }
  }
public void deleteBucket ( String volume , String bucket ) throws IOException { try { metrics . incNumBucketDeletes ( ) ; bucketManager . deleteBucket ( volume , bucket ) ; } catch ( Exception ex ) { metrics . incNumBucketDeleteFails ( ) ; throw ex ; } }
Deletes an existing empty bucket from volume.
Deletes an existing empty bucket from volume .