title: Hadoop sorting by value in a Reduce Side Join
body: <p>So I'm just working on some Hadoop training getting to learn the lay of the land, and I'm attempting to do a reduce side join, which I have functioning, except for the secondary sort.</p>
  
  <p>So the basics:</p>
  
  <p>Two files<br>
  One has player,team,salary<br>
  Another has player,team,home runs</p>
  
  <p>Output should be team,player,salary,home runs</p>
  
  <p>The New York Mets should be partitioned into one file, while all the other crappy teams should be put into another.</p>
  
  <p>Each of these files should be sorted by team, and secondarily by player salary.</p>
  
  <p>I'm using a key of team,playerID to join on and that works, but I have no idea how I would sort by salary since only one of the two files has it.</p>
  
  <p>Is this a possible task or can this only be accomplished via a map side join?</p>