The "unresolved dependency" error is stating that the datastax dependency could not be located in the Maven repository. I believe that this should work if you change that portion of your command to the following.
--packages com.datastax.spark:spark-cassandra-connector_2.10:2.0.0-M3 You can verify the available versions by searching Maven at http://search.maven.org. Thanks, Kevin On Wed, Sep 21, 2016 at 3:38 AM, muhammet pakyürek <mpa...@hotmail.com> wrote: > while i run the spark-shell as below > > spark-shell --jars '/home/ktuser/spark-cassandra- > connector/target/scala-2.11/root_2.11-2.0.0-M3-20-g75719df.jar' > --packages datastax:spark-cassandra-connector:2.0.0-s_2.11-M3-20-g75719df > --conf spark.cassandra.connection.host=localhost > > i get the error > unresolved dependency: datastax#spark-cassandra- > connector;2.0.0-s_2.11-M3-20-g75719df. > > > the second question even if i added > > libraryDependencies += "com.datastax.spark" %% "spark-cassandra-connector" % > "2.0.0-M3" > > to spark-cassandra-connector/sbt/sbt file jar files are > root_2.11-2.0.0-M3-20-g75719df > > > teh third question after build of connectpr scala 2.11 how do i integrate > it with pyspark? > >