This paper describes the data load balancing algorithm of Hadoop.In order to improve the efficiency of algorithm
we propose the optimization algorithms using sorting method or handling the overloading racks preferentially to solve load balancing.Experiments show the racks used optimization algorithm can realize load balancing in shorter time or handle the overloading nodes preferentially in certain circumstance.