one more doubt : how to copy each input split entering into mapper into a file for computation?
On Thu, Nov 7, 2013 at 10:35 AM, unmesha sreeveni <[email protected]>wrote: > My driver code is > FileInputFormat.setInputPaths(job, new Path(args[0])); > FileOutputFormat.setOutputPath(job,new Path(args[1])); > > and My mapper is > public void map(Object key, Text value, Context context) > throws IOException, InterruptedException { > where value.tostring() contains my input data. > > is that a better way to copy all the data s coming into a file and do > computations. OR read each line and do the calculation. > > -- > *Thanks & Regards* > > Unmesha Sreeveni U.B > > *Junior Developer* > > > > -- *Thanks & Regards* Unmesha Sreeveni U.B *Junior Developer* *Amrita Center For Cyber Security* * Amritapuri.www.amrita.edu/cyber/ <http://www.amrita.edu/cyber/>*
