Skip to content

Commit

Permalink
[hotfix][yarn] Remove unused function in YarnResourceManagerDriver
Browse files Browse the repository at this point in the history
This closes apache#13683.
  • Loading branch information
KarmaGYZ authored and xintongsong committed Oct 20, 2020
1 parent 2a64773 commit 9b612a0
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -317,10 +317,6 @@ private int getNumRequestedNotAllocatedWorkers() {
return requestResourceFutures.values().stream().mapToInt(Queue::size).sum();
}

private int getNumRequestedNotAllocatedWorkersFor(TaskExecutorProcessSpec taskExecutorProcessSpec) {
return requestResourceFutures.getOrDefault(taskExecutorProcessSpec, new LinkedList<>()).size();
}

private void removeContainerRequest(AMRMClient.ContainerRequest pendingContainerRequest) {
log.info("Removing container request {}.", pendingContainerRequest);
resourceManagerClient.removeContainerRequest(pendingContainerRequest);
Expand Down

0 comments on commit 9b612a0

Please sign in to comment.