hadoop的FileSplit简单使用 FileSplit类继承关系: FileSplit类中的属性和方法: 作业输入: hadoophadoop:/home/hadoop/blb$ hdfs dfs -text /user/hadoop/libin/input/inputpath1.txt
hadoop a
spark a
hive a
hbase a
tachyon a
sto…
来源与去向
通过inputformat的getsplits方法产生传递给inputformat的createRecordReader方法.
/** A section of an input file. Returned by {link* InputFormat#getSplits(JobContext)} and passed to* {link InputFormat#createRecordReader(InputSplit,TaskAttemptConte…