forked from koordinator-sh/yarn-copilot
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yarn-operator: add yarn application client
Signed-off-by: 佑祎 <[email protected]>
- Loading branch information
1 parent
3d48afc
commit 1bcca9c
Showing
16 changed files
with
9,835 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
490 changes: 490 additions & 0 deletions
490
pkg/yarn/apis/proto/hadoopyarn/applicationclient_protocol.pb.go
Large diffs are not rendered by default.
Oops, something went wrong.
71 changes: 71 additions & 0 deletions
71
pkg/yarn/apis/proto/hadoopyarn/applicationclient_protocol.proto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
/** | ||
* Licensed to the Apache Software Foundation (ASF) under one | ||
* or more contributor license agreements. See the NOTICE file | ||
* distributed with this work for additional information | ||
* regarding copyright ownership. The ASF licenses this file | ||
* to you under the Apache License, Version 2.0 (the | ||
* "License"); you may not use this file except in compliance | ||
* with the License. You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
/** | ||
* These .proto interfaces are public and stable. | ||
* Please see https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/Compatibility.html | ||
* for what changes are allowed for a *stable* .proto interface. | ||
*/ | ||
|
||
syntax = "proto2"; | ||
option java_package = "org.apache.hadoop.yarn.proto"; | ||
option java_outer_classname = "ApplicationClientProtocol"; | ||
option java_generic_services = true; | ||
option java_generate_equals_and_hash = true; | ||
package hadoop.yarn; | ||
|
||
import "Security.proto"; | ||
import "yarn_service_protos.proto"; | ||
|
||
service ApplicationClientProtocolService { | ||
rpc getNewApplication (GetNewApplicationRequestProto) returns (GetNewApplicationResponseProto); | ||
rpc getApplicationReport (GetApplicationReportRequestProto) returns (GetApplicationReportResponseProto); | ||
rpc submitApplication (SubmitApplicationRequestProto) returns (SubmitApplicationResponseProto); | ||
rpc failApplicationAttempt (FailApplicationAttemptRequestProto) returns (FailApplicationAttemptResponseProto); | ||
rpc forceKillApplication (KillApplicationRequestProto) returns (KillApplicationResponseProto); | ||
rpc getClusterMetrics (GetClusterMetricsRequestProto) returns (GetClusterMetricsResponseProto); | ||
rpc getApplications (GetApplicationsRequestProto) returns (GetApplicationsResponseProto); | ||
rpc getClusterNodes (GetClusterNodesRequestProto) returns (GetClusterNodesResponseProto); | ||
rpc getQueueInfo (GetQueueInfoRequestProto) returns (GetQueueInfoResponseProto); | ||
rpc getQueueUserAcls (GetQueueUserAclsInfoRequestProto) returns (GetQueueUserAclsInfoResponseProto); | ||
rpc getDelegationToken(hadoop.common.GetDelegationTokenRequestProto) returns (hadoop.common.GetDelegationTokenResponseProto); | ||
rpc renewDelegationToken(hadoop.common.RenewDelegationTokenRequestProto) returns (hadoop.common.RenewDelegationTokenResponseProto); | ||
rpc cancelDelegationToken(hadoop.common.CancelDelegationTokenRequestProto) returns (hadoop.common.CancelDelegationTokenResponseProto); | ||
rpc moveApplicationAcrossQueues(MoveApplicationAcrossQueuesRequestProto) returns (MoveApplicationAcrossQueuesResponseProto); | ||
rpc getApplicationAttemptReport (GetApplicationAttemptReportRequestProto) returns (GetApplicationAttemptReportResponseProto); | ||
rpc getApplicationAttempts (GetApplicationAttemptsRequestProto) returns (GetApplicationAttemptsResponseProto); | ||
rpc getContainerReport (GetContainerReportRequestProto) returns (GetContainerReportResponseProto); | ||
rpc getContainers (GetContainersRequestProto) returns (GetContainersResponseProto); | ||
rpc getNewReservation (GetNewReservationRequestProto) returns (GetNewReservationResponseProto); | ||
rpc submitReservation (ReservationSubmissionRequestProto) returns (ReservationSubmissionResponseProto); | ||
rpc updateReservation (ReservationUpdateRequestProto) returns (ReservationUpdateResponseProto); | ||
rpc deleteReservation (ReservationDeleteRequestProto) returns (ReservationDeleteResponseProto); | ||
rpc listReservations (ReservationListRequestProto) returns (ReservationListResponseProto); | ||
rpc getNodeToLabels (GetNodesToLabelsRequestProto) returns (GetNodesToLabelsResponseProto); | ||
rpc getLabelsToNodes (GetLabelsToNodesRequestProto) returns (GetLabelsToNodesResponseProto); | ||
rpc getClusterNodeLabels (GetClusterNodeLabelsRequestProto) returns (GetClusterNodeLabelsResponseProto); | ||
rpc updateApplicationPriority (UpdateApplicationPriorityRequestProto) returns (UpdateApplicationPriorityResponseProto); | ||
rpc signalToContainer(SignalContainerRequestProto) returns (SignalContainerResponseProto); | ||
rpc updateApplicationTimeouts (UpdateApplicationTimeoutsRequestProto) returns (UpdateApplicationTimeoutsResponseProto); | ||
rpc getResourceProfiles(GetAllResourceProfilesRequestProto) returns (GetAllResourceProfilesResponseProto); | ||
rpc getResourceProfile(GetResourceProfileRequestProto) returns (GetResourceProfileResponseProto); | ||
rpc getResourceTypeInfo(GetAllResourceTypeInfoRequestProto) returns (GetAllResourceTypeInfoResponseProto); | ||
rpc getClusterNodeAttributes (GetClusterNodeAttributesRequestProto) returns (GetClusterNodeAttributesResponseProto); | ||
rpc getAttributesToNodes (GetAttributesToNodesRequestProto) returns (GetAttributesToNodesResponseProto); | ||
rpc getNodesToAttributes (GetNodesToAttributesRequestProto) returns (GetNodesToAttributesResponseProto); | ||
} |
Oops, something went wrong.