public class HadoopShuffle extends HadoopComponent
| Modifier and Type | Field and Description |
|---|---|
protected GridUnsafeMemory |
mem |
ctx, log| Constructor and Description |
|---|
HadoopShuffle() |
| Modifier and Type | Method and Description |
|---|---|
IgniteInternalFuture<?> |
flush(HadoopJobId jobId)
Flushes all the outputs for the given job to remote nodes.
|
HadoopTaskInput |
input(HadoopTaskContext taskCtx) |
void |
jobFinished(HadoopJobId jobId) |
GridUnsafeMemory |
memory() |
boolean |
onMessageReceived(UUID src,
HadoopMessage msg)
Message received callback.
|
HadoopTaskOutput |
output(HadoopTaskContext taskCtx) |
void |
start(HadoopContext ctx) |
void |
stop(boolean cancel)
Stops shuffle.
|
onKernalStart, onKernalStopprotected final GridUnsafeMemory mem
public void start(HadoopContext ctx) throws IgniteCheckedException
start in class HadoopComponentctx - Hadoop context.IgniteCheckedExceptionpublic void stop(boolean cancel)
stop in class HadoopComponentcancel - If should cancel all ongoing activities.public boolean onMessageReceived(UUID src, HadoopMessage msg)
src - Sender node ID.msg - Received message.True.public HadoopTaskOutput output(HadoopTaskContext taskCtx) throws IgniteCheckedException
taskCtx - Task info.IgniteCheckedExceptionpublic HadoopTaskInput input(HadoopTaskContext taskCtx) throws IgniteCheckedException
taskCtx - Task info.IgniteCheckedExceptionpublic void jobFinished(HadoopJobId jobId)
jobId - Job id.public IgniteInternalFuture<?> flush(HadoopJobId jobId)
jobId - Job ID.public GridUnsafeMemory memory()
Follow @ApacheIgnite
Ignite Fabric : ver. 2.5.1-p166 Release Date : September 3 2019