Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save piercelamb/4b1814078027d2755a72fc0491751c25 to your computer and use it in GitHub Desktop.
Save piercelamb/4b1814078027d2755a72fc0491751c25 to your computer and use it in GitHub Desktop.
val conf = new SparkConf(true)
.set("spark.cassandra.output.batch.size.bytes", "5120")
.set("spark.cassandra.output.concurrent.writes", "32")
.set("spark.cassandra.output.consistency.level", "ANY")
.set("spark.cassandra.output.batch.grouping.key", "none")
….
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment