hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Akira AJISAKA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-12822) Change "Metrics intern cache overflow" log level from WARN to INFO
Date Thu, 14 Apr 2016 01:46:26 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-12822?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15240425#comment-15240425

Akira AJISAKA commented on HADOOP-12822:

LGTM, +1.
bq. I am just curious, after migration will log4j remain under SLF4J?
Yes. SLF4J is using LOG4J via slf4j-log4j12.

> Change "Metrics intern cache overflow" log level from WARN to INFO
> ------------------------------------------------------------------
>                 Key: HADOOP-12822
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12822
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: metrics
>            Reporter: Akira AJISAKA
>            Assignee: Andras Bokor
>            Priority: Minor
>              Labels: newbie
>         Attachments: HADOOP-12822.patch, HADOOP-12822_2.patch
> Interns.java outputs "Metrics intern cache over flow" warn log for metrics info/tag when
the cache reaches the hard-coded limit and the oldest cache is discarded for the first time.
I'm thinking this log level can be changed to info because
> * there is no problem when the oldest cache is removed. if the metrics info/tag is not
in the cache, simply create it.
> * we cannot configure the maximum size of the cache, so there is no way to stop the warn

This message was sent by Atlassian JIRA

View raw message