title: Is it possible to build Apache Spark against Hadoop 2.5.1
body: <p>After compiling Hadoop 2.5.1 with maven 
      hadoop version
      Hadoop 2.5.1, I tried to compile apache spark using the following command:</p>
  
  <pre><code>mvn -Pyarn -Phadoop-2.5 -Dhadoop.version=2.5.1 -Pdeb -DskipTests clean package
  </code></pre>
  
  <p>But apparently there is no 2.5 profile. </p>
  
  <p>My question is : what should I do?</p>
  
  <ol>
  <li>rebuild hadoop 2.4</li>
  <li>or compile spark with profile 2.4</li>
  <li>or any other solution ? </li>
  </ol>