Class 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 Detail

      • TierFactoryInitializer

        public TierFactoryInitializer()
    • Method Detail

      • 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.