hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r1516287 - in /hbase/trunk: hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.java
Date Wed, 21 Aug 2013 20:13:21 GMT
Author: stack
Date: Wed Aug 21 20:13:20 2013
New Revision: 1516287

URL: http://svn.apache.org/r1516287
Log:
HBASE-9282 Minor logging cleanup; shorten logs, remove redundant info

Modified:
    hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java
    hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.java

Modified: hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java?rev=1516287&r1=1516286&r2=1516287&view=diff
==============================================================================
--- hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java
(original)
+++ hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/client/AsyncProcess.java
Wed Aug 21 20:13:20 2013
@@ -535,8 +535,8 @@ class AsyncProcess<CResult> {
 
     if (toReplay.isEmpty()) {
       LOG.warn("Attempt #" + numAttempt + "/" + numTries + " failed for all " +
-        initialActions.size() + "ops, NOT resubmitting,
-        tableName=" + tableName + ", location=" + location);
+        initialActions.size() + "ops, NOT resubmitting, tableName=" + tableName +
+        ", location=" + location);
     } else {
       submit(initialActions, toReplay, numAttempt, true, errorsByServer);
     }

Modified: hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.java?rev=1516287&r1=1516286&r2=1516287&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.java
(original)
+++ hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/handler/OpenRegionHandler.java
Wed Aug 21 20:13:20 2013
@@ -370,7 +370,8 @@ public class OpenRegionHandler extends E
           "so now unassigning -- closing region on server: " +
           this.server.getServerName());
       } else {
-        LOG.debug("Transitioned " + r.getEncodedName() + " to OPENED in zk on " + this.server.getServerName());
+        LOG.debug("Transitioned " + r.getRegionInfo().getEncodedName() +
+          " to OPENED in zk on " + this.server.getServerName());
         result = true;
       }
     } catch (KeeperException e) {



Mime
View raw message