hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r612931 - in /lucene/hadoop/trunk/src/contrib/hbase: CHANGES.txt src/java/org/apache/hadoop/hbase/Shell.java
Date Thu, 17 Jan 2008 19:08:21 GMT
Author: stack
Date: Thu Jan 17 11:08:08 2008
New Revision: 612931

URL: http://svn.apache.org/viewvc?rev=612931&view=rev
Log:
HADOOP-2629 Shell digests garbage without complaint

Modified:
    lucene/hadoop/trunk/src/contrib/hbase/CHANGES.txt
    lucene/hadoop/trunk/src/contrib/hbase/src/java/org/apache/hadoop/hbase/Shell.java

Modified: lucene/hadoop/trunk/src/contrib/hbase/CHANGES.txt
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/contrib/hbase/CHANGES.txt?rev=612931&r1=612930&r2=612931&view=diff
==============================================================================
--- lucene/hadoop/trunk/src/contrib/hbase/CHANGES.txt (original)
+++ lucene/hadoop/trunk/src/contrib/hbase/CHANGES.txt Thu Jan 17 11:08:08 2008
@@ -136,6 +136,7 @@
                to have
    HADOOP-2493 hbase will split on row when the start and end row is the
                same cause data loss (Bryan Duxbury via Stack)
+   HADOOP-2629 Shell digests garbage without complaint
    
   IMPROVEMENTS
    HADOOP-2401 Add convenience put method that takes writable

Modified: lucene/hadoop/trunk/src/contrib/hbase/src/java/org/apache/hadoop/hbase/Shell.java
URL: http://svn.apache.org/viewvc/lucene/hadoop/trunk/src/contrib/hbase/src/java/org/apache/hadoop/hbase/Shell.java?rev=612931&r1=612930&r2=612931&view=diff
==============================================================================
--- lucene/hadoop/trunk/src/contrib/hbase/src/java/org/apache/hadoop/hbase/Shell.java (original)
+++ lucene/hadoop/trunk/src/contrib/hbase/src/java/org/apache/hadoop/hbase/Shell.java Thu
Jan 17 11:08:08 2008
@@ -115,9 +115,11 @@
 
         long end = System.currentTimeMillis();
         if (rs != null && rs.getType() > -1)
-          System.out.println(rs.getMsg()
-              + executeTime((rs.getType() == 1), start, end));
-        queryStr = new StringBuilder();
+          System.out.println(rs.getMsg() + executeTime((rs.getType() == 1), start, end));
+        else if (rs.getType() == -9)           
+          System.out.println(rs.getMsg());
+        
+          queryStr = new StringBuilder();
       } else {
         queryStr.append(" " + extendedLine);
       }



Mime
View raw message