You can use TableOperations.getMaxRow()[1] to find the last key in a range. This is not a constant time operation, its ~ O(log R) where R is the amount of bits in your row. There is a shell command to do this also.
[1]: http://accumulo.apache.org/1.6/apidocs/org/apache/accumulo/core/client/admin/TableOperations.html#getMaxRow%28java.lang.String,%20org.apache.accumulo.core.security.Authorizations,%20org.apache.hadoop.io.Text,%20boolean,%20org.apache.hadoop.io.Text,%20boolean%29 On Tue, Jun 16, 2015 at 12:11 AM, Rukshan Chathuranga <[email protected] > wrote: > 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/>* > >
