Thursday, 20 August 2015

What is driver class in Hadoop?

We don’t do any calculation part in driver program. The driver program mainly use to

1.       Set Hadoop Configuration.
2.       Set  Job.
3.       Include FileSystem.
4.       Specify the input file path and output file path.
5.       Make the jar file of the main class because Hadoop can only work on jar files  .
6.       Specify Map output key class, Map output value class.
7.       Specify Reduce output key class, Reduce output value class.
8.       Define the path of Mapper derived class and Reducer derived class.
9.       Waits until the job is completed.

No comments:

Post a Comment