Skip to content

Instantly share code, notes, and snippets.

@MiraLak
Created May 31, 2015 16:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save MiraLak/74be7d0db0eb81099fb9 to your computer and use it in GitHub Desktop.
Save MiraLak/74be7d0db0eb81099fb9 to your computer and use it in GitHub Desktop.
Actitacker Spark Cassandra
SparkConf sparkConf = new SparkConf()
.setAppName("User's physical activity recognition")
.set("spark.cassandra.connection.host", "127.0.0.1")
.setMaster("local[*]");
JavaSparkContext sc = new JavaSparkContext(sparkConf);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment