Todd Lipcon has submitted this change and it was merged. Change subject: KUDU-1316. Fix parsing of available CPUs on single-core machines ......................................................................
KUDU-1316. Fix parsing of available CPUs on single-core machines This also changes the startup process to FATAL if procfs is unavailable. Previously, we could continue but would probably just crash in the parts of code where we depend on the CPU count. Change-Id: I0dda1aab4735edeb4ebff901db627427d44ef555 Reviewed-on: http://gerrit.cloudera.org:8080/1908 Reviewed-by: Jean-Daniel Cryans Tested-by: Kudu Jenkins --- M src/kudu/gutil/sysinfo.cc 1 file changed, 8 insertions(+), 6 deletions(-) Approvals: Jean-Daniel Cryans: Looks good to me, approved Kudu Jenkins: Verified -- To view, visit http://gerrit.cloudera.org:8080/1908 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: merged Gerrit-Change-Id: I0dda1aab4735edeb4ebff901db627427d44ef555 Gerrit-PatchSet: 2 Gerrit-Project: kudu Gerrit-Branch: master Gerrit-Owner: Todd Lipcon <[email protected]> Gerrit-Reviewer: Adar Dembo <[email protected]> Gerrit-Reviewer: Jean-Daniel Cryans Gerrit-Reviewer: Kudu Jenkins Gerrit-Reviewer: Todd Lipcon <[email protected]>
