hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-9639) Inconsistent Logging in BootstrapStandby
Date Mon, 11 Jan 2016 23:07:40 GMT

     [ https://issues.apache.org/jira/browse/HDFS-9639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Arpit Agarwal updated HDFS-9639:
--------------------------------
    Summary: Inconsistent Logging in BootstrapStandby  (was: BootstrapStandby - Inconsistent
Logging)

> Inconsistent Logging in BootstrapStandby
> ----------------------------------------
>
>                 Key: HDFS-9639
>                 URL: https://issues.apache.org/jira/browse/HDFS-9639
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: ha
>    Affects Versions: 2.7.1
>            Reporter: BELUGA BEHR
>            Assignee: Xiaobing Zhou
>            Priority: Minor
>         Attachments: HADOOP-12674.001.patch
>
>
> {code}
> /* Line 379 */
>       if (LOG.isDebugEnabled()) {
>         LOG.debug(msg, e);
>       } else {
>         LOG.fatal(msg);
>       }
> {code}
> Why would message, considered "fatal" under most operating circumstances be considered
"debug" when debugging is on.  This is confusing to say the least.  If there is a problem
and the user attempts to debug the situation, they may be filtering on "fatal" messages and
miss the exception.
> Please consider using only the fatal logging, and including the exception.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message