查看Hadoop控制台 http://172.16.0.10:8088/cluster/scheduler ,发现内存只有50%使用率;
排查登录master节点服务,yarn.scheduler.capacity.maximum-am-resource-percent 配置为 0.5 ,表示core的资源使用率不能超过50%
[root@ads-flink-online-master ~]# cat /etc/hadoop/conf.empty/capacity-scheduler.xml解决yarn.scheduler.capacity.maximum-am-resource-percent 0.5 Maximum percent of resources in the cluster which can be used to run application masters i.e. controls number of concurrent running applications.
将yarn.scheduler.capacity.maximum-am-resource-percent改为0.8
[root@ads-flink-online-master ~]# vim /etc/hadoop/conf.empty/capacity-scheduler.xmlyarn.scheduler.capacity.maximum-am-resource-percent 0.8 Maximum percent of resources in the cluster which can be used to run application masters i.e. controls number of concurrent running applications.



