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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getMaxVcores()
Get the maximum number of vcores supported by the Yarn cluster.
-
-
-
Method Detail
-
getMaxVcores
int getMaxVcores() throws FlinkException
Get the maximum number of vcores supported by the Yarn cluster.- Returns:
- max vcores supported by the cluster
- Throws:
FlinkException
-
-