hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdcry...@apache.org
Subject svn commit: r728138 - in /hadoop/hbase/branches/0.18: CHANGES.txt src/java/org/apache/hadoop/hbase/regionserver/HRegion.java
Date Fri, 19 Dec 2008 20:31:43 GMT
Author: jdcryans
Date: Fri Dec 19 12:31:42 2008
New Revision: 728138

URL: http://svn.apache.org/viewvc?rev=728138&view=rev
Log:
HBASE-1069  Show whether HRegion major compacts or not in INFO level

Modified:
    hadoop/hbase/branches/0.18/CHANGES.txt
    hadoop/hbase/branches/0.18/src/java/org/apache/hadoop/hbase/regionserver/HRegion.java

Modified: hadoop/hbase/branches/0.18/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hbase/branches/0.18/CHANGES.txt?rev=728138&r1=728137&r2=728138&view=diff
==============================================================================
--- hadoop/hbase/branches/0.18/CHANGES.txt (original)
+++ hadoop/hbase/branches/0.18/CHANGES.txt Fri Dec 19 12:31:42 2008
@@ -11,6 +11,7 @@
 
   IMPROVEMENTS
    HBASE-1046  Narrow getClosestRowBefore by passing column family (backport)
+   HBASE-1069  Show whether HRegion major compacts or not in INFO level
 
 
 Release 0.18.1 - Released October 27, 2008

Modified: hadoop/hbase/branches/0.18/src/java/org/apache/hadoop/hbase/regionserver/HRegion.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/branches/0.18/src/java/org/apache/hadoop/hbase/regionserver/HRegion.java?rev=728138&r1=728137&r2=728138&view=diff
==============================================================================
--- hadoop/hbase/branches/0.18/src/java/org/apache/hadoop/hbase/regionserver/HRegion.java
(original)
+++ hadoop/hbase/branches/0.18/src/java/org/apache/hadoop/hbase/regionserver/HRegion.java
Fri Dec 19 12:31:42 2008
@@ -895,7 +895,8 @@
               return midKey;
           }
         }
-        LOG.info("starting compaction on region " + this);
+        LOG.info("starting " + (majorCompaction? "major" : "") +
+            " compaction on region " + this);
         long startTime = System.currentTimeMillis();
         doRegionCompactionPrep();
         long maxSize = -1;



Mime
View raw message