public final class ResultPartitionID extends Object implements Serializable
IntermediateResultPartition
.
In failure cases the IntermediateResultPartitionID
is not enough to uniquely identify
a result partition. It needs to be associated with the producing task as well to ensure correct
tracking of failed/restarted tasks.
Constructor and Description |
---|
ResultPartitionID() |
ResultPartitionID(IntermediateResultPartitionID partitionId,
ExecutionAttemptID producerId) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
IntermediateResultPartitionID |
getPartitionId() |
ExecutionAttemptID |
getProducerId() |
int |
hashCode() |
String |
toString() |
@VisibleForTesting public ResultPartitionID()
public ResultPartitionID(IntermediateResultPartitionID partitionId, ExecutionAttemptID producerId)
public IntermediateResultPartitionID getPartitionId()
public ExecutionAttemptID getProducerId()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.