Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
courses:mapreduce-tutorial:step-29 [2012/01/29 17:44] straka |
courses:mapreduce-tutorial:step-29 [2012/01/30 00:40] straka |
||
---|---|---|---|
Line 8: | Line 8: | ||
When implementing new input format, we must | When implementing new input format, we must | ||
- | * decide whether the input files are splittable. Usually uncompressed are splittable and compressed are not splittable, with the exception of '' | + | * decide whether the input files are splittable. Usually uncompressed |
* implement [[http:// | * implement [[http:// | ||
Our '' | Our '' | ||
<code java> | <code java> | ||
- | public | + | public class FileAsPathInputFormat extends FileInputFormat< |
public static class FileAsPathRecordReader extends RecordReader< | public static class FileAsPathRecordReader extends RecordReader< | ||
private Path file; | private Path file; |