提交flink 自带的 程序 SocketWindowWordCount.jar 到yarn上 出现
Deployment took more than 60 seconds. Please check if the requested resources are available in the YARN cluster 错误。
不知道怎么解决
yarn 配置如下
yarn.nodemanager.aux-servicesmapreduce_shuffleyarn.nodemanager.aux-services.mapreduce.shuffle.classorg.apache.hadoop.mapred.ShuffleHandleryarn.resourcemanager.addresshadoop72:8032yarn.resourcemanager.scheduler.addresshadoop72:8030yarn.resourcemanager.resource-tracker.addresshadoop72:8035yarn.resourcemanager.admin.addresshadoop72:8033yarn.resourcemanager.webapp.addresshadoop72:8088Ratio between virtual memory to physical memory when setting memory limits for containers. Container allocations are expressed in terms of physical memory, and virtual memory usage is allowed to exceed this allocation by this ratio. yarn.nodemanager.vmem-pmem-ratio2.1yarn.nodemanager.vmem-check-enabledfalseyarn.scheduler.minimum-allocation-mb6144yarn.scheduler.capacity.maximum-am-resource-percent0.6
flink 运行脚本如下:
/opt/module/flink/bin/flink run -m yarn-cluster -yjm 1024 -ytm 1024 -ys 1 /opt/module/flink/examples/streaming/SocketWindowWordCount.jar --hostname hadoop72 --port 9999
有大佬能帮忙解决吗?