Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
HBase >> mail # user >> HFile output - hfile.AVG_KEY_LEN always zero?


Copy link to this message
-
Re: HFile output - hfile.AVG_KEY_LEN always zero?
Ah, great, thanks!

I'm using 0.89................. so I'll check this again once we have 0.90.* in
place.
Otis
----
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
>
> http://issues.apache.org/jira/browse/HBASE-3132
>
> What version are you  on Otis?
>
> Lars
>
> 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
>stats
> >> 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
> >>  
>hdfs://hackme/hbase/fifi/84f19e93c3d567a485aa6794043449e1/xx/8364597447655745527
> >>  ...
> >> 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
>also
> >> saw that "!" at the end of  AVG_KEY_LEN can also be "#" and maybe some
other
> >>  characters)
> >>
> >> Thanks,
> >> Otis
> >>  ----
> >> Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch
> >> Lucene ecosystem  search :: http://search-lucene.com/
> >>
> >>
> >
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB