[
https://issues.apache.org/jira/browse/GOBBLIN-777?focusedWorklogId=245804&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-245804
]
ASF GitHub Bot logged work on GOBBLIN-777:
------------------------------------------
Author: ASF GitHub Bot
Created on: 21/May/19 07:13
Start Date: 21/May/19 07:13
Worklog Time Spent: 10m
Work Description: htran1 commented on pull request #2641: [GOBBLIN-777]
Remove container request after container allocation
URL: https://github.com/apache/incubator-gobblin/pull/2641#discussion_r285879478
##########
File path:
gobblin-yarn/src/test/java/org/apache/gobblin/yarn/YarnServiceTest.java
##########
@@ -284,6 +292,16 @@ protected ContainerLaunchContext
newContainerLaunchContext(Container container,
Arrays.asList("sleep", "60000"), Collections.emptyMap(), null,
Collections.emptyMap());
}
+ /**
+ * Get the list of matching container requests for the specified resource
memory and cores.
+ */
+ public List<? extends Collection<AMRMClient.ContainerRequest>>
getMatchingRequestsList(int memory, int cores) {
Review comment:
At lines 204 and 209 above to check whether the container requests are
removed.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 245804)
Time Spent: 0.5h (was: 20m)
> Remove container request after container allocation
> ---------------------------------------------------
>
> Key: GOBBLIN-777
> URL: https://issues.apache.org/jira/browse/GOBBLIN-777
> Project: Apache Gobblin
> Issue Type: Task
> Reporter: Hung Tran
> Assignee: Hung Tran
> Priority: Major
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> Due to YARN-1902, a request for containers may allocate more containers than
> desired since the requests are not automatically removed when a container is
> allocated.
> The Gobblin YarnService needs to work around this issue by removing a
> matching container request in the container allocation callback.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)