hadoop源码-balance

hadoop balance部分的程序。
1、用ExecutorService+Future的方式,不得不感叹,JAVA在服务器方面的编程易用性和C++相比真是一个天上,一个地下。
2、还有疑问还需要继续挖掘,Hadoop是如何在不启动balance进程时,维护文件系统平衡的呢?
3、target datanode receive a block and write it to disk, it then notifies the namenode to  remove the copy from the source. 

猜你喜欢

转载自lidawei.iteye.com/blog/1608028