How do I do that ? I'll anyway try to re-send. Naama
On Thu, Jun 19, 2008 at 7:10 PM, Jim Kellerman <[EMAIL PROTECTED]> wrote: > You could also attach your example to the HBase Wiki. > > --- > Jim Kellerman, Senior Engineer; Powerset > > > > -----Original Message----- > > From: Daniel Blaisdell [mailto:[EMAIL PROTECTED] > > Sent: Thursday, June 19, 2008 5:37 AM > > To: [email protected] > > Subject: Re: Map Reduce over HBase - sample code > > > > Naama, > > > > It doesn't look like your attachments remained intact. Could > > you place the files on a webserver, or persistent pastebin? > > > > -Daniel > > > > On Thu, Jun 19, 2008 at 8:03 AM, Naama Kraus > > <[EMAIL PROTECTED]> wrote: > > > > > Hi, > > > > > > I was trying to figure out how to write a MapReduce job above HBase > > > but couldn't find a complete example. What I did, I fished > > pieces from > > > various sources (HBase tests, examples, source code ...) > > and came up > > > with a program that worked for me. > > > First, I thought to share it with this forum, in case anyone else > > > would find it useful. Second, I'd very much appreciate any > > > comments/feedback on the code (two Java files attached). > > > > > > The MR job input is an HBase table (GradesTable.java) where student > > > names are row keys, and columns are course names. Cells contain the > > > student's grade in the corresponding course. The MR job > > > (GradesTableMapReduce.java) computes for each student his average > > > grade in courses and puts it in a new column in the original table. > > > > > > I used hbase-0.1.1, local mode, for testing the code. > > > > > > Thanks for any input, > > > Naama > > > > > > -- > > > oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 > > oo 00 oo > > > 00 oo 00 oo 00 oo "If you want your children to be > > intelligent, read > > > them fairy tales. If you want them to be more intelligent, > > read them > > > more fairy tales." (Albert > > > Einstein) > > > > No virus found in this incoming message. > > Checked by AVG. > > Version: 8.0.100 / Virus Database: 270.4.0/1509 - Release > > Date: 6/19/2008 8:00 AM > > > No virus found in this outgoing message. > Checked by AVG. > Version: 8.0.100 / Virus Database: 270.4.0/1509 - Release Date: 6/19/2008 > 8:00 AM > -- oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo 00 oo "If you want your children to be intelligent, read them fairy tales. If you want them to be more intelligent, read them more fairy tales." (Albert Einstein)
