hbase-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lucian Iordache <lucian.george.iorda...@gmail.com>
Subject Re: How to count the number of columns in a row
Date Wed, 22 Jun 2011 15:14:33 GMT
Hi guys,

I will do that.
Thank you for the replies!

Regards,
Lucian

On Wed, Jun 22, 2011 at 6:06 PM, Stack <stack@duboce.net> wrote:

> What Michael says.  Subclass
>
> http://hbase.apache.org/xref/org/apache/hadoop/hbase/mapreduce/RowCounter.html
> .
>  It does 90% of what you need.
> St.Ack
>
> On Wed, Jun 22, 2011 at 6:15 AM, Michael Segel
> <michael_segel@hotmail.com> wrote:
> >
> > Unfortunately no.
> >
> > Columns may or may not exist and its on a per row basis.
> > You can write a simple map job (No reduce) to use dynamic counters to
> determine the unique names of the columns and in how many rows these columns
> exist.
> > You could also keep track of the number of columns per row, the max
> number of columns, the min number of columns etc .. etc ..
> >
> > HTH
> >
> > -Mike
> >
> >
> >> Date: Wed, 22 Jun 2011 15:49:47 +0300
> >> Subject: How to count the number of columns in a row
> >> From: lucian.george.iordache@gmail.com
> >> To: hbase-user@hadoop.apache.org
> >>
> >> Hello all,
> >>
> >> Is there a way to count the number of columns in a hbase row using hbase
> >> console (I know that there is a "count" command, but it counts only the
> >> rows).
> >>
> >> --
> >> Best Regards,
> >> Lucian
> >
>

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