Interface YarnClusterInformationRetriever

All Known Implementing Classes:
YarnClientYarnClusterInformationRetriever

public interface YarnClusterInformationRetriever
Interface which allows to retrieve information about a Yarn cluster.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Get the maximum number of vcores supported by the Yarn cluster.
  • Method Details

    • getMaxVcores

      int getMaxVcores() throws org.apache.flink.util.FlinkException
      Get the maximum number of vcores supported by the Yarn cluster.
      Returns:
      max vcores supported by the cluster
      Throws:
      org.apache.flink.util.FlinkException