You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Chen Zhi (Jira)" <ji...@apache.org> on 2020/10/03 13:28:00 UTC

[jira] [Created] (HADOOP-17295) Move dedicated pre-logging statements into existing logging guards

Chen Zhi created HADOOP-17295:
---------------------------------

             Summary: Move dedicated pre-logging statements into existing logging guards
                 Key: HADOOP-17295
                 URL: https://issues.apache.org/jira/browse/HADOOP-17295
             Project: Hadoop Common
          Issue Type: Improvement
            Reporter: Chen Zhi


I find some cases where some pre-processing statements dedicated to logging calls are not guarded by existing logging guards. Most of them are easy to fix. And I create a PR to fix them.


These issues are detected by a static analysis tool wrote by myself. This tool can extract all the dedicated statements for each debug-logging calls (i.e., the results of these statements are only used by debug-logging calls). Because I realize that debug logs will incur overhead in production, such as string concatenation and method calls in the parameters of logging calls. And I want to perform a systematic evaluation for the overhead of debugging logging calls in production.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org