简体   繁体   中英

Hadoop YARN slow resource allocation for Spark

I have this problem where YARN is very slow in allocating resource for spark, sometimes it's late to add executor. This started after a black out, after I restart the cluster, it started acting slow even though I restart it a few times. No configuration were changes. It was working fine before.

在此处输入图像描述

The picture above shows executor were added very late. Sometimes some of the executor were not added at all. The picture below taken before the black out.

在此处输入图像描述

Can anyone figure out what's happening? it's still working, but much-much slower than before.

Yarn has Dynamic resource allocation property. I am not sure whether you have enabled this property or not. If enabled means yarn will allocate the resources based on the load.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM