title: How do we pass objects of some custom class as a parameter to mapper in mapReduce programs??
body: <p>How do we pass objects of some custom class as a parameter to mapper in mapReduce programs?? 
  JobConf has 'set' methods for boolean, string, int and long. What if I want to pass a Document object as a parameter to my mapper? Can any one help me out?</p>