Configuring HiveServer for ETL using YARN queues
You need to set several configuration properties to allow placement of the Hive workload on the Yarn queue manager, which is common for running an ETL job. You need to set several parameters that effectively disable the reuse of containers. Each new query gets new containers routed to the appropriate queue.
To set Hive properties for YARN queues:
- In Cloudera Manager, click .
- Search for the Hive Service Advanced Configuration Snippet (Safety Valve) for hive-site.xml setting.
- In the Hive Service Advanced Configuration Snippet (Safety Valve) for hive-site.xml setting, click +.
-
In Name enter the property
hive.server2.tez.initialize.default.sessions
and in value enterfalse
. -
In Name enter the property
hive.server2.tez.queue.access.check
and in value entertrue
. -
In Name enter the property
hive.server2.tez.sessions.custom.queue.allowed
and in value entertrue
.