Re: Abnormal behaviour of custom iterator in getting entries

2015-06-15 Thread Josh Elser
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

Re: How to get the first key of the Tablet servers

2015-06-15 Thread Josh Elser
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.

Re: Abnormal behaviour of custom iterator in getting entries

2015-06-15 Thread madhvi
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

Re: Abnormal behaviour of custom iterator in getting entries

2015-06-15 Thread Josh Elser
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

How to get the first key of the Tablet servers

2015-06-15 Thread Rukshan Chathuranga
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/*