hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nkey...@apache.org
Subject svn commit: r1586019 - in /hbase/trunk: hbase-client/src/main/java/org/apache/hadoop/hbase/catalog/ hbase-client/src/main/java/org/apache/hadoop/hbase/client/ hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/ hbase-server/src/main/java/org/...
Date Wed, 09 Apr 2014 16:33:23 GMT
Author: nkeywal
Date: Wed Apr  9 16:33:22 2014
New Revision: 1586019

URL: http://svn.apache.org/r1586019
Log:
HBASE-10931 Enhance logs

Modified:
    hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/catalog/CatalogTracker.java
    hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RpcRetryingCaller.java
    hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/ZooKeeperNodeTracker.java
    hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.java

Modified: hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/catalog/CatalogTracker.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/catalog/CatalogTracker.java?rev=1586019&r1=1586018&r2=1586019&view=diff
==============================================================================
--- hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/catalog/CatalogTracker.java
(original)
+++ hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/catalog/CatalogTracker.java
Wed Apr  9 16:33:22 2014
@@ -441,4 +441,10 @@ public class CatalogTracker {
   public HConnection getConnection() {
     return this.connection;
   }
+
+  @Override
+  public String toString() {
+    return "CatalogTracker{" + "connection=" + connection + ", zookeeper=" + zookeeper +
+        ", metaRegionTracker=" + metaRegionTracker + ", stopped=" + stopped + '}';
+  }
 }

Modified: hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RpcRetryingCaller.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RpcRetryingCaller.java?rev=1586019&r1=1586018&r2=1586019&view=diff
==============================================================================
--- hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RpcRetryingCaller.java
(original)
+++ hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/client/RpcRetryingCaller.java
Wed Apr  9 16:33:22 2014
@@ -205,4 +205,10 @@ public class RpcRetryingCaller<T> {
     }
     return t;
   }
+
+  @Override
+  public String toString() {
+    return "RpcRetryingCaller{" + "globalStartTime=" + globalStartTime +
+        ", pause=" + pause + ", retries=" + retries + '}';
+  }
 }

Modified: hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/ZooKeeperNodeTracker.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/ZooKeeperNodeTracker.java?rev=1586019&r1=1586018&r2=1586019&view=diff
==============================================================================
--- hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/ZooKeeperNodeTracker.java
(original)
+++ hbase/trunk/hbase-client/src/main/java/org/apache/hadoop/hbase/zookeeper/ZooKeeperNodeTracker.java
Wed Apr  9 16:33:22 2014
@@ -243,4 +243,10 @@ public abstract class ZooKeeperNodeTrack
     }
     return true;
   }
+
+  @Override
+  public String toString() {
+    return "ZooKeeperNodeTracker{" +
+        "node='" + node + ", stopped=" + stopped + '}';
+  }
 }

Modified: hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.java?rev=1586019&r1=1586018&r2=1586019&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.java
(original)
+++ hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/HRegionFileSystem.java
Wed Apr  9 16:33:22 2014
@@ -749,7 +749,8 @@ public class HRegionFileSystem {
         throw new IOException("Unable to remove existing " + regionInfoFile);
       }
     } catch (FileNotFoundException e) {
-      LOG.warn(REGION_INFO_FILE + " file not found for region: " + regionInfo.getEncodedName());
+      LOG.warn(REGION_INFO_FILE + " file not found for region: " + regionInfo.getEncodedName()
+
+          " on table " + regionInfo.getTable());
     }
 
     // Write HRI to a file in case we need to recover hbase:meta



Mime
View raw message