title: Using Scala 2.12 with Spark 2.x
body: <p>At the Spark 2.1 <a href="https://spark.apache.org/docs/latest/" rel="noreferrer">docs</a> it's mentioned that </p>
  
  <blockquote>
    <p>Spark runs on Java 7+, Python 2.6+/3.4+ and R 3.1+. For the Scala API, Spark 2.1.0 uses Scala 2.11. You will need to use a compatible Scala version (2.11.x).</p>
  </blockquote>
  
  <p>at the Scala 2.12 <a href="http://www.scala-lang.org/news/2.12.0" rel="noreferrer">release news</a> it's also mentioned that:</p>
  
  <blockquote>
    <p>Although Scala 2.11 and 2.12 are mostly source compatible to facilitate cross-building, they are not binary compatible. This allows us to keep improving the Scala compiler and standard library.</p>
  </blockquote>
  
  <p>But when I build an uber jar (using Scala 2.12) and run it on Spark 2.1. every thing work just fine.</p>
  
  <p>and I know its not any official source but at the <a href="https://www.47deg.com/blog/apache-spark-two-point-zero/" rel="noreferrer">47 degree blog</a> they mentioned that Spark 2.1 does support Scala 2.12.</p>
  
  <p>How can one explain those (conflicts?) pieces of information ? </p>