Class PythonWorkerLogBlockId

Object
org.apache.spark.storage.BlockId
org.apache.spark.storage.LogBlockId
org.apache.spark.storage.PythonWorkerLogBlockId
All Implemented Interfaces:
Serializable, scala.Equals, scala.Product

public class PythonWorkerLogBlockId extends LogBlockId implements scala.Product, Serializable
Identifies a block of Python worker log data.

param: lastLogTime the timestamp of the last log entry in this block, used for filtering and log management. param: executorId the ID of the executor that produced this log block. param: sessionId the session ID to isolate the logs. param: workerId the worker ID to distinguish the Python worker process.

See Also:
  • Constructor Details

    • PythonWorkerLogBlockId

      public PythonWorkerLogBlockId(long lastLogTime, String executorId, String sessionId, String workerId)
  • Method Details

    • apply

      public abstract static R apply(T1 v1, T2 v2, T3 v3, T4 v4)
    • toString

      public static String toString()
    • lastLogTime

      public long lastLogTime()
      Specified by:
      lastLogTime in class LogBlockId
    • executorId

      public String executorId()
      Specified by:
      executorId in class LogBlockId
    • sessionId

      public String sessionId()
    • workerId

      public String workerId()
    • name

      public String name()
      Description copied from class: BlockId
      A globally unique identifier for this Block. Can be used for ser/de.
      Specified by:
      name in class BlockId
    • logBlockType

      public scala.Enumeration.Value logBlockType()
      Specified by:
      logBlockType in class LogBlockId