HADOOP-2296 hbase shell: phantom columns show up from select command
git-svn-id: https://svn.apache.org/repos/asf/lucene/hadoop/trunk/src/contrib/hbase@599703 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
bf176b63f3
commit
5a465ae05b
|
@ -65,6 +65,7 @@ Trunk (unreleased changes)
|
|||
HADOOP-1608 Relational Algrebra Operators
|
||||
(Edward Yoon via Stack)
|
||||
HADOOP-2198 HTable should have method to return table metadata
|
||||
HADOOP-2296 hbase shell: phantom columns show up from select command
|
||||
|
||||
|
||||
Release 0.15.1
|
||||
|
|
|
@ -945,16 +945,17 @@ public class HTable implements HConstants {
|
|||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public boolean next(HStoreKey key, SortedMap<Text, byte[]> results) throws IOException {
|
||||
|
||||
public boolean next(HStoreKey key, SortedMap<Text, byte[]> results)
|
||||
throws IOException {
|
||||
checkClosed();
|
||||
if (this.closed) {
|
||||
return false;
|
||||
}
|
||||
MapWritable values = null;
|
||||
// Clear the results so we don't inherit any values from any previous
|
||||
// calls to next.
|
||||
results.clear();
|
||||
do {
|
||||
values = this.server.next(this.scannerId);
|
||||
} while (values != null && values.size() == 0 && nextScanner());
|
||||
|
|
Loading…
Reference in New Issue