Packages

class ShuffleBufferCatalog extends Logging

Catalog for lookup of shuffle buffers by block ID

Linear Supertypes
Logging, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ShuffleBufferCatalog
  2. Logging
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ShuffleBufferCatalog(catalog: RapidsBufferCatalog, diskBlockManager: RapidsDiskBlockManager)

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 acquireBuffer(handle: RapidsBufferHandle): RapidsBuffer

    Lookup the shuffle buffer that corresponds to the specified buffer handle and acquire it.

    Lookup the shuffle buffer that corresponds to the specified buffer handle and acquire it. NOTE: It is the responsibility of the caller to close the buffer.

    handle

    shuffle buffer handle

    returns

    shuffle buffer that has been acquired

  5. def addBuffer(blockId: ShuffleBlockId, buffer: DeviceMemoryBuffer, tableMeta: TableMeta, initialSpillPriority: Long, needsSync: Boolean): RapidsBufferHandle

    Adds a buffer to the device storage, taking ownership of the buffer.

    Adds a buffer to the device storage, taking ownership of the buffer.

    blockId

    Spark's ShuffleBlockId that identifies this buffer

    buffer

    buffer that will be owned by the store

    tableMeta

    metadata describing the buffer layout

    initialSpillPriority

    starting spill priority value for the buffer

    returns

    RapidsBufferHandle associated with this buffer

  6. def addContiguousTable(blockId: ShuffleBlockId, contigTable: ContiguousTable, initialSpillPriority: Long, needsSync: Boolean): RapidsBufferHandle

    Adds a contiguous table shuffle table to the device storage.

    Adds a contiguous table shuffle table to the device storage. This does NOT take ownership of the contiguous table, so it is the responsibility of the caller to close it. The refcount of the underlying device buffer will be incremented so the contiguous table can be closed before this buffer is destroyed.

    blockId

    Spark's ShuffleBlockId that identifies this buffer

    contigTable

    contiguous table to track in storage

    initialSpillPriority

    starting spill priority value for the buffer

    needsSync

    whether the spill framework should stream synchronize while adding this device buffer (defaults to true)

    returns

    RapidsBufferHandle identifying this table

  7. def addDegenerateRapidsBuffer(blockId: ShuffleBlockId, meta: TableMeta): RapidsBufferHandle

    Register a new buffer with the catalog.

    Register a new buffer with the catalog. An exception will be thrown if an existing buffer was registered with the same block ID (extremely unlikely)

  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def blockIdToBufferHandles(blockId: ShuffleBlockId): Array[RapidsBufferHandle]
  10. def blockIdToBuffersIds(blockId: ShuffleBlockId): Array[ShuffleBufferId]

    Get all the buffer IDs that correspond to a shuffle block identifier.

  11. def blockIdToMetas(blockId: ShuffleBlockId): Seq[TableMeta]

    Get all the buffer metadata that correspond to a shuffle block identifier.

  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def getShuffleBufferHandle(tableId: Int): RapidsBufferHandle

    Lookup the shuffle buffer handle that corresponds to the specified table identifier.

  18. def hasActiveShuffle(shuffleId: Int): Boolean
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  21. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  24. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  25. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  26. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  27. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  28. def logError(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  29. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  30. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  31. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  32. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  33. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  34. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  35. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  36. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  37. def nextShuffleBufferId(blockId: ShuffleBlockId): ShuffleBufferId

    Allocate a new shuffle buffer identifier and update the shuffle block mapping.

  38. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  39. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  40. def registerShuffle(shuffleId: Int): Unit

    Register a new shuffle.

    Register a new shuffle. This must be called before any buffer identifiers associated with this shuffle can be tracked.

    shuffleId

    shuffle identifier

  41. def removeBuffer(handle: RapidsBufferHandle): Unit

    Remove a buffer and table given a buffer handle NOTE: This function is not thread safe! The caller should only invoke if the handle being removed is not being utilized by another thread.

    Remove a buffer and table given a buffer handle NOTE: This function is not thread safe! The caller should only invoke if the handle being removed is not being utilized by another thread.

    handle

    buffer handle

  42. def removeCachedHandles(): Unit
  43. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  44. def toString(): String
    Definition Classes
    AnyRef → Any
  45. def unregisterShuffle(shuffleId: Int): Unit

    Frees all buffers that correspond to the specified shuffle.

  46. def updateSpillPriorityForLocalRead(handle: RapidsBufferHandle): Unit

    Update the spill priority of a shuffle buffer that soon will be read locally.

    Update the spill priority of a shuffle buffer that soon will be read locally.

    handle

    shuffle buffer handle of buffer to update

  47. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped