hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/ksm/KeySpaceManager.java
@Override
  public void deleteVolume(String volume) throws IOException {
    try {
      metrics.incNumVolumeDeletes();
      volumeManager.deleteVolume(volume);
    } catch (Exception ex) {
      metrics.incNumVolumeDeleteFails();
      throw ex;
    }
  }
/**
   * Deletes an existing empty volume.
   *
   * @param volume - Name of the volume.
   * @throws IOException
   */
Deletes an existing empty volume.
@param volume - Name of the volume.
Deletes an existing empty volume . @param volume - Name of the volume .
@Override
  public void deleteVolume(String volume) throws IOException {
    try {
      metrics.incNumVolumeDeletes();
      volumeManager.deleteVolume(volume);
    } catch (Exception ex) {
      metrics.incNumVolumeDeleteFails();
      throw ex;
    }
  }
@ Override public void deleteVolume ( String volume ) throws IOException { try { metrics . incNumVolumeDeletes ( ) ; volumeManager . deleteVolume ( volume ) ; } catch ( Exception ex ) { metrics . incNumVolumeDeleteFails ( ) ; throw ex ; } }
Deletes an existing empty volume.
Deletes an existing empty volume .