I'm trying to scan across an entire table (using only a specific
family or family + qualifier).
I've tried various methods but I can only get this scan to touch the
first region server. Afterwords, it stops processing. Issuing the same
scan in the shell works (returns 50,000 rows) whereas the Scan made
from Java only returns ~4000 rows.
I've tried adding/removing start/stop rows, using getScanner(family,
column) vs getScanner(scan), and restarting the region servers which
host the 1st and 2nd regions.
The debug output from the scan shows that it knows about locations for
each region; however, it calls close after the first region.
In the simplest case, the code looks like:
ResultScanner rs = table.getScanner(family, qualifier);
for (Result r : rs) {
// do something
}
Any ideas or known issues? (0.90.4-cdh3u2 - this scan is running
inside a map task)
I figure the next step is to walk through the client scanner code
locally in a java main but haven't done this yet.