ClusterMetrics.java类:
Status information on the current state of the Map-Reduce cluster.
* Mapreduce集群的当前状态* 提供给client如下信息:
* 集群大小
* 黑名单和过期的tracker
* 集群的容量
* 当前Map reduce占用
* 当前运行的map reduce 个数
* job提交的数目
JobSplit.java类:
* This class groups the fundamental classes associated with
* reading/writing splits. The split information is divided into
* two parts based on the consumer of the information. The two
* parts are the split meta information, and the raw split
* information. The first part is consumed by the JobTracker to
* create the tasks' locality data structures. The second part is
* used by the maps at runtime to know what to do!
* These pieces of information are written to two separate files.
* The metainformation file is slurped by the JobTracker during
* job initialization. A map task gets the meta information during
* the launch and it reads the raw split bytes directly from the
* file.
*
* 这个类 分组基础的读 写分片类,分片信息被分割成两个部分,基于数据信息。
* 第一个部分是 jobtracker消耗来创建任务的本地数据结构。第二部分被maps用来知道要做什么
* 这些碎片信息被写进两个分割的文件