I am new to HADOOP as well as
JAVA.
While I was looking into the "WordCount" problem, I was confused with the use of
generics in the WordCountMapper Class.
The Class looks like:
I know that the Generics is used here to assign
KEY VALUE pair for mapper input and output. But I want to know
what is the advantage of using GENERICS for assigning KEY VALUE pairs.
Is this the only way to assign KEY VALUE pair for the mapper class. Please explain in details.
Thanks!