Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-12822

Change "Metrics intern cache overflow" log level from WARN to INFO

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: metrics
    • Labels:
    • Hadoop Flags:
      Reviewed

      Description

      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 log.

        Attachments

        1. HADOOP-12822_2.patch
          2 kB
          Andras Bokor
        2. HADOOP-12822.patch
          1 kB
          Andras Bokor

          Issue Links

            Activity

              People

              • Assignee:
                boky01 Andras Bokor
                Reporter:
                ajisakaa Akira Ajisaka
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: