public class RpcPartitionStateChecker extends Object implements PartitionProducerStateChecker
Constructor and Description |
---|
RpcPartitionStateChecker(JobMasterGateway jobMasterGateway) |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<ExecutionState> |
requestPartitionProducerState(JobID jobId,
IntermediateDataSetID resultId,
ResultPartitionID partitionId)
Requests the execution state of the execution producing a result partition.
|
public RpcPartitionStateChecker(JobMasterGateway jobMasterGateway)
public CompletableFuture<ExecutionState> requestPartitionProducerState(JobID jobId, IntermediateDataSetID resultId, ResultPartitionID partitionId)
PartitionProducerStateChecker
requestPartitionProducerState
in interface PartitionProducerStateChecker
jobId
- ID of the job the partition belongs to.resultId
- ID of the parent intermediate data set.partitionId
- ID of the result partition to check. This
identifies the producing execution and partition.Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.