package peloton.private.hostmgr.hostsvc

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

service InternalHostService

hostsvc.proto:348

* Internal host service interface to be used by JobManager and PlacementEngine for task, reservation, volume and offer operations TODO: figure out a better name for InternalHostService

message AcquireHostOffersFailure

hostsvc.proto:324

* Error when AcquireHostOffers failed.

Used in: AcquireHostOffersResponse.Error

message AcquireHostOffersResponse.Error

hostsvc.proto:703

Used in: AcquireHostOffersResponse

message ClusterCapacityResponse.Error

hostsvc.proto:851

Used in: ClusterCapacityResponse

message ClusterUnavailable

hostsvc.proto:338

* Error when cluster is Unavailable

Used in: ClusterCapacityResponse.Error

message CompletedReservation

hostsvc.proto:71

* CompleteReservation is the messege between placement engine and host manager host manager. hostmanager will reserve one host from and once reservation is fulfilled it will send the completed reservation to placement engine

Used in: GetCompletedReservationResponse

message ExecutorOnAgent

hostsvc.proto:105

* ExecutorOnAgent describes the executor to be shutdown by host manager including Mesos agent id and executor id.

Used in: InvalidExecutors, ShutdownExecutorsRequest, ShutdownFailure

message FilterHint

hostsvc.proto:135

* FilterHint includes hint provided to host manager to decide which hosts to return. The hint is provided as an optimization and host manager can ignore them if hint cannot be satisfied.

Used in: HostFilter

message FilterHint.Host

hostsvc.proto:137

Hint for which host to return

Used in: FilterHint

enum FilterHint.Ranking

hostsvc.proto:145

Ways in which to rank hosts to return

Used in: FilterHint

message GetCompletedReservationResponse.Error

hostsvc.proto:940

Error message for GetCompletedReservationResponse

Used in: GetCompletedReservationResponse

message GetHostsByQueryResponse.Host

hostsvc.proto:535

Host information by aggregating a list of Mesos offers

Used in: GetHostsByQueryResponse

message GetHostsFailure

hostsvc.proto:331

* Error when GetHosts failed.

Used in: GetHostsResponse.Error

message GetHostsResponse.Error

hostsvc.proto:720

Error for the response

Used in: GetHostsResponse

message GetMesosAgentInfoResponse.Error

hostsvc.proto:1010

Error message for GetMesosAgentInfo

Used in: GetMesosAgentInfoResponse

message GetOutstandingOffersResponse.Error

hostsvc.proto:497

Used in: GetOutstandingOffersResponse

message HostAlreadyReserved

hostsvc.proto:905

HostAlreadyReserved error , when host is already reserved

Used in: ReserveHostsResponse.Error

message HostFilter

hostsvc.proto:169

* HostFilter can be used to control whether offers from a given host should be returned to placement engine to use.

Used in: AcquireHostOffersRequest, GetHostsRequest, InvalidHostFilter

enum HostFilterResult

hostsvc.proto:190

* HostFilterResult describes result of filtering hosts.

message HostInfo

hostsvc.proto:38

* HostInfo describes physical capacity of the hosts with all their attributes defined

Used in: CompletedReservation, GetHostsResponse, Reservation, ReserveHostsResponse

message HostNotFound

hostsvc.proto:1000

HostNotFound is an error message for GetMesosAgentInfo

Used in: GetMesosAgentInfoResponse.Error

message HostOffer

hostsvc.proto:26

* HostOffer describes the resources available on a host by aggregating a list of Mesos offers to avoid offer defragmentation issue.

Used in: AcquireHostOffersResponse, CompletedReservation, ReleaseHostOffersRequest

message HostPoolResources

hostsvc.proto:1033

* Resources of a host-pool.

Used in: GetHostPoolCapacityResponse

message HostUnavailable

hostsvc.proto:897

HostUnavailable error , when host is unavailable for reservation

Used in: ReserveHostsResponse.Error

message InvalidArgument

hostsvc.proto:256

* Error for invalid argument.

Used in: LaunchTasksResponse.Error, OfferOperationsResponse.Error

message InvalidExecutors

hostsvc.proto:283

* Error for invalid shutdown executors.

Used in: ShutdownExecutorsResponse.Error

message InvalidHostFilter

hostsvc.proto:314

* Error for invalid filter.

Used in: AcquireHostOffersResponse.Error, GetHostsResponse.Error

message InvalidOffers

hostsvc.proto:276

