-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/72553/
-----------------------------------------------------------
Review request for hive, Karen Coppage and Laszlo Pinter.
Bugs: HIVE-23555
https://issues.apache.org/jira/browse/HIVE-23555
Repository: hive-git
Description
-------
Run the actual execution in a new thread, and use Future.get with timeout
Diffs
-----
ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/CompactorThread.java
b378d40964
ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/RemoteCompactorThread.java
4235184fec
ql/src/java/org/apache/hadoop/hive/ql/txn/compactor/Worker.java 8180adcd66
ql/src/test/org/apache/hadoop/hive/ql/txn/compactor/CompactorTest.java
9a9ab53fcc
ql/src/test/org/apache/hadoop/hive/ql/txn/compactor/TestWorker.java
443f982d66
Diff: https://reviews.apache.org/r/72553/diff/1/
Testing
-------
Created unit tests to check the timeout functionality.
Thanks,
Peter Vary