Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> Filters and versions

Copy link to this message
Filters and versions

Im writing a custom filter it seems that filterKeyValue(KeyValue kv) give
me every version, which is fine, but im only interested in the latest

I have tried KeyValue.isLatestTimestamp() to filter out older versions but
this method always returns false?

Also tried setMaxVersions(1) on the Scanner but this doesnt seem to help.

Any advice?