public interface QueryQueueConfig
ResourcePool
Modifier and Type | Method and Description |
---|---|
int |
getMaxAdmissibleQueries() |
long |
getMaxQueryMemoryInMBPerNode() |
long |
getMaxQueryTotalMemoryInMB(int numClusterNodes)
Given number of available nodes in the cluster what is the max memory in MB a query in this queue can be assigned
cluster wide
|
int |
getMaxWaitingQueries() |
String |
getQueueId() |
String |
getQueueName() |
long |
getQueueTotalMemoryInMB(int numClusterNodes)
Given number of available nodes in the cluster what is the total memory resource share of this queue cluster wide
|
int |
getWaitTimeoutInMs() |
boolean |
waitForPreferredNodes()
Determines if admitted queries in this queue should wait in the queue if resources on the preferred assigned
nodes of a query determined by planner is unavailable.
|
String getQueueId()
String getQueueName()
long getQueueTotalMemoryInMB(int numClusterNodes)
numClusterNodes
- number of available cluster nodeslong getMaxQueryMemoryInMBPerNode()
long getMaxQueryTotalMemoryInMB(int numClusterNodes)
numClusterNodes
- number of available cluster nodesboolean waitForPreferredNodes()
int getMaxAdmissibleQueries()
int getMaxWaitingQueries()
int getWaitTimeoutInMs()
Copyright © 1970 The Apache Software Foundation. All rights reserved.