[ https://issues.apache.org/jira/browse/YARN-7219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16190455#comment-16190455 ]
Ray Chiang edited comment on YARN-7219 at 10/3/17 10:16 PM: ------------------------------------------------------------ Committed to trunk and branch-3.0. Thanks [~asuresh] for reviewing! was (Author: rchiang): Committed to trunk. Thanks [~asuresh] for reviewing! > Make AllocateRequestProto compatible with branch-2/branch-2.8 > ------------------------------------------------------------- > > Key: YARN-7219 > URL: https://issues.apache.org/jira/browse/YARN-7219 > Project: Hadoop YARN > Issue Type: Sub-task > Components: yarn > Affects Versions: 3.0.0-beta1 > Reporter: Ray Chiang > Assignee: Ray Chiang > Priority: Critical > Fix For: 3.0.0 > > Attachments: YARN-7219.001.patch > > > For yarn_service_protos.proto, we have the following code in > (branch-2.8.0, branch-2.8, branch-2) > {noformat} > message AllocateRequestProto { > repeated ResourceRequestProto ask = 1; > repeated ContainerIdProto release = 2; > optional ResourceBlacklistRequestProto blacklist_request = 3; > optional int32 response_id = 4; > optional float progress = 5; > repeated ContainerResourceIncreaseRequestProto increase_request = 6; > repeated UpdateContainerRequestProto update_requests = 7; > } > {noformat} > For yarn_service_protos.proto, we have the following code in > (trunk) > {noformat} > message AllocateRequestProto { > repeated ResourceRequestProto ask = 1; > repeated ContainerIdProto release = 2; > optional ResourceBlacklistRequestProto blacklist_request = 3; > optional int32 response_id = 4; > optional float progress = 5; > repeated UpdateContainerRequestProto update_requests = 6; > } > {noformat} > Notes > * YARN-3866 was the original JIRA for container resizing. > * YARN-5221 is what introduced the incompatible change. > * In branch-2/branch-2.8/branch-2.8.0, this protobuf change was undone by > "Addendum patch to YARN-3866: fix incompatible API change." > * There was a similar API fix done in YARN-6071. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org