关闭

hadoop源码分析 jobsplit

576人阅读 评论(0) 收藏 举报
分类:

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用来知道要做什么
 * 这些碎片信息被写进两个分割的文件

0
0

查看评论
* 以上用户言论只代表其个人观点,不代表CSDN网站的观点或立场
    个人资料
    • 访问:403952次
    • 积分:5746
    • 等级:
    • 排名:第4481名
    • 原创:204篇
    • 转载:40篇
    • 译文:1篇
    • 评论:33条
    最新评论