hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r929007 - in /hadoop/hbase/branches/0.20: CHANGES.txt src/java/org/apache/hadoop/hbase/master/BaseScanner.java
Date Tue, 30 Mar 2010 06:24:21 GMT
Author: stack
Date: Tue Mar 30 06:24:20 2010
New Revision: 929007

URL: http://svn.apache.org/viewvc?rev=929007&view=rev
Log:
HBASE-2373 Remove confusing log message of how 'BaseScanner GET got different address/startcode
than SCAN'

Modified:
    hadoop/hbase/branches/0.20/CHANGES.txt
    hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/master/BaseScanner.java

Modified: hadoop/hbase/branches/0.20/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hbase/branches/0.20/CHANGES.txt?rev=929007&r1=929006&r2=929007&view=diff
==============================================================================
--- hadoop/hbase/branches/0.20/CHANGES.txt (original)
+++ hadoop/hbase/branches/0.20/CHANGES.txt Tue Mar 30 06:24:20 2010
@@ -62,6 +62,8 @@ Release 0.20.4 - Unreleased
                (Kannan Muthukkaruppan via Stack)
    HBASE-2382  Don't rely on fs.getDefaultReplication() to roll HLogs
                (Nicolas Spiegelberg via Stack)
+   HBASE-2373  Remove confusing log message of how "BaseScanner GET got
+               different address/startcode than SCAN"
 
   IMPROVEMENTS
    HBASE-2180  Bad read performance from synchronizing hfile.fddatainputstream

Modified: hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/master/BaseScanner.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/master/BaseScanner.java?rev=929007&r1=929006&r2=929007&view=diff
==============================================================================
--- hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/master/BaseScanner.java (original)
+++ hadoop/hbase/branches/0.20/src/java/org/apache/hadoop/hbase/master/BaseScanner.java Tue
Mar 30 06:24:20 2010
@@ -543,16 +543,8 @@ abstract class BaseScanner extends Chore
     Result r = regionServer.get(meta.getRegionName(), g);
     if (r != null && !r.isEmpty()) {
       sa = getServerAddress(r);
-      if (sa != null && sa.length() > 0 && !sa.equalsIgnoreCase(serverAddress))
{
-        LOG.debug("GET on " + info.getRegionNameAsString() + " got different " +
-          "address than SCAN: sa=" + sa + ", serverAddress=" + serverAddress);
-      }
       // Reget startcode in case its changed in the meantime too.
       sc = getStartCode(r);
-      if (sc != startCode) {
-        LOG.debug("GET on " + info.getRegionNameAsString() + " got different " +
-          "startcode than SCAN: sc=" + sc + ", serverAddress=" + startCode);
-      }
     }
     if (sa != null && sa.length() > 0) {
       serverName = HServerInfo.getServerName(sa, sc);



Mime
View raw message