public class HadoopV1Splitter extends Object
| Constructor and Description |
|---|
HadoopV1Splitter() |
| Modifier and Type | Method and Description |
|---|---|
static HadoopFileBlock |
readFileBlock(String clsName,
FSDataInputStream in,
String[] hosts) |
static Collection<HadoopInputSplit> |
splitJob(JobConf jobConf) |
public static Collection<HadoopInputSplit> splitJob(JobConf jobConf) throws IgniteCheckedException
jobConf - Job configuration.IgniteCheckedException - If mapping failed.@Nullable public static HadoopFileBlock readFileBlock(String clsName, FSDataInputStream in, @Nullable String[] hosts) throws IgniteCheckedException
clsName - Input split class name.in - Input stream.hosts - Optional hosts.null if it is not a FileSplit instance.IgniteCheckedException - If failed.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.5.1-p166 Release Date : September 3 2019