I am new to Map/Reduce and Hadoop framework. I am running a Hadoop program on single machine (for trying it out). I have n input files and I want some summary of words from those files. I know map function returns key value pair, but how map is called? Once on each file or Once on each line of every file? Can I configure it?
Is it correct to assume, "reduce" is called for each key?