package tws.proto.jobmaster

Mouse Melon logoGet desktop application:
View/edit binary Protocol Buffers messages

message AllJoined

jobmaster.proto:105

Used in: JobEvent

message BarrierDone

jobmaster.proto:112

Used in: JobEvent

message BarrierRequest

jobmaster.proto:225

All workers in a job wants to wait in a Barrier point When BarrierRequest message is received from all workers in the job, Job Master will send response messages to all previous request messages are queued until the last request message is received failures: if the barrier times out, barrier fails if a worker fails in the job, the default barrier fails if there is any

message BarrierResponse

jobmaster.proto:237

enum BarrierResult

jobmaster.proto:71

possible results for barriers

Used in: BarrierDone, BarrierResponse

enum BarrierType

jobmaster.proto:65

Used in: BarrierDone, BarrierRequest, BarrierResponse

message DriverMessage

jobmaster.proto:254

Driver to workers communication related messages let the the workers know that Driver to worker message Driver can send any byte array to workers including serialized protocol buffer messages It is encoded as a byte array

message JobEvent

jobmaster.proto:82

message JobMasterRestarted

jobmaster.proto:121

Used in: JobEvent

enum JobMasterState

jobmaster.proto:24

job master can be any one of these states job master does not go from STARTING to RUNNING, it just goes to STARTED since enum types must be unique in a proto, I added JM as a prefix to this enum.

message JobScaled

jobmaster.proto:130

the number of workers in the job has hanged if change is positive, new workers added if change is negative, some worker instances removed numberOfWorkers shows the updated numberOfWorkers in the job

Used in: JobEvent

message ListWorkersRequest

jobmaster.proto:198

Get the list of wokers in a job from the job master

enum ListWorkersRequest.RequestType

jobmaster.proto:199

Used in: ListWorkersRequest

message ListWorkersResponse

jobmaster.proto:213

Job master returns the list of workers in a job to a worker

message NodeInfo

jobmaster.proto:44

Used in: WorkerInfo

message RegisterWorker

jobmaster.proto:146

this message is sent when the worker is about to start it registers itself with the job master its status in job master becomes: STARTING when this message is received

message RegisterWorkerResponse

jobmaster.proto:163

message WorkerFailed

jobmaster.proto:93

Used in: JobEvent

message WorkerInfo

jobmaster.proto:53

Information about a worker in a job

Used in: htgjob.SubGraph, AllJoined, ListWorkersResponse, RegisterWorker, WorkerRestarted

message WorkerMessage

jobmaster.proto:260

Worker to Driver message Worker can send any byte array to the driver including serialized protocol buffer messages

message WorkerMessageResponse

jobmaster.proto:270

WorkerToDriver response message if it fails, reason will have a string explaining the problem

message WorkerRestarted

jobmaster.proto:99

Used in: JobEvent

enum WorkerState

jobmaster.proto:33

a worker can be any one of these states

Used in: WorkerStateChange, WorkerStateChangeResponse

message WorkerStateChange

jobmaster.proto:177

a worker informs the master that its state has changed this message is not sent for STARTING state, it is covered by RegisterWorker message this message is sent for states: RUNNING and COMPLETED later on, we may add more states

message WorkerStateChangeResponse

jobmaster.proto:188

sent by the master to the worker to inform that its state change message has been received