Andrew Sherman has uploaded a new patch set (#5). (
http://gerrit.cloudera.org:8080/13078 )
Change subject: IMPALA-8446: Create a unit test for Admission Controller.
......................................................................
IMPALA-8446: Create a unit test for Admission Controller.
This test allows construction of white box tests that exercise Admission
Controller code.
The initial test cases are
(1) a test which does the following:
+ creates a RequestPoolService which reads some Admission Controller
configuration files
+ creates an Admission Controller object
+ creates a QuerySchedule for a query
+ tests if the query can be admitted by the Admission Controller
+ simulates activity in the cluster which consumes memory
+ tests that the earlier query cannot now be admitted by the Admission
Controller
(2) a test which verifies that the configuration files are read
correctly.
TESTING:
Ran end-to-end tests cleanly and checked that the new tests were
executed.
Change-Id: I8a840590b868f2df1a06f3f397b7b0fc2b29462c
---
M be/src/scheduling/CMakeLists.txt
A be/src/scheduling/admission-controller-test.cc
M be/src/scheduling/admission-controller.cc
M be/src/scheduling/admission-controller.h
M be/src/scheduling/query-schedule.cc
M be/src/scheduling/query-schedule.h
6 files changed, 263 insertions(+), 17 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/78/13078/5
--
To view, visit http://gerrit.cloudera.org:8080/13078
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I8a840590b868f2df1a06f3f397b7b0fc2b29462c
Gerrit-Change-Number: 13078
Gerrit-PatchSet: 5
Gerrit-Owner: Andrew Sherman <[email protected]>
Gerrit-Reviewer: Andrew Sherman <[email protected]>
Gerrit-Reviewer: Bikramjeet Vig <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Tim Armstrong <[email protected]>