HBASE-8547. Fix java.lang.RuntimeException: Cached an already cached block (Addendum to add better log)
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1482705 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
ba37032a72
commit
0a183765ac
|
@ -293,6 +293,7 @@ public class LruBlockCache implements BlockCache, HeapSize {
|
|||
CachedBlock cb = map.get(cacheKey);
|
||||
if(cb != null) {
|
||||
String msg = "Cached an already cached block: " + cacheKey + " cb:" + cb.getCacheKey();
|
||||
msg += ". This is harmless and can happen in rare cases (see HBASE-8547)";
|
||||
LOG.warn(msg);
|
||||
assert false : msg;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue