When modifying the source code of HBase, I met a problem. In the
regionserver side of HBase , I want to use the function scan to get
all the data in the specified region. In the region, there are more
than one version of data that match one rowkey. the code is shown
Scan scan = new Scan(range.getStartRow());
long scannerId = this.openScanner(range.getRegionName(), scan);
int nbRows = Integer.parseInt(new String(range.getEndRow())) -
Result results = this.next(scannerId, nbRows);
But the problem is that, after getting the results that returned by
"this.next( )", I found that for every rowkey there is no data
The functions openScanner() and next() are called by the client side
function getScanner. Why I get no data?
Thank you very much.