Jason Fehr has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/25052 )

Change subject: IMPALA-15408: Don't ignore custom executor groups with default 
group
......................................................................


Patch Set 4: Code-Review+1

(2 comments)

http://gerrit.cloudera.org:8080/#/c/25052/3/be/src/scheduling/cluster-membership-mgr.cc
File be/src/scheduling/cluster-membership-mgr.cc:

http://gerrit.cloudera.org:8080/#/c/25052/3/be/src/scheduling/cluster-membership-mgr.cc@781
PS3, Line 781:   DCHECK_GE(num_custom_groups, 0);
             : 
             :   vector<TExecutorGroupSet> custom_expected_sets;
             :   if (expected_exec_group_sets.empty()) {
             :     if (!default_exists) {
             :
> Done. Because i think num_custom_groups won't be less than 0, add a DCHECK
Good point, if default_exists is true, then snapshot->executor_groups has at 
least 1 element in it.


http://gerrit.cloudera.org:8080/#/c/25052/3/be/src/scheduling/cluster-membership-mgr.cc@793
PS3, Line 793:       custom_expected_sets = expected_exec_group_sets;
> No. Because curr_num_executors by default is 0 and non-optional.
Ack



--
To view, visit http://gerrit.cloudera.org:8080/25052
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I3ca59dff1d1e305985f98e640f64c483920e8178
Gerrit-Change-Number: 25052
Gerrit-PatchSet: 4
Gerrit-Owner: Yida Wu <[email protected]>
Gerrit-Reviewer: Abhishek Rawat <[email protected]>
Gerrit-Reviewer: Anubhav Jindal <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Jason Fehr <[email protected]>
Gerrit-Reviewer: Yida Wu <[email protected]>
Gerrit-Comment-Date: Tue, 20 Oct 2026 19:09:13 +0000
Gerrit-HasComments: Yes

Reply via email to