Thanks. Here is my code, but in most case, r is null? why this happened?
byte[] startRowkey = regionInfo.getStartKey();
Scan sc = new Scan();
sc.setBatch(1);
sc.setRowPrefixFilter(startRowkey);
try {
scanner = table.getScanner(sc);
r = scanner.next();
scanner.close();
}
Thanks,
lujinhong
> 在 2016年8月1日,18:49,Ted Yu <[email protected] <mailto:[email protected]>>
> 写道:
>
> .
