public class NettyShuffleDescriptor extends Object implements ShuffleDescriptor
ShuffleDescriptor for NettyShuffleMaster.| 限定符和类型 | 类和说明 |
|---|---|
static class |
NettyShuffleDescriptor.LocalExecutionPartitionConnectionInfo
Local partition connection information.
|
static class |
NettyShuffleDescriptor.NetworkPartitionConnectionInfo
Remote partition connection information with index to query partition.
|
static interface |
NettyShuffleDescriptor.PartitionConnectionInfo
Information for connection to partition producer for shuffle exchange.
|
| 构造器和说明 |
|---|
NettyShuffleDescriptor(ResourceID producerLocation,
NettyShuffleDescriptor.PartitionConnectionInfo partitionConnectionInfo,
ResultPartitionID resultPartitionID) |
| 限定符和类型 | 方法和说明 |
|---|---|
ConnectionID |
getConnectionId() |
ResultPartitionID |
getResultPartitionID() |
boolean |
isLocalTo(ResourceID consumerLocation) |
Optional<ResourceID> |
storesLocalResourcesOn()
Returns the location of the producing task executor if the partition occupies local resources
there.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisUnknownpublic NettyShuffleDescriptor(ResourceID producerLocation, NettyShuffleDescriptor.PartitionConnectionInfo partitionConnectionInfo, ResultPartitionID resultPartitionID)
public ConnectionID getConnectionId()
public ResultPartitionID getResultPartitionID()
getResultPartitionID 在接口中 ShuffleDescriptorpublic Optional<ResourceID> storesLocalResourcesOn()
ShuffleDescriptorIndicates that this partition occupies local resources in the producing task executor.
Such partition requires that the task executor is running and being connected to be able to
consume the produced data. This is mostly relevant for the batch jobs and blocking result
partitions which can outlive the producer lifetime and be released externally. ShuffleEnvironment.releasePartitionsLocally(Collection) can be used to release such kind of
partitions locally.
storesLocalResourcesOn 在接口中 ShuffleDescriptorpublic boolean isLocalTo(ResourceID consumerLocation)
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.