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. All

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

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

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped