Follow these steps to configure a coordinator-only request pool in Impala to optimize
system table queries.
By configuring a coordinator-only request pool, you can run queries that do not
require executors. This reduces resource usage and enhances system performance.
Ensure you have administrator access to modify Impala configurations.
-
Log in to the Cloudera web interface and
navigate to the Cloudera Data Warehouse service.
-
In the Cloudera Data Warehouse service, click Virtual
Warehouses in the left navigation panel.
-
Select the Impala Virtual Warehouse, click options
for the warehouse
you want to include the onlyCoordinators
setting for a request
pool.
-
Click Edit and navigate to Impala
Coordinator under the Configurations
tab.
-
Select the
fair-scheduler.xm
under Configuration
files.
-
Add
<onlyCoordinators>true</onlyCoordinators>
.
<queue name="coords">
<maxResources>10000 mb,0 vcores</maxResources>
<onlyCoordinators>true</onlyCoordinators>
</queue>
-
Click Apply Changes and restart Impala.