title: Difference between Text and String in Hadoop
body: <p>What is the difference between <code>org.apache.hadoop.io.Text</code> and <code>java.lang.String</code> in the Hadoop framework?</p>
  
  <p>Why couldn't they use <code>String</code> instead of introducing a new <code>Text</code> class?</p>
  
  <p>I investigated the difference and found out it has to do with the encoding format; however I don't understand it yet. </p>
  
  <p>Can someone explain the differences (with examples, if applicable)?</p>