hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Umesh Agashe (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-17015) Multipile identical CacheConfig log messages in a log file and refactoring around CacheConfig inheritance
Date Thu, 03 Nov 2016 17:51:58 GMT
Umesh Agashe created HBASE-17015:
------------------------------------

             Summary: Multipile identical CacheConfig log messages in a log file and refactoring
around CacheConfig inheritance
                 Key: HBASE-17015
                 URL: https://issues.apache.org/jira/browse/HBASE-17015
             Project: HBase
          Issue Type: Improvement
            Reporter: Umesh Agashe
            Assignee: Umesh Agashe


There are two issues here:
1. CacheConfig is logged multiple times (some times on adjacent lines) in log file. The reason
for this is: {code} LOG.info(this) {code} in CacheConfig constructor. So when CacheConfig
and any derived class is instantiated message appears multiple times in a log. The message
itself doesn't have any context and look identical. Logging CacheConfig from outside constructor
will fix this issue.
2. During debugging its noticed that CacheConfig is meant for in memory block cache but is
used for different caches (in some cases for non in memory block caches). This can be improved
by refactoring the inheritance of CacheConfig.



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

Mime
View raw message