Wenzhe Zhou has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/18078


Change subject: IMPALA-11054: Support resource pool polling for frontend
......................................................................

IMPALA-11054: Support resource pool polling for frontend

To support different sizes of resource pools, Planner will need to poll
resource pool which is only done by backend currently.
This patch splits the Java class RequestPoolService as two classes -
JniRequestPoolService and RequestPoolService, makes RequestPoolService
as singleton class and provides an API for frontend to access
RequestPoolService instance.

Testing:
  - Manually verified that Planner could access RequestPoolService
    instance with RequestPoolService.getInstance().
  - Passed core tests.

Change-Id: Ia78b1a0574f6b8ad4df5bb0fc9533f218b486e6b
---
M be/src/scheduling/request-pool-service.cc
M be/src/scheduling/request-pool-service.h
A fe/src/main/java/org/apache/impala/util/JniRequestPoolService.java
M fe/src/main/java/org/apache/impala/util/RequestPoolService.java
M fe/src/test/java/org/apache/impala/util/TestRequestPoolService.java
5 files changed, 178 insertions(+), 67 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/78/18078/1
--
To view, visit http://gerrit.cloudera.org:8080/18078
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia78b1a0574f6b8ad4df5bb0fc9533f218b486e6b
Gerrit-Change-Number: 18078
Gerrit-PatchSet: 1
Gerrit-Owner: Wenzhe Zhou <[email protected]>
Gerrit-Reviewer: Bikramjeet Vig <[email protected]>
Gerrit-Reviewer: Qifan Chen <[email protected]>

Reply via email to