Limit Hive query ressource consumption in Yarn
Hi,
I face the following problem.
I have a service user say "service_dwh" used for our datawarehouse that queries heavily our data reservoir using hive queries.
I have had some cases where due to the query and/or to missing statistics a single hive query could take 100% of the resources available for the "service_dwh" user.
I couldn't find a way using capacity scheduler, queues and user limit factor to prevent a single application from taking all the resources for a very long time.
Traditional DBMS have mechanism that throttle job resources based of the job duration.
That way a long (big) job can't monopolyze ressources for new and potentially shorter jobs for too long.

