hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/StorageContainerManager.java
@Override
  public AllocatedBlock allocateBlock(long size,
      HddsProtos.ReplicationType type, HddsProtos.ReplicationFactor factor,
      String owner) throws IOException {
    return scmBlockManager.allocateBlock(size, type, factor, owner);
  }
/**
   * Asks SCM where a block should be allocated. SCM responds with the set of
   * datanodes that should be used creating this block.
   *
   * @param size - size of the block.
   * @param type - Replication type.
   * @param factor
   * @return allocated block accessing info (key, pipeline).
   * @throws IOException
   */
Asks SCM where a block should be allocated. SCM responds with the set of
datanodes that should be used creating this block.

@param size - size of the block.
@param type - Replication type.
@param factor
@return allocated block accessing info (key, pipeline).
Asks SCM where a block should be allocated . SCM responds with the set of datanodes that should be used creating this block . @param size - size of the block . @param type - Replication type . @param factor @return allocated block accessing info ( key pipeline ) .
@Override
  public AllocatedBlock allocateBlock(long size,
      HddsProtos.ReplicationType type, HddsProtos.ReplicationFactor factor,
      String owner) throws IOException {
    return scmBlockManager.allocateBlock(size, type, factor, owner);
  }
@ Override public AllocatedBlock allocateBlock ( long size , HddsProtos . ReplicationType type , HddsProtos . ReplicationFactor factor , String owner ) throws IOException { return scmBlockManager . allocateBlock ( size , type , factor , owner ) ; }
Asks SCM where a block should be allocated.
Asks SCM where a block should be allocated .