hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r703032 - in /hadoop/hbase/trunk: CHANGES.txt src/java/org/apache/hadoop/hbase/HMsg.java src/java/org/apache/hadoop/hbase/master/ProcessServerShutdown.java
Date Thu, 09 Oct 2008 00:34:08 GMT
Author: stack
Date: Wed Oct  8 17:34:07 2008
New Revision: 703032

URL: http://svn.apache.org/viewvc?rev=703032&view=rev
Log:
HBASE-914 MSG_REPORT_CLOSE has a byte array for a message

Modified:
    hadoop/hbase/trunk/CHANGES.txt
    hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/HMsg.java
    hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/master/ProcessServerShutdown.java

Modified: hadoop/hbase/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/CHANGES.txt?rev=703032&r1=703031&r2=703032&view=diff
==============================================================================
--- hadoop/hbase/trunk/CHANGES.txt (original)
+++ hadoop/hbase/trunk/CHANGES.txt Wed Oct  8 17:34:07 2008
@@ -19,6 +19,7 @@
    HBASE-844   Can't pass script to hbase shell 
    HBASE-837   Add unit tests for ThriftServer.HBaseHandler (Izaak Rubin via Stack)
    HBASE-913   Classes using log4j directly
+   HBASE-914   MSG_REPORT_CLOSE has a byte array for a message
 
   IMPROVEMENTS
    HBASE-901   Add a limit to key length, check key and value length on client side

Modified: hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/HMsg.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/HMsg.java?rev=703032&r1=703031&r2=703032&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/HMsg.java (original)
+++ hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/HMsg.java Wed Oct  8 17:34:07 2008
@@ -194,7 +194,7 @@
       sb.append(this.info.getRegionNameAsString());
     }
     if (this.message != null && this.message.length > 0) {
-      sb.append(": " + this.message);
+      sb.append(": " + Bytes.toString(this.message));
     }
     return sb.toString();
   }

Modified: hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/master/ProcessServerShutdown.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/master/ProcessServerShutdown.java?rev=703032&r1=703031&r2=703032&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/master/ProcessServerShutdown.java
(original)
+++ hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/master/ProcessServerShutdown.java
Wed Oct  8 17:34:07 2008
@@ -36,6 +36,7 @@
 import org.apache.hadoop.hbase.regionserver.HLog;
 import org.apache.hadoop.hbase.regionserver.HRegion;
 import org.apache.hadoop.hbase.util.Writables;
+import org.apache.hadoop.hbase.util.Bytes;
 import org.apache.hadoop.hbase.io.RowResult;
 
 /** 
@@ -110,7 +111,7 @@
         byte [] row = values.getRow();
         
         if (LOG.isDebugEnabled() && row != null) {
-          LOG.debug("shutdown scanner looking at " + row.toString());
+          LOG.debug("shutdown scanner looking at " + Bytes.toString(row));
         }
 
         // Check server name.  If null, be conservative and treat as though



Mime
View raw message