* Error for invalid offers.

Used in: LaunchTasksResponse.Error, OfferOperationsResponse.Error

message InvalidTaskIDs

hostsvc.proto:266

* Error for invalid task ids.

Used in: KillAndReserveTasksResponse.Error, KillTasksResponse.Error

message KillAndReserveTasksRequest.Entry

hostsvc.proto:775

Used in: KillAndReserveTasksRequest

message KillAndReserveTasksResponse.Error

hostsvc.proto:784

Used in: KillAndReserveTasksResponse

message KillFailure

hostsvc.proto:306

* Error when actually tasks kill failed.

Used in: KillAndReserveTasksResponse.Error, KillTasksResponse.Error

message KillTasksResponse.Error

hostsvc.proto:797

Used in: KillTasksResponse

message LaunchFailure

hostsvc.proto:299

* Error when actually tasks launch failed.

Used in: LaunchTasksResponse.Error

message LaunchTasksResponse.Error

hostsvc.proto:752

Used in: LaunchTasksResponse

message LaunchableTask

hostsvc.proto:85

* LaunchableTask describes the task to be launched by host manager including Mesos task id and task config.

Used in: InvalidArgument, LaunchTasksRequest, OfferOperation.Launch

message NoOffersError

hostsvc.proto:596

* NoOffersError represents on outstanding offers are present.

Used in: GetOutstandingOffersResponse.Error

message NotFound

hostsvc.proto:950

NotFound is error message for not valid completed reservation found

Used in: GetCompletedReservationResponse.Error

message OfferOperation

hostsvc.proto:614

Used in: OfferOperationsRequest

message OfferOperation.Create

hostsvc.proto:630

Used in: OfferOperation

message OfferOperation.Destroy

hostsvc.proto:640

Used in: OfferOperation

message OfferOperation.Launch

hostsvc.proto:635

Used in: OfferOperation

message OfferOperation.Reserve

hostsvc.proto:625

Used in: OfferOperation

enum OfferOperation.Type

hostsvc.proto:616

Defines an operation that can be performed against offers.

Used in: OfferOperation

message OfferOperation.Unreserve

hostsvc.proto:645

Used in: OfferOperation

message OfferOperationsResponse.Error

hostsvc.proto:675

Used in: OfferOperationsResponse

message OperationsFailure

hostsvc.proto:470

* Error for offer operations call to mesos failed.

Used in: OfferOperationsResponse.Error

message QuantityControl

hostsvc.proto:114

* QuantityControl includes input from placement engine to control how many host offers need to be returned.

Used in: HostFilter

message ReleaseHostOffersResponse.Error

hostsvc.proto:738

Used in: ReleaseHostOffersResponse

(message has no fields)

message ReleaseHostsHeldForTasksResponse.Error

hostsvc.proto:1023

Used in: ReleaseHostsHeldForTasksResponse

message Reservation

hostsvc.proto:57

* Reservation is the messege between placement engine and host manager where placement engine asks hostmanager to reserve one host from certain hosts In the return host manager reserves the host and once resources are fulfilled , it fills the messege with valid offers

Used in: ReserveHostsRequest

message ReservationAlreadyExist

hostsvc.proto:889

ReservationAlreadyExist error , when reservation already exist

Used in: ReserveHostsResponse.Error

message ReservationFailed

hostsvc.proto:881

ReservationFailed is the failed reservation

Used in: ReserveHostsResponse.Error

message ReserveHostsResponse.Error

hostsvc.proto:914

Used in: ReserveHostsResponse

message Resource

hostsvc.proto:840

* Resource allocation for a resource

Used in: ClusterCapacityResponse, HostPoolResources

message ResourceConstraint

hostsvc.proto:236

* ResourceConstraint describes a condition for which aggregated resources from a host must meet in order for it to be returned in `AcquireHostOffers`.

Used in: HostFilter

message ShutdownExecutorsResponse.Error

hostsvc.proto:766

Used in: ShutdownExecutorsResponse

message ShutdownFailure

hostsvc.proto:291

* Error for failed shutdown executors.

Used in: ShutdownExecutorsResponse.Error

message Volume

hostsvc.proto:603

* Volume config used for offer create/launch operation.

Used in: LaunchableTask, OfferOperation.Create

message WatchEventRequest

hostsvc.proto:555

* Request object to watch request by client

Used as request type in: InternalHostService.WatchEventStreamEvent, InternalHostService.WatchHostSummaryEvent