hadoop源码分析 jobsplit

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
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值