-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/69432/
-----------------------------------------------------------
Review request for hive, Denys Kuzmenko, Marta Kuczora, and Adam Szita.
Bugs: HIVE-20964
https://issues.apache.org/jira/browse/HIVE-20964
Repository: hive-git
Description
-------
* Created 2 query types in the TestCompileLock mock driver. The original
SHORT_QUERY is finishing in 0.5s as before, but the new LONG_QUERY will finish
only after 5s.
* With using the new 5s query I have created a new test where the compile quota
is 4 and the parallel request number is 10. So the test expects that 6 query
will fail with timeout.
* Added a new verifyThatTimedOutCompileOpsCount method to validate the number
of the timed out queries.
* The other changes are just pushing down the query string so the
compileAndRespond method can decide which query to run.
Diffs
-----
ql/src/test/org/apache/hadoop/hive/ql/TestCompileLock.java 8dc05ff480
Diff: https://reviews.apache.org/r/69432/diff/1/
Testing
-------
Run the new test, and all the old tests in TestCompileLock
Thanks,
Peter Vary