Skip navigation links

Package org.apache.drill.exec.resourcemgr.config.selectors

Defines all the Selectors which can be assigned to a ResourcePool in the ResourceManagement configuration.

See: Description

Package org.apache.drill.exec.resourcemgr.config.selectors Description

Defines all the Selectors which can be assigned to a ResourcePool in the ResourceManagement configuration. A selector helps to evaluate that given a query and it's metadata if that query can be admitted inside associated ResourcePool or not. Selectors are associated with both intermediate and leaf level ResourcePools. The intermediate pool selectors helps to navigate the ResourcePool hierarchy to reach a leaf level ResourcePool where query will actually be admitted in the queue associated with a leaf pool. Whereas leaf pool selector will help to choose all the leaf pools which can be considered to admit a query. A selector can be configured for a ResourcePool using the ResourcePoolImpl.POOL_SELECTOR_KEY configuration. If the selector configuration is missing for a ResourcePool then it is associated with a Default Selector making it a Default ResourcePool. Selectors are configured as a key value pair where key represents it's type and value is what it uses to evaluate a query. Currently there are 6 different types of supported selectors. In future more selectos can be supported by implementing ResourcePoolSelector interface.
Skip navigation links

Copyright © 1970 The Apache Software Foundation. All rights reserved.