HADOOP-2706 HBase Shell crash
git-svn-id: https://svn.apache.org/repos/asf/hadoop/core/trunk/src/contrib/hbase@615248 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0d8c1bfdfc
commit
a8a0d00a4a
|
@ -148,6 +148,7 @@ Trunk (unreleased changes)
|
|||
HADOOP-2686 Removed tables stick around in .META.
|
||||
HADOOP-2688 IllegalArgumentException processing a shutdown stops
|
||||
server going down and results in millions of lines of output
|
||||
HADOOP-2706 HBase Shell crash
|
||||
|
||||
IMPROVEMENTS
|
||||
HADOOP-2401 Add convenience put method that takes writable
|
||||
|
|
|
@ -114,12 +114,14 @@ public class Shell {
|
|||
ReturnMsg rs = hql.executeQuery(queryStr.toString());
|
||||
|
||||
long end = System.currentTimeMillis();
|
||||
if (rs != null && rs.getType() > -1)
|
||||
System.out.println(rs.getMsg() + executeTime((rs.getType() == 1), start, end));
|
||||
else if (rs.getType() == -9)
|
||||
System.out.println(rs.getMsg());
|
||||
|
||||
queryStr = new StringBuilder();
|
||||
if (rs != null) {
|
||||
if (rs != null && rs.getType() > -1)
|
||||
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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue