hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/ksm/KeySpaceManager.java
@Override
  public void createVolume(KsmVolumeArgs args) throws IOException {
    try {
      metrics.incNumVolumeCreates();
      volumeManager.createVolume(args);
    } catch (Exception ex) {
      metrics.incNumVolumeCreateFails();
      throw ex;
    }
  }
/**
   * Creates a volume.
   *
   * @param args - Arguments to create Volume.
   * @throws IOException
   */
Creates a volume.
@param args - Arguments to create Volume.
Creates a volume . @param args - Arguments to create Volume .
@Override
  public void createVolume(KsmVolumeArgs args) throws IOException {
    try {
      metrics.incNumVolumeCreates();
      volumeManager.createVolume(args);
    } catch (Exception ex) {
      metrics.incNumVolumeCreateFails();
      throw ex;
    }
  }
@ Override public void createVolume ( KsmVolumeArgs args ) throws IOException { try { metrics . incNumVolumeCreates ( ) ; volumeManager . createVolume ( args ) ; } catch ( Exception ex ) { metrics . incNumVolumeCreateFails ( ) ; throw ex ; } }
Creates a volume.
Creates a volume .