hadoop-hdds/server-scm/src/main/java/org/apache/hadoop/hdds/scm/StorageContainerManager.java
@Override
  public Pipeline allocateContainer(HddsProtos.ReplicationType replicationType,
      HddsProtos.ReplicationFactor replicationFactor, String containerName,
      String owner) throws IOException {

    checkAdminAccess();
    return scmContainerManager
        .allocateContainer(replicationType, replicationFactor, containerName,
            owner).getPipeline();
  }
/**
   * Asks SCM where a container should be allocated. SCM responds with the set
   * of datanodes that should be used creating this container.
   *
   * @param containerName - Name of the container.
   * @param replicationFactor - replication factor.
   * @return pipeline
   * @throws IOException
   */
Asks SCM where a container should be allocated. SCM responds with the set
of datanodes that should be used creating this container.

@param containerName - Name of the container.
@param replicationFactor - replication factor.
@return pipeline
@throws IOException
Asks SCM where a container should be allocated . SCM responds with the set of datanodes that should be used creating this container . @param containerName - Name of the container . @param replicationFactor - replication factor . @return pipeline @throws IOException
@Override
  public Pipeline allocateContainer(HddsProtos.ReplicationType replicationType,
      HddsProtos.ReplicationFactor replicationFactor, String containerName,
      String owner) throws IOException {
    checkAdminAccess();
    return scmContainerManager
        .allocateContainer(replicationType, replicationFactor, containerName,
            owner).getPipeline();
  }
@ Override public Pipeline allocateContainer ( HddsProtos . ReplicationType replicationType , HddsProtos . ReplicationFactor replicationFactor , String containerName , String owner ) throws IOException { checkAdminAccess ( ) ; return scmContainerManager . allocateContainer ( replicationType , replicationFactor , containerName , owner ) . getPipeline ( ) ; }
Asks SCM where a container should be allocated.
Asks SCM where a container should be allocated .