c

org.apache.spark.network.shuffle

ExternalShuffleBlockResolver

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.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExternalShuffleBlockResolver
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ExternalShuffleBlockResolver(conf: TransportConf, registeredExecutorFile: File)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. 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.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. 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

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. 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.

  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. def getBlockData(appId: String, execId: String, shuffleId: Int, mapId: Long, reduceId: Int): ManagedBuffer

    Obtains a FileSegmentManagedBuffer from a single block (shuffleId, mapId, reduceId).

  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. 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.

  15. def getDiskPersistedRddBlockData(executor: ExecutorShuffleInfo, rddId: Int, splitIndex: Int): ManagedBuffer
  16. def getLocalDirs(appId: String, execIds: Set[String]): Map[String, Array[String]]
  17. def getRddBlockData(appId: String, execId: String, rddId: Int, splitIndex: Int): ManagedBuffer
  18. def getRegisteredExecutorsSize(): Int
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. def registerExecutor(appId: String, execId: String, executorInfo: ExecutorShuffleInfo): Unit

    Registers a new Executor with all the configuration we need to find its shuffle files.

  25. def removeBlocks(appId: String, execId: String, blockIds: Array[String]): Int
  26. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  27. def toString(): String
    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped