Bikramjeet Vig has posted comments on this change. ( http://gerrit.cloudera.org:8080/12120 )
Change subject: IMPALA-7941: part 1: detect cgroups memory limit ...................................................................... Patch Set 7: (2 comments) http://gerrit.cloudera.org:8080/#/c/12120/7/be/src/util/cgroup-util.cc File be/src/util/cgroup-util.cc: http://gerrit.cloudera.org:8080/#/c/12120/7/be/src/util/cgroup-util.cc@86 PS7, Line 86: split(fields, line, is_any_of(" "), token_compress_on); i was curious as to how this will work if the mount point had spaces in it. looks like it will output the ascii code in octal for a space instead of a "\ ", so should be fine. http://gerrit.cloudera.org:8080/#/c/12120/7/be/src/util/cgroup-util.cc@112 PS7, Line 112: path->compare(0, system_path.size(), system_path) == 0 is there a case where this might not be true? -- To view, visit http://gerrit.cloudera.org:8080/12120 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: comment Gerrit-Change-Id: Ic0f5ed0e94511361bf5605822c0874c16c45ffa9 Gerrit-Change-Number: 12120 Gerrit-PatchSet: 7 Gerrit-Owner: Tim Armstrong <[email protected]> Gerrit-Reviewer: Bikramjeet Vig <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Philip Zeyliger <[email protected]> Gerrit-Reviewer: Pooja Nilangekar <[email protected]> Gerrit-Reviewer: Tim Armstrong <[email protected]> Gerrit-Comment-Date: Fri, 11 Jan 2019 18:58:33 +0000 Gerrit-HasComments: Yes
