HBASE-7151 Better log message for Per-CF compactions
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1408502 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a65a66be3d
commit
6f09882c7f
|
@ -3582,7 +3582,10 @@ public class HRegionServer implements ClientProtocol,
|
|||
}
|
||||
}
|
||||
|
||||
String log = "User-triggered " + (major ? "major " : "") + "compaction";
|
||||
String familyLogMsg = (family != null)?" for column family: " + Bytes.toString(family):"";
|
||||
LOG.trace("User-triggered compaction requested for region " +
|
||||
region.getRegionNameAsString() + familyLogMsg);
|
||||
String log = "User-triggered " + (major ? "major " : "") + "compaction" + familyLogMsg;
|
||||
if(family != null) {
|
||||
compactSplitThread.requestCompaction(region, store, log,
|
||||
Store.PRIORITY_USER);
|
||||
|
|
Loading…
Reference in New Issue