HBASE-24427 HStore.add log format error (#1773)

Signed-off-by: Viraj Jasani <vjasani@apache.org>
This commit is contained in:
WenFeiYi 2020-05-25 20:58:12 +08:00 committed by GitHub
parent 301659dcc7
commit 285e59af25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -748,8 +748,8 @@ public class HStore implements Store, HeapSize, StoreConfigInformation,
lock.readLock().lock(); lock.readLock().lock();
try { try {
if (this.currentParallelPutCount.getAndIncrement() > this.parallelPutCountPrintThreshold) { if (this.currentParallelPutCount.getAndIncrement() > this.parallelPutCountPrintThreshold) {
LOG.trace(this.getTableName() + "tableName={}, encodedName={}, columnFamilyName={} is " + LOG.trace("tableName={}, encodedName={}, columnFamilyName={} is too busy!",
"too busy!", this.getRegionInfo().getEncodedName(), this .getColumnFamilyName()); this.getTableName(), this.getRegionInfo().getEncodedName(), this.getColumnFamilyName());
} }
this.memstore.add(cell, memstoreSizing); this.memstore.add(cell, memstoreSizing);
} finally { } finally {
@ -765,8 +765,8 @@ public class HStore implements Store, HeapSize, StoreConfigInformation,
lock.readLock().lock(); lock.readLock().lock();
try { try {
if (this.currentParallelPutCount.getAndIncrement() > this.parallelPutCountPrintThreshold) { if (this.currentParallelPutCount.getAndIncrement() > this.parallelPutCountPrintThreshold) {
LOG.trace(this.getTableName() + "tableName={}, encodedName={}, columnFamilyName={} is " + LOG.trace("tableName={}, encodedName={}, columnFamilyName={} is too busy!",
"too busy!", this.getRegionInfo().getEncodedName(), this .getColumnFamilyName()); this.getTableName(), this.getRegionInfo().getEncodedName(), this.getColumnFamilyName());
} }
memstore.add(cells, memstoreSizing); memstore.add(cells, memstoreSizing);
} finally { } finally {