title: Top N values by Hadoop Map Reduce code
body: <p>I am very new in hadoop world and struggling to achieve one simple task.</p>
  
  <p>Can anybody please tell me how to get top n values for word count example by using only Map reduce code technique? </p>
  
  <p>I do not want to use any hadoop command for this simple task.</p>