I am processing large text files. Each record is a line from the input text files and I am searching for certain keywords in these records.
I want to know which of the following two methods will be more efficient(time complexity) while working in Hadoop MapReduce:
- Searching in map function pf the Mapper
- Searching in the reduce function of the Reducer
Please Help!