| Package | Description |
|---|---|
| org.apache.hadoop.mapred | |
| org.apache.hadoop.mapreduce.lib.input |
| Constructor and Description |
|---|
FileSplit(FileSplit fs) |
| Modifier and Type | Method and Description |
|---|---|
protected static FileSplit |
NLineInputFormat.createFileSplit(org.apache.hadoop.fs.Path fileName,
long begin,
long length)
NLineInputFormat uses LineRecordReader, which always reads
(and consumes) at least one character out of its upper split
boundary.
|
protected FileSplit |
FileInputFormat.makeSplit(org.apache.hadoop.fs.Path file,
long start,
long length,
String[] hosts)
A factory that makes the split for this class.
|
protected FileSplit |
FileInputFormat.makeSplit(org.apache.hadoop.fs.Path file,
long start,
long length,
String[] hosts,
String[] inMemoryHosts)
A factory that makes the split for this class.
|
| Modifier and Type | Method and Description |
|---|---|
static List<FileSplit> |
NLineInputFormat.getSplitsForFile(org.apache.hadoop.fs.FileStatus status,
org.apache.hadoop.conf.Configuration conf,
int numLinesPerSplit) |
Copyright © 2022 Apache Software Foundation. All rights reserved.