HADOOP-2629 Shell digests garbage without complaint

git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@612931 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2008-01-17 19:08:08 +00:00
parent 246d4b80ab
commit 74df13a369
2 changed files with 6 additions and 3 deletions

View File

@ -136,6 +136,7 @@ Trunk (unreleased changes)
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

View File

@ -115,9 +115,11 @@ public class Shell {
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);
}