class ExternalShuffleBlockResolver extends AnyRef
Manages converting shuffle BlockIds into physical segments of local files, from a process outside of Executors. Each Executor must register its own configuration about where it stores its files (local dirs) and how (shuffle manager). The logic for retrieval of individual files is replicated from Spark's IndexShuffleBlockResolver.
- Alphabetic
- By Inheritance
- ExternalShuffleBlockResolver
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
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 our metadata of all executors registered for the given application, and optionally also deletes the local directories associated with the executors of that application in a separate thread.
Removes our metadata of all executors registered for the given application, and optionally also deletes the local directories associated with the executors of that application in a separate thread.
It is not valid to call registerExecutor() for an executor with this appId after invoking this method.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def diagnoseShuffleBlockCorruption(appId: String, execId: String, shuffleId: Int, mapId: Long, reduceId: Int, checksumByReader: Long, algorithm: String): Cause
Diagnose the possible cause of the shuffle data corruption by verifying the shuffle checksums
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def executorRemoved(executorId: String, appId: String): Unit
Removes all the files which cannot be served by the external shuffle service (non-shuffle and non-RDD files) in any local directories associated with the finished executor.
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def getBlockData(appId: String, execId: String, shuffleId: Int, mapId: Long, reduceId: Int): ManagedBuffer
Obtains a FileSegmentManagedBuffer from a single block (shuffleId, mapId, reduceId).
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getContinuousBlocksData(appId: String, execId: String, shuffleId: Int, mapId: Long, startReduceId: Int, endReduceId: Int): ManagedBuffer
Obtains a FileSegmentManagedBuffer from (shuffleId, mapId, [startReduceId, endReduceId)).
Obtains a FileSegmentManagedBuffer from (shuffleId, mapId, [startReduceId, endReduceId)). We make assumptions about how the hash and sort based shuffles store their data.
- def getDiskPersistedRddBlockData(executor: ExecutorShuffleInfo, rddId: Int, splitIndex: Int): ManagedBuffer
- def getLocalDirs(appId: String, execIds: Set[String]): Map[String, Array[String]]
- def getRddBlockData(appId: String, execId: String, rddId: Int, splitIndex: Int): ManagedBuffer
- def getRegisteredExecutorsSize(): Int
- 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 registerExecutor(appId: String, execId: String, executorInfo: ExecutorShuffleInfo): Unit
Registers a new Executor with all the configuration we need to find its shuffle files.
- def removeBlocks(appId: String, execId: String, blockIds: Array[String]): Int
- 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()