hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gcha...@apache.org
Subject svn commit: r1408501 - /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
Date Mon, 12 Nov 2012 23:17:30 GMT
Author: gchanan
Date: Mon Nov 12 23:17:29 2012
New Revision: 1408501

URL: http://svn.apache.org/viewvc?rev=1408501&view=rev
Log:
HBASE-7151 Better log message for Per-CF compactions

Modified:
    hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java

Modified: hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java?rev=1408501&r1=1408500&r2=1408501&view=diff
==============================================================================
--- hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
(original)
+++ hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java
Mon Nov 12 23:17:29 2012
@@ -2991,9 +2991,10 @@ public class HRegionServer implements HR
         region.triggerMajorCompaction();
       }
     }
+    String familyLogMsg = (family != null)?" for column family: " + Bytes.toString(family):"";
     LOG.trace("User-triggered compaction requested for region " +
-      region.getRegionNameAsString());
-    String log = "User-triggered " + (major ? "major " : "") + "compaction";
+      region.getRegionNameAsString() + familyLogMsg);
+    String log = "User-triggered " + (major ? "major " : "") + "compaction" + familyLogMsg;
     if (family != null) {
       compactSplitThread.requestCompaction(region, store, log,
         Store.PRIORITY_USER);



Mime
View raw message