class ExternalBlockHandler extends RpcHandler with MergedBlockMetaReqHandler
RPC Handler for a server which can serve both RDD blocks and shuffle blocks from outside of an Executor process.
Handles registering executors and opening shuffle or disk persisted RDD blocks from them. Blocks are registered with the "one-for-one" strategy, meaning each Transport-layer Chunk is equivalent to one block.
- Alphabetic
- By Inheritance
- ExternalBlockHandler
- MergedBlockMetaReqHandler
- RpcHandler
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new ExternalBlockHandler(streamManager: OneForOneStreamManager, blockManager: ExternalShuffleBlockResolver, mergeManager: MergedShuffleFileManager)
Enables mocking out the StreamManager, BlockManager, and MergeManager.
Enables mocking out the StreamManager, BlockManager, and MergeManager.
- Annotations
- @VisibleForTesting()
- new ExternalBlockHandler(streamManager: OneForOneStreamManager, blockManager: ExternalShuffleBlockResolver)
Enables mocking out the StreamManager and BlockManager.
Enables mocking out the StreamManager and BlockManager.
- Annotations
- @VisibleForTesting()
- new ExternalBlockHandler(conf: TransportConf, registeredExecutorFile: File, mergeManager: MergedShuffleFileManager)
- new ExternalBlockHandler(conf: TransportConf, registeredExecutorFile: File)
Type Members
- class ShuffleMetrics extends MetricSet
A simple class to wrap all shuffle service wrapper metrics
A simple class to wrap all shuffle service wrapper metrics
- Annotations
- @VisibleForTesting()
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def applicationRemoved(appId: String, cleanupLocalDirs: Boolean): Unit
Removes an application (once it has been terminated), and optionally will clean up any local directories associated with the executors of that application in a separate thread.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def channelActive(client: TransportClient): Unit
- Definition Classes
- ExternalBlockHandler → RpcHandler
- Annotations
- @Override()
- def channelInactive(client: TransportClient): Unit
- Definition Classes
- ExternalBlockHandler → RpcHandler
- Annotations
- @Override()
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def close(): Unit
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def exceptionCaught(cause: Throwable, client: TransportClient): Unit
- Definition Classes
- ExternalBlockHandler → RpcHandler
- Annotations
- @Override()
- def executorRemoved(executorId: String, appId: String): Unit
Clean up any non-shuffle files in any local directories associated with an finished executor.
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def getAllMetrics(): MetricSet
- def getBlockResolver(): ExternalShuffleBlockResolver
- Annotations
- @VisibleForTesting()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getMergedBlockMetaReqHandler(): MergedBlockMetaReqHandler
- Definition Classes
- ExternalBlockHandler → RpcHandler
- Annotations
- @Override()
- def getStreamManager(): StreamManager
- Definition Classes
- ExternalBlockHandler → RpcHandler
- Annotations
- @Override()
- def handleMessage(msgObj: BlockTransferMessage, client: TransportClient, callback: RpcResponseCallback): Unit
- Attributes
- protected[shuffle]
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def receive(client: TransportClient, message: ByteBuffer, callback: RpcResponseCallback): Unit
- Definition Classes
- ExternalBlockHandler → RpcHandler
- Annotations
- @Override()
- def receive(arg0: TransportClient, arg1: ByteBuffer): Unit
- Definition Classes
- RpcHandler
- def receiveMergeBlockMetaReq(client: TransportClient, metaRequest: MergedBlockMetaRequest, callback: MergedBlockMetaResponseCallback): Unit
- Definition Classes
- ExternalBlockHandler → MergedBlockMetaReqHandler
- Annotations
- @Override()
- def receiveStream(client: TransportClient, messageHeader: ByteBuffer, callback: RpcResponseCallback): StreamCallbackWithID
- Definition Classes
- ExternalBlockHandler → RpcHandler
- Annotations
- @Override()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()