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

Switch to Threaded View
HBase, mail # user - Easiest way to get a random sample of keys


Copy link to this message
-
Re: Easiest way to get a random sample of keys
Jean-Marc Spaggiari 2014-01-24, 23:29
How many regions do you have? Can you take the first key of each region as
a sample?
Le 2014-01-24 18:15, "Sudarshan Kadambi (BLOOMBERG/ 731 LEXIN)" <
[EMAIL PROTECTED]> a écrit :

> Something like count 't1', {INTERVAL=>20} should give me every 20th row in
> table 't1'. Is there an easy way to get a random sample via. the shell
> using filters?
>
>