LI Yuan-zhen, YANG Qun, LAI Shang-qi, et al. A Study on Scheduling Method of Hadoop Yarn[J]. Acta Electronica Sinica, 2016, 44(5): 1017-1024.
DOI:
LI Yuan-zhen, YANG Qun, LAI Shang-qi, et al. A Study on Scheduling Method of Hadoop Yarn[J]. Acta Electronica Sinica, 2016, 44(5): 1017-1024. DOI: 10.3969/j.issn.0372-2112.2016.05.002.
In view of the resource scheduling problem of Hadoop Yarn
to improve the execution efficiency of the cluster job
we propose a Self-adapt Resource Scheduling algorithm based on Ant Colony Algorithm and Particle Swarm Algorithm in Hadoop (SRSAPH).In SRSAPH
we initialize the pheromone matrix of SRSAPH by using the attribute information of load
memory
and CPU speed obtained through the heartbeat message transfer mechanism.Meanwhile
we introduce the self-cognitive ability and social cognition ability of particle swarm algorithm into the ant colony algorithm to speed up the rate of convergence of the algorithm.Moreover
we dynamically adjust the pheromone evaporation rate based on the fluctuation trends of global optimal solution to enhance the accuracy of the solutions.Experimental result shows that by using SRSAPH in resource scheduling
the execution time of cluster job is shorten by 10%.