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 Plain View
MapReduce >> mail # user >> Cumulative value using mapreduce


+
Sarath 2012-10-04, 13:58
Copy link to this message
-
Re: Cumulative value using mapreduce
Hi,

It sounds like a
1) group information by account
2) compute sum per account

If that not the case, you should precise a bit more about your context.

This computing looks like a small variant of wordcount. If you do not know
how to do it, you should read books about Hadoop MapReduce and/or online
tutorial. Yahoo's is old but still a nice read to begin with :
http://developer.yahoo.com/hadoop/tutorial/

Regards,

Bertrand

On Thu, Oct 4, 2012 at 3:58 PM, Sarath <
[EMAIL PROTECTED]> wrote:

> Hi,
>
> I have a file which has some financial transaction data. Each transaction
> will have amount and a credit/debit indicator.
> I want to write a mapreduce program which computes cumulative credit &
> debit amounts at each record
> and append these values to the record before dumping into the output file.
>
> Is this possible? How can I achieve this? Where should i put the logic of
> computing the cumulative values?
>
> Regards,
> Sarath.
>

--
Bertrand Dechoux
+
Ted Dunning 2012-10-04, 17:52
+
java8964 java8964 2012-10-04, 19:02
+
Bertrand Dechoux 2012-10-04, 21:21
+
Sarath 2012-10-05, 04:56
+
Bertrand Dechoux 2012-10-05, 06:38
+
Ted Dunning 2012-10-05, 05:50
+
Steve Loughran 2012-10-05, 14:43
+
Jane Wayne 2012-10-05, 15:21
+
Jane Wayne 2012-10-05, 15:31
+
java8964 java8964 2012-10-05, 14:03
+
Sarath 2012-10-19, 06:03
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