c

com.nvidia.spark.rapids.shuffle

RapidsShuffleServer

class RapidsShuffleServer extends AutoCloseable with Logging

A server that replies to shuffle metadata messages, and issues device/host memory sends.

A single command thread is used to orchestrate sends/receives and to remove from transport's progress thread.

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

Instance Constructors

  1. new RapidsShuffleServer(transport: RapidsShuffleTransport, serverConnection: ServerConnection, originalShuffleServerId: BlockManagerId, requestHandler: RapidsShuffleRequestHandler, exec: Executor, bssExec: Executor, rapidsConf: RapidsConf)

    transport

    the transport we were configured with

    serverConnection

    a connection object, which contains functions to send/receive

    originalShuffleServerId

    spark's BlockManagerId for this executor

    requestHandler

    instance of RapidsShuffleRequestHandler

    exec

    Executor used to handle tasks that take time, and should not be in the transport's thread

    bssExec

    Executor used to handle BufferSendStates that are waiting for bounce buffers to become available

    rapidsConf

    plugin configuration instance

Type Members

  1. case class PendingTransferResponse(tx: Transaction, requestHandler: RapidsShuffleRequestHandler) extends Product with Serializable

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. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def asyncOrBlock(op: Any): Unit

    Pushes a task onto the queue to be handled by the server executor.

    Pushes a task onto the queue to be handled by the server executor.

    All callbacks handled in the server (from the transport) need to be offloaded into this pool. Note, if this thread blocks we are blocking the progress thread of the transport.

    op

    One of the case classes in ShuffleServerOps

  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. def close(): Unit
    Definition Classes
    RapidsShuffleServer → AutoCloseable
  8. def doHandleMetadataRequest(tx: Transaction): Unit

    Handles the very first message that a client will send, in order to request Table/Buffer info.

  9. def doHandleTransferRequest(bufferSendStates: Seq[BufferSendState]): Unit

    This will kick off, or continue to work, a BufferSendState object until all tables are fully transmitted.

    This will kick off, or continue to work, a BufferSendState object until all tables are fully transmitted.

    bufferSendStates

    state objects tracking sends needed to fulfill a TransferRequest

  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def getId: BlockManagerId
  15. def getPort: Int

    Returns a TCP port that is expected to respond to rapids shuffle protocol.

    Returns a TCP port that is expected to respond to rapids shuffle protocol. Throws if this server is not started yet, which is an illegal state.

    returns

    the port

  16. def handleOp(serverTask: Any): Unit
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def initializeLogIfNecessary(isInterpreter: Boolean, silent: Boolean): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  19. def initializeLogIfNecessary(isInterpreter: Boolean): Unit
    Attributes
    protected
    Definition Classes
    Logging
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def isTraceEnabled(): Boolean
    Attributes
    protected
    Definition Classes
    Logging
  22. def log: Logger
    Attributes
    protected
    Definition Classes
    Logging
  23. def logDebug(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  24. def logDebug(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  25. def logError(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  26. def logError(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  27. def logInfo(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  28. def logInfo(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  29. def logName: String
    Attributes
    protected
    Definition Classes
    Logging
  30. def logTrace(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  31. def logTrace(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  32. def logWarning(msg: ⇒ String, throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    Logging
  33. def logWarning(msg: ⇒ String): Unit
    Attributes
    protected
    Definition Classes
    Logging
  34. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  36. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  37. val originalShuffleServerId: BlockManagerId
  38. val serverStream: Stream
  39. def start(): Unit

    Kick off the underlying connection, and listen for initial requests.

  40. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  41. def toString(): String
    Definition Classes
    AnyRef → Any
  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from Logging

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped