Eugene Koifman created HIVE-17922:
-------------------------------------
Summary: Enable runWorker() UDF to launch compactor from .q tests
Key: HIVE-17922
URL: https://issues.apache.org/jira/browse/HIVE-17922
Project: Hive
Issue Type: Sub-task
Components: Test, Transactions
Affects Versions: 3.0.0
Reporter: Eugene Koifman
Assignee: Eugene Koifman
available since HIVE-17458 (via UDFRunWorker.java)
The idea is to be able to do
{noformat}
alter table over10k_orc_bucketed compact 'major' WITH OVERWRITE TBLPROPERTIES
("compactor.mapreduce.map.memory.mb"="500","compactor.hive.tez.container.size"="500");
select runWorker() from mydual;
show compactions;
{noformat}
but it always fails with
{noformat}
Invalid resource request, requested memory < 0, or requested memory > max
configured, requestedMemory=1536, maxMemory=512
{noformat}
ToDo: see if need to fix host name masking in the output from "show compactions"
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)