songxincun commented on a change in pull request #1801:
URL: https://github.com/apache/hbase/pull/1801#discussion_r432906139



##########
File path: 
hbase-server/src/main/java/org/apache/hadoop/hbase/io/hfile/CacheConfig.java
##########
@@ -205,6 +206,7 @@ public CacheConfig(Configuration conf, 
ColumnFamilyDescriptor family, BlockCache
     this.blockCache = blockCache;
     this.byteBuffAllocator = byteBuffAllocator;
     LOG.info("Created cacheConfig: " + this + (family == null ? "" : " for 
family " + family) +
+        (hri == null ? "" : " in region " + hri.getRegionNameAsString()) +
         " with blockCache=" + blockCache);

Review comment:
       Yes, maybe we can log CacheConfig in the 
BlockCacheFactory#createBlockCache and remove it from here




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to