You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/03/07 16:16:00 UTC
[jira] [Commented] (IMPALA-5256) ERROR log files can get very large
[ https://issues.apache.org/jira/browse/IMPALA-5256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17502388#comment-17502388 ]
ASF subversion and git services commented on IMPALA-5256:
---------------------------------------------------------
Commit 8eeb000c3515aa2c7dd671d7abe2269d4deffd08 in impala's branch refs/heads/master from Riza Suminto
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=8eeb000 ]
IMPALA-11152: Remove dependence on symlink when rotating logs
IMPALA-5256 implements 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 specify 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
Reviewed-on: http://gerrit.cloudera.org:8080/18286
Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>
> ERROR log files can get very large
> ----------------------------------
>
> Key: IMPALA-5256
> URL: https://issues.apache.org/jira/browse/IMPALA-5256
> Project: IMPALA
> Issue Type: Bug
> Components: Backend
> Affects Versions: Impala 2.5.5.
> Reporter: Mala Chikka Kempanna
> Assignee: Riza Suminto
> Priority: Major
> Labels: supportability
> Fix For: Impala 4.1.0
>
>
> There's a user who's reporting seeing very large ERROR log files (up to 7gb) that don't seem to be obeying the --max_log_size parameter.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org