I need the final result data for reporting and display it into chart.
What is the approach to store final result ? should it be text file or Hbase?
So wouldn't you just bring that data back to the caller to create the chart? Why does it have to be saved. Is it something that is later on someone is looking for the chart? Should the chart already be created? Is the chart itself a file? You can store the data anywhere, there isn't one best. It is just what is easiest and when is it needed?
Meaning if I was doing crunching of data from a request in a web page, I would be querying data that is already somewhere, and I just need that data now, in memory so I can generate the chart and send it back to the request.
Hope that helps.
Joined: Jul 24, 2011
The output from MapReduce program doesn't give final, it required a data massage before hand over to a page with chart
In an MR program you need to specify the output format for your "reduce" program and final output depends on it. The final result from the reduce program is written to the output folder (in HDFS) that you have specified on your MR Job specification. Number of output files from the reduce program equals the number of reducers that you have specified on your Job Config object.
If you are running HBase MR with the TableOutputFormat as your destiniation then your result is in the HBas table that you specified when you created the job.
Include your code in this post from your MR Driver class if you need further help.
subject: What is the best way to access final result?