Yida Wu 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:

(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) {
             :
> Since the default_exists variable already indicates if there is a custom gr
Done. Because i think num_custom_groups won't be less than 0, add a DCHECK 
instead


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;
> Does this default executor set also need to call __set_curr_num_executors(0
No. Because curr_num_executors by default is 0 and non-optional.
https://github.com/apache/impala/blob/master/common/thrift/Frontend.thrift#L914
I removed the __set_curr_num_executors(0) for the default executor set



--
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 02:37:42 +0000
Gerrit-HasComments: Yes

Reply via email to