Yida Wu has posted comments on this change. ( https://gerrit.cloudera.org/25261 )
Change subject: IMPALA-15587: Detect CPU cores Impala can run on ...................................................................... Patch Set 5: (2 comments) https://gerrit.cloudera.org/#/c/25261/4//COMMIT_MSG Commit Message: https://gerrit.cloudera.org/#/c/25261/4//COMMIT_MSG@7 PS4, Line 7: IMPALA-15587: Detect CPU cores Impala can run on > Is this all to produce the Effective Cores output on startup? Are there oth Yes, this PR only detects and reports the effective cores, and the IMPALA-15586 (https://gerrit.cloudera.org/c/25286/) will use it to cap the cores per executor for CPC autotune. https://gerrit.cloudera.org/#/c/25261/4/be/src/util/sys-info-test.cc File be/src/util/sys-info-test.cc: https://gerrit.cloudera.org/#/c/25261/4/be/src/util/sys-info-test.cc@72 PS4, Line 72: EXPECT_GE(real_effective_num_cores, 1); > This pattern seems weird. When would it happen? Do we need to reset FLAGS_n Done. Moved that check into NumCoresFlag and uses gflags::FlagSaver to restore the original value -- To view, visit https://gerrit.cloudera.org/25261 To unsubscribe, visit https://gerrit.cloudera.org/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: I93b4e020e03225398eadbe1c84b975ae38c9d505 Gerrit-Change-Number: 25261 Gerrit-PatchSet: 5 Gerrit-Owner: Yida Wu <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Joe McDonnell <[email protected]> Gerrit-Reviewer: Michael Smith <[email protected]> Gerrit-Reviewer: Yida Wu <[email protected]> Gerrit-Comment-Date: Thu, 05 Nov 2026 02:38:05 +0000 Gerrit-HasComments: Yes
