public final class YarnClientYarnClusterInformationRetriever extends Object implements YarnClusterInformationRetriever
YarnClusterInformationRetriever implementation which queries the Yarn cluster using
a YarnClient instance.| 限定符和类型 | 方法和说明 |
|---|---|
static YarnClientYarnClusterInformationRetriever |
create(org.apache.hadoop.yarn.client.api.YarnClient yarnClient) |
int |
getMaxVcores()
Get the maximum number of vcores supported by the Yarn cluster.
|
public int getMaxVcores()
throws org.apache.flink.util.FlinkException
YarnClusterInformationRetrievergetMaxVcores 在接口中 YarnClusterInformationRetrieverorg.apache.flink.util.FlinkExceptionpublic static YarnClientYarnClusterInformationRetriever create(org.apache.hadoop.yarn.client.api.YarnClient yarnClient)
Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.