Package

io.gearpump

cluster

Permalink

package cluster

Visibility
  1. Public
  2. All

Type Members

  1. case class AppDescription(name: String, appMaster: String, userConfig: UserConfig, clusterConfig: Config = ConfigFactory.empty()) extends Product with Serializable

    Permalink

    This contains all information to run an application

  2. case class AppJar(name: String, filePath: FilePath) extends Product with Serializable

    Permalink

    Jar file container in the cluster

  3. case class AppMasterContext(appId: Int, username: String, resource: Resource, workerInfo: WorkerInfo, appJar: Option[AppJar], masterProxy: ActorRef, registerData: AppMasterRegisterData) extends Product with Serializable

    Permalink

    This contains context information when starting an AppMaster

  4. trait AppMasterRegisterData extends AnyRef

    Permalink
  5. trait Application extends AnyRef

    Permalink
  6. abstract class ApplicationMaster extends Actor

    Permalink

    Used for verification.

    Used for verification. All AppMaster must extend this interface

  7. sealed trait ClusterConfigSource extends Serializable

    Permalink

    Data Source of ClusterConfig

    Data Source of ClusterConfig

    Please use ClusterConfigSource.apply(filePath) to construct this object

  8. case class ExecutorContext(executorId: Int, worker: WorkerInfo, appId: Int, appName: String, appMaster: ActorRef, resource: Resource) extends Product with Serializable

    Permalink

    TODO: ExecutorContext doesn't belong here.

    TODO: ExecutorContext doesn't belong here. Need to move to other places

  9. case class ExecutorJVMConfig(classPath: Array[String], jvmArguments: Array[String], mainClass: String, arguments: Array[String], jar: Option[AppJar], username: String, executorAkkaConfig: Config = ConfigFactory.empty()) extends Product with Serializable

    Permalink

    jvmArguments

    java arguments like -Dxx=yy

    mainClass

    Executor main class name like io.gearpump.xx.AppMaster

    arguments

    Executor command line arguments

    jar

    application jar

    executorAkkaConfig

    Akka config used to initialize the actor system of this executor. It will use io.gearpump.util.Constants.GEARPUMP_CUSTOM_CONFIG_FILE to pass the config to executor process

  10. final class UserConfig extends Serializable

    Permalink

    Immutable configuration

Value Members

  1. object AppMasterToMaster

    Permalink
  2. object AppMasterToWorker

    Permalink
  3. object Application

    Permalink
  4. object ClientToMaster

    Permalink

    Application Flow

  5. object ClusterConfig

    Permalink

    All Gearpump application should use this class to load configurations.

    All Gearpump application should use this class to load configurations.

    Compared with Akka built-in ConfigFactory, this class will also resolve file gear.conf and geardefault.conf.

    Overriding order: System Properties > Custom configuration file (by using system property -Dgearpump.config.file) > > gear.conf > geardefault.conf > reference.conf

  6. object ClusterConfigSource extends Serializable

    Permalink
  7. object MasterToAppMaster

    Permalink
  8. object MasterToClient

    Permalink
  9. object UserConfig extends Serializable

    Permalink
  10. object WorkerToAppMaster

    Permalink
  11. package appmaster

    Permalink
  12. package client

    Permalink
  13. package main

    Permalink
  14. package master

    Permalink
  15. package scheduler

    Permalink
  16. package worker

    Permalink

Ungrouped