Jason Fehr created IMPALA-13965:
-----------------------------------

             Summary: User/Group Quote Not Enforced Unless Executors Available
                 Key: IMPALA-13965
                 URL: https://issues.apache.org/jira/browse/IMPALA-13965
             Project: IMPALA
          Issue Type: Bug
            Reporter: Jason Fehr
            Assignee: Jason Fehr


When an Impala cluster has no executors (e.g. the only nodes in the cluster are 
coordinator, statestored, and catalogd), then user/group admission quotas are 
not applied.  Users can submit as many queries as they like.  All queries are 
queued with the message "Query queued. Latest queuing reason: Waiting for 
executors to start. Only DDL queries and queries scheduled only on the 
coordinator (either NUM_NODES set to 1 or when small query optimization is 
triggered) can currently run."

Once executors are added to the cluster, all queued queries run immediately 
even if the number of queries admitted exceeds a user/group admission control 
quota limit.

Steps to Replicate:
1. Start 1 coordinator configured to allow 2 queries for user.
2. Submit a query using impala-shell in three separate terminal windows all 
connected to the coordinator.
3. Start 1 Impala executor adding it to the existing cluster.
4. Once the executor became available, all three queries run at the same time 
and finish within a few hundred milliseconds of each other.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to