-Re: HFile output - hfile.AVG_KEY_LEN always zero?
Otis Gospodnetic 2011-03-09, 05:49
Ah, great, thanks!
I'm using 0.89................. so I'll check this again once we have 0.90.* in
Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
Lucene ecosystem search :: http://search-lucene.com/
----- Original Message ----
> From: Lars George <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Sent: Tue, March 8, 2011 8:03:31 PM
> Subject: Re: HFile output - hfile.AVG_KEY_LEN always zero?
> This also has been improved in 0.90.0 as per
> What version are you on Otis?
> On Tue, Mar 8, 2011 at 10:25 PM, Ryan Rawson <[EMAIL PROTECTED]> wrote:
> > Ascii table tells me bang = 33
> > http://www.asciitable.com/
> > so the average key len is 33.
> > :-)
> > -ryan
> > On Tue, Mar 8, 2011 at 1:00 PM, Otis Gospodnetic
> > <[EMAIL PROTECTED]> wrote:
> >> Hi,
> >> I thought I could use the handy HFile from command line to give me some
> >> about a given region or HFile, like the average key and value lengths.
> >> However, this is what I got:
> >> $ hbase org.apache.hadoop.hbase.io.hfile.HFile -m -f
> >> ...
> >> hfile.AVG_KEY_LEN = \x00\x00\x00!
> >> hfile.AVG_VALUE_LEN = \x00\x00\x00\x07
> >> How come the average key length is 0?
> >> I tried several HFiles and they all gave me the same results (although I
> >> saw that "!" at the end of AVG_KEY_LEN can also be "#" and maybe some
> >> characters)
> >> Thanks,
> >> Otis
> >> ----
> >> Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
> >> Lucene ecosystem search :: http://search-lucene.com/