HBASE-15391 Avoid too large "deleted from META" info log (Liu Shaohui)
This commit is contained in:
parent
92f33ad076
commit
4223c0c0ac
|
@ -1977,7 +1977,10 @@ public class MetaTableAccessor {
|
|||
deletes.add(e);
|
||||
}
|
||||
deleteFromMetaTable(connection, deletes);
|
||||
LOG.info("Deleted " + regionsInfo);
|
||||
LOG.info("Deleted " + regionInfos.size() + " regions from META");
|
||||
if (LOG.isDebugEnabled()) {
|
||||
LOG.debug("Deleted regions: " + regionInfos);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -2029,7 +2032,10 @@ public class MetaTableAccessor {
|
|||
//
|
||||
// HBASE-13875 uses master timestamp for the mutations. The 20ms sleep is not needed
|
||||
addRegionsToMeta(connection, regionInfos, regionReplication, now+1);
|
||||
LOG.info("Overwritten " + regionInfos);
|
||||
LOG.info("Overwritten " + regionInfos.size() + " regions to Meta");
|
||||
if (LOG.isDebugEnabled()) {
|
||||
LOG.debug("Overwritten regions: " + regionInfos);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue