how to proceed to write your first mapreducer program?



how to proceed to write your first mapreducer program?..

Answer / Manorama Devi

To write your first MapReduce program, you need to follow these steps:
1. Define a Mapper and Reducer class for your specific problem.
2. Write the logic in the map() and reduce() functions respectively.
3. Create an XML file (Job configuration) that specifies the input and output paths, as well as the mapper and reducer classes.
4. Run the MapReduce job using a Job client.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More MapReduce Interview Questions

What is the key- value pair in MapReduce?

1 Answers  


Why is Apache Spark faster than Hadoop MapReduce?

1 Answers  


What is Mapper in Hadoop MapReduce?

1 Answers  


What is the function of mapreduce partitioner?

1 Answers  


How to set mappers and reducers for Hadoop jobs?

1 Answers  


What is mapreduce algorithm?

1 Answers  


Can there be no Reducer?

1 Answers  


What is optimal size of a file for distributed cache?

1 Answers  


What is a IdentityMapper and IdentityReducer in MapReduce ?

1 Answers  


What happens if the quantity of the reducer is 0 in mapreduce?

1 Answers  


Explain the general mapreduce algorithm

1 Answers  


What is identity mapper and chain mapper?

1 Answers  


Categories