HBASE-1709 Thrift getRowWithColumns doesn't accept column-family only
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@798223 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9823e86775
commit
e096368480
|
@ -286,6 +286,7 @@ Release 0.20.0 - Unreleased
|
||||||
scan can't specify stopRow (Clint Morgan via Stack)
|
scan can't specify stopRow (Clint Morgan via Stack)
|
||||||
HBASE-1693 NPE close_region ".META." in shell
|
HBASE-1693 NPE close_region ".META." in shell
|
||||||
HBASE-1706 META row with missing HRI breaks UI
|
HBASE-1706 META row with missing HRI breaks UI
|
||||||
|
HBASE-1709 Thrift getRowWithColumns doesn't accept column-family only
|
||||||
|
|
||||||
IMPROVEMENTS
|
IMPROVEMENTS
|
||||||
HBASE-1089 Add count of regions on filesystem to master UI; add percentage
|
HBASE-1089 Add count of regions on filesystem to master UI; add percentage
|
||||||
|
|
|
@ -346,7 +346,11 @@ public class ThriftServer {
|
||||||
Get get = new Get(row);
|
Get get = new Get(row);
|
||||||
for(byte [] column : columnArr) {
|
for(byte [] column : columnArr) {
|
||||||
byte [][] famAndQf = KeyValue.parseColumn(column);
|
byte [][] famAndQf = KeyValue.parseColumn(column);
|
||||||
get.addColumn(famAndQf[0], famAndQf[1]);
|
if (famAndQf[1] == null || famAndQf[1].length == 0) {
|
||||||
|
get.addFamily(famAndQf[0]);
|
||||||
|
} else {
|
||||||
|
get.addColumn(famAndQf[0], famAndQf[1]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
get.setTimeRange(Long.MIN_VALUE, timestamp);
|
get.setTimeRange(Long.MIN_VALUE, timestamp);
|
||||||
Result result = table.get(get);
|
Result result = table.get(get);
|
||||||
|
|
Loading…
Reference in New Issue