It's hard to remotely debug an iterator, especially when we don't know
what it's doing. If you can post the code, that would help tremendously.
Instead of dumping values to a text file, you may fare better by
attaching a remote debugger to the TabletServer and setting a breakpoint
on your
Not sure I understand your question. Do you mean of a Tablet instead of
TabletServer? A TabletServer will host many Tablets.
Assuming so, the easiest way to get the first key for each Tablet is to
fetch the split points for a table. The split points are the end-row of
each Tablet in a table.
Thanks Josh.
Outline of my code is:
public class TestIterator extends WrappingIterator {
HashMapString, Integer holder = new HashMap();
private IteratorMap.EntryString, Integer entries=null;
private EntryString, Integer entry=null;
private Key emitKey;
private Value emitValue;
@Override
To enable remote debugging, in ACCUMULO_TSERVER_OPTS in accumulo-env.sh,
add the following -Xdebug
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=
In this case, you would then use the port in Eclipse to do a Remote
Java Application debugging session. Your TServer would need
hi,
Does anyone know how to get the first or last key of the tablet servers?
Thanks and Regards.
*Rukshan Chathuranga.*
*Department Of Computer Science Engineering,*
*Faculty Of Engineering,*
*University Of Moratuwa. **Sri Lanka.*
*WEB: http://www.rukspot.com/ http://rukspot.com/*