Package

org.apache.gearpump.cluster

worker

Permalink

package worker

Visibility
  1. Public
  2. All

Type Members

  1. trait ExecutorProcessLauncher extends AnyRef

    Permalink

    ExecutorProcessLauncher is used to launch a process for Executor using given parameters.

    ExecutorProcessLauncher is used to launch a process for Executor using given parameters.

    User can implement this interface to decide the behavior of launching a process. Set "gearpump.worker.executor-process-launcher" to your implemented class name.

  2. case class ExecutorSlots(appId: Int, executorId: Int, slots: Int) extends Product with Serializable

    Permalink
  3. case class WorkerId(sessionId: Int, registerTime: Long) extends Product with Serializable

    Permalink

    WorkerId is used to uniquely track a worker machine.

    WorkerId is used to uniquely track a worker machine.

    sessionId

    sessionId is assigned by Master node for easy tracking. It is possible that sessionId is **NOT** unique, so always use WorkerId for comparison.

    registerTime

    the timestamp when a worker node register itself to master node

  4. case class WorkerSummary(workerId: WorkerId, state: String, actorPath: String, aliveFor: Long, logFile: String, executors: Array[ExecutorSlots], totalSlots: Int, availableSlots: Int, homeDirectory: String, jvmName: String, resourceManagerContainerId: String, historyMetricsConfig: HistoryMetricsConfig = null) extends Product with Serializable

    Permalink

    Worker summary information for REST API.

Value Members

  1. object WorkerId extends Serializable

    Permalink
  2. object WorkerSummary extends Serializable

    Permalink

Ungrouped