Package org.apache.flink.yarn
Interface YarnClusterInformationRetriever
- All Known Implementing Classes:
YarnClientYarnClusterInformationRetriever
public interface YarnClusterInformationRetriever
Interface which allows to retrieve information about a Yarn cluster.
-
Method Summary
Modifier and TypeMethodDescriptionintGet the maximum number of vcores supported by the Yarn cluster.
-
Method Details
-
getMaxVcores
int getMaxVcores() throws org.apache.flink.util.FlinkExceptionGet the maximum number of vcores supported by the Yarn cluster.- Returns:
- max vcores supported by the cluster
- Throws:
org.apache.flink.util.FlinkException
-