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 6: (1 comment) https://gerrit.cloudera.org/#/c/25261/5/be/src/util/sys-info-test.cc File be/src/util/sys-info-test.cc: https://gerrit.cloudera.org/#/c/25261/5/be/src/util/sys-info-test.cc@63 PS5, Line 63: if (FLAGS_num_cores > 0) { > I don't understand how this test works. The default for num_cores is 0. How This test came from IMPALA-13413, https://gerrit.cloudera.org/#/c/23333/. It looks like it checks a regression that InitCommonRuntime() parsing the flags before CpuInfo::Init(). In the normal BE run the flag should be 0 and it's skipped. It is not about the effective cores, so I removed the effective cores line and leave the test untouched -- 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: 6 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-Reviewer: Zoltan Borok-Nagy <[email protected]> Gerrit-Comment-Date: Fri, 13 Nov 2026 10:02:54 +0000 Gerrit-HasComments: Yes
