How to load Spark Cassandra Connector in the shell?

前端 未结 6 1444
长情又很酷
长情又很酷 2020-12-07 16:16

I am trying to use Spark Cassandra Connector in Spark 1.1.0.

I have successfully built the jar file from the master branch on GitHub and have gotten the included dem

6条回答
  •  旧时难觅i
    2020-12-07 16:21

    If you want to avoid stoppping/starting the context in the shell you can also add it into your spark properties in:

    {spark_install}/conf/spark-defaults.conf

    spark.cassandra.connection.host=192.168.10.10
    

提交回复
热议问题