public class RpcInputSplitProvider extends Object implements InputSplitProvider
| Constructor and Description |
|---|
RpcInputSplitProvider(UUID jobMasterLeaderId,
JobMasterGateway jobMasterGateway,
JobID jobID,
JobVertexID jobVertexID,
ExecutionAttemptID executionAttemptID,
Time timeout) |
| Modifier and Type | Method and Description |
|---|---|
InputSplit |
getNextInputSplit(ClassLoader userCodeClassLoader)
Requests the next input split to be consumed by the calling task.
|
public RpcInputSplitProvider(UUID jobMasterLeaderId, JobMasterGateway jobMasterGateway, JobID jobID, JobVertexID jobVertexID, ExecutionAttemptID executionAttemptID, Time timeout)
public InputSplit getNextInputSplit(ClassLoader userCodeClassLoader) throws InputSplitProviderException
InputSplitProvidergetNextInputSplit in interface InputSplitProvideruserCodeClassLoader - used to deserialize input splitsnull if the
task shall not consume any further input splits.InputSplitProviderException - if fetching the next input split failsCopyright © 2014–2017 The Apache Software Foundation. All rights reserved.