java.lang.Object
org.apache.flink.runtime.io.network.partition.hybrid.tiered.shuffle.TierFactoryInitializer

public class TierFactoryInitializer extends Object
A class responsible for initializing and returning a list of TierFactory instances based on the provided TieredStorageConfiguration. It uses different methods to handle different levels of shuffle data persistence.
  • Constructor Details

    • TierFactoryInitializer

      public TierFactoryInitializer()
  • Method Details

    • initializeTierFactories

      public static List<TierFactory> initializeTierFactories(org.apache.flink.configuration.Configuration configuration)
      Initializes and returns a list of TierFactory instances according to the specified TieredStorageConfiguration's persistent level. The method selects the appropriate strategy to create and initialize tier factories based on whether the shuffle data should be ephemeral, tied to task manager (TM) levels, or durable.
      Parameters:
      configuration - The Configuration used to initialize the factories.
      Returns:
      A list of initialized TierFactory instances configured according to the given persistent level.
      Throws:
      IllegalArgumentException - If an unknown persistent level is encountered.