hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jean-Marc Spaggiari <jean-m...@spaggiari.org>
Subject Re: Easiest way to get a random sample of keys
Date Sat, 25 Jan 2014 17:13:50 GMT
RandomRowFilter is a good idea! +1


2014/1/24 Dhaval Shah <prince_mithibai@yahoo.co.in>

> HBase shell is a JRuby shell and wraps all Java classes in a ruby
> interface. You can actually use a RandomRowFilter with a 5% configuration
> to achieve what you need.
>
> Regards,
>
> Dhaval
>
>
> ________________________________
> From: Sudarshan Kadambi (BLOOMBERG/ 731 LEXIN) <skadambi@bloomberg.net>
> To: user@hbase.apache.org
> Sent: Friday, 24 January 2014 6:15 PM
> Subject: Easiest way to get a random sample of keys
>
>
> 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?
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message