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 <[email protected]> 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: [email protected] >> To: [email protected] >> >> 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 >
