Hello Fang-Yu Rao, Joe McDonnell, Impala Public Jenkins, I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/18286 to look at the new patch set (#3). Change subject: IMPALA-11152: Remove dependence on symlink when rotating logs ...................................................................... IMPALA-11152: Remove dependence on symlink when rotating logs IMPALA-5256 implement log rotation by following the glog's symlink and checking the size of the pointed file. While this has been robust most of the time, there can be a rare situation where the symlink is missing. Glog itself does not guarantee that the symlink creation will always be successful. It won't retry symlink creation until the next rotation by glog. The side effect of this issue is that impala::CheckLogSize() will spam ERROR log every second for not finding the symlink. This patch removes the dependence on the glog symlink for this log rotation. We now directly glob the base file name of the targetted log kind and pick the latest log path. This patch also makes impala::CheckLogSize() less chatty by printing an error message for every FLAGS_logbufsecs (default is 30s). Testing: - Add test_breakpad.py::TestLogging::test_excessive_cerr_no_symlink. - Pass test_breakpad.py in exhaustive exploration. Change-Id: I30509e98038dbf9ca293144089f6ee92ce186a97 --- M be/src/common/init.cc M be/src/common/logging.cc M be/src/common/logging.h M be/src/util/filesystem-util.cc M tests/custom_cluster/test_breakpad.py 5 files changed, 86 insertions(+), 33 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/86/18286/3 -- To view, visit http://gerrit.cloudera.org:8080/18286 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: newpatchset Gerrit-Change-Id: I30509e98038dbf9ca293144089f6ee92ce186a97 Gerrit-Change-Number: 18286 Gerrit-PatchSet: 3 Gerrit-Owner: Riza Suminto <riza.sumi...@cloudera.com> Gerrit-Reviewer: Fang-Yu Rao <fangyu....@cloudera.com> Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com> Gerrit-Reviewer: Joe McDonnell <joemcdonn...@cloudera.com> Gerrit-Reviewer: Riza Suminto <riza.sumi...@cloudera.com>