Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
HDFS >> mail # user >> which is better : form reducer or Driver


Copy link to this message
-
Re: which is better : form reducer or Driver
If you have multiple reducers you are doing it in parallel while in the
driver it is surely single threaded so my bet would be on the reducers.

Chris

On 11/5/2013 6:15 AM, unmesha sreeveni wrote:
> I am emiting 'A' value and 'B' value from reducer.
>
> I need to do further calculations also.
> which is a better way?
> 1. Do all remamining computations within reducer , after emiting
> or
> 2.Do remaining computation In driver: read A and B value from part
> file and do further computations.
>
> Pls suggest a better way.
>
> --
> /Thanks & Regards/
> /
> /
> Unmesha Sreeveni U.B/
> /
> /Junior Developer
> /
> /Amrita Center For Cyber Security
> /
> /
> Amritapuri.
>
> www.amrita.edu/cyber/ <http://www.amrita.edu/cyber/>
> /