title: Error in Spark cassandra integration with spark-cassandra connector
body: <p>I am trying to save data in cassandra in a standalone mode from spark. By running following command:</p>
  
  <pre><code>  bin/spark-submit --packages datastax:spark-cassandra-connector:1.6.0-s_2.10
       --class "pl.japila.spark.SparkMeApp" --master local  /home/hduser2/code14/target/scala-2.10/simple-project_2.10-1.0.jar
  </code></pre>
  
  <p>My build.sbt file is :-</p>
  
  <pre><code>**name := "Simple Project"    
  version := "1.0"     
  scalaVersion := "2.10.4"      
  libraryDependencies += "org.apache.spark" %% "spark-core" % "1.6.0"     
  libraryDependencies += "org.apache.spark" %% "spark-sql" % "1.6.0"     
  resolvers += "Spark Packages Repo" at "https://dl.bintray.com/spark-packages/maven"       
  libraryDependencies += "datastax" % "spark-cassandra-connector" % "1.6.0-s_2.10"       
  libraryDependencies ++= Seq(        
    "org.apache.cassandra" % "cassandra-thrift" % "3.5" ,      
    "org.apache.cassandra" % "cassandra-clientutil" % "3.5",      
    "com.datastax.cassandra" % "cassandra-driver-core" % "3.0.0"    
  )**
  </code></pre>
  
  <p>My Spark code is :-</p>
  
  <pre><code>package pl.japila.spark     
  import org.apache.spark.sql._    
  import com.datastax.spark.connector._    
  import com.datastax.driver.core._     
  import com.datastax.spark.connector.cql._   
  import org.apache.spark.{SparkContext, SparkConf}    
  import com.datastax.driver.core.QueryOptions._    
  import org.apache.spark.SparkConf    
  import com.datastax.driver.core._   
  import com.datastax.spark.connector.rdd._   
  
  object SparkMeApp {
    def main(args: Array[String]) {
  
   val conf = new SparkConf(true).set("spark.cassandra.connection.host", "127.0.0.1")
  
    val sc = new SparkContext("local", "test", conf)    
    val sqlContext = new org.apache.spark.sql.SQLContext(sc)    
    val rdd = sc.cassandraTable("test", "kv")    
    val collection = sc.parallelize(Seq(("cat", 30), ("fox", 40)))
  
  collection.saveToCassandra("test", "kv", SomeColumns("key", "value"))
    }
  }
  </code></pre>
  
  <p>And I got this error:-    </p>
  
  <blockquote>
    <p>Exception in thread "main" java.lang.NoSuchMethodError: com.datastax.driver.core.QueryOptions.setRefreshNodeIntervalMillis(I)Lcom/datastax/driver/core/QueryOptions;**
          at com.datastax.spark.connector.cql.DefaultConnectionFactory$.clusterBuilder(CassandraConnectionFactory.scala:49)
          at com.datastax.spark.connector.cql.DefaultConnectionFactory$.createCluster(CassandraConnectionFactory.scala:92)
          at com.datastax.spark.connector.cql.CassandraConnector$.com$datastax$spark$connector$cql$CassandraConnector$$createSession(CassandraConnector.scala:153)
          at com.datastax.spark.connector.cql.CassandraConnector$$anonfun$3.apply(CassandraConnector.scala:148)
          at com.datastax.spark.connector.cql.CassandraConnector$$anonfun$3.apply(CassandraConnector.scala:148)
          at com.datastax.spark.connector.cql.RefCountedCache.createNewValueAndKeys(RefCountedCache.scala:31)
          at com.datastax.spark.connector.cql.RefCountedCache.acquire(RefCountedCache.scala:56)
          at com.datastax.spark.connector.cql.CassandraConnector.openSession(CassandraConnector.scala:81)
          at com.datastax.spark.connector.cql.CassandraConnector.withSessionDo(CassandraConnector.scala:109)</p>
  </blockquote>
  
  <p>Versions used are :-<br>
  <strong>Spark - 1.6.0<br>
  Scala - 2.10.4<br>
  cassandra-driver-core jar - 3.0.0<br>
  cassandra version 2.2.7<br>
  spark-cassandra connector - 1.6.0-s_2.10</strong>      </p>
  
  <p>SOMEBODY PLEASE HELP !!    </p>