Details
Description
Since Hive 2.1.1 (Hive 2.1.0 was OK), the HiveCLI has a strange behavior when submitting a job with Tez as the exection engine.
Doing a query like:
hive (shfs3453)> set hive.execution.engine=tez; hive (shfs3453)> set tez.queue.name=HQ_OLPS; hive (shfs3453)> SELECT COUNT(year) FROM chicagocrimes GROUP BY year;
The query will submit two jobs: one submitted in the queue defined, one submitted in the queue default. Both finish successfully. But only the second job processes the data.
You can find attached a screenshot.
This behavior is not visible when using beeline.