public Map<String, DataPartitionTable> allocateDataPartition(
      Map<String, Map<TSeriesPartitionSlot, TTimeSlotList>> unassignedDataPartitionSlotsMap)
      throws DatabaseNotExistsException, NoAvailableRegionGroupException {
    return partitionBalancer.allocateDataPartition(unassignedDataPartitionSlotsMap);
  }
Allocate DataPartitions.

@param unassignedDataPartitionSlotsMap DataPartitionSlots that should be assigned
@throws DatabaseNotExistsException If some specific Databases don't exist
@throws NoAvailableRegionGroupException If there are no available RegionGroups
@return Map<DatabaseName, DataPartitionTable>, the allocating result
iotdb-core/confignode/src/main/java/org/apache/iotdb/confignode/manager/load/LoadManager.java