Skip to content

Commit

Permalink
Updated SparkContextSingleton to work on local machine.
Browse files Browse the repository at this point in the history
  • Loading branch information
alex0dd committed May 20, 2020
1 parent f3a2e6c commit e598552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/utils/SparkContextSingleton.scala
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ object SparkContextSingleton {

private def initializeContext(): Unit = {
// create instance
val conf = new SparkConf().setAppName("CovidRank")//.setMaster("local[*]")
val conf = new SparkConf().setAppName("CovidRank").setMaster("local[*]")
val sc = new SparkContext(conf)
sc.setLogLevel("ERROR")
// configure
Expand Down

0 comments on commit e598552

Please sign in to comment.