Commit b9437aa4d46fe664bd467dd5ba8066d4c21c4693

Authored by 박용규 ago
1 parent ab5b0faaeb
Exists in master

SparkConf hard config remove

Showing 1 changed file with 3 additions and 11 deletions Side-by-side Diff

app/com/piki_ds/ver1/EditorScore.scala View file @ b9437aa
... ... @@ -24,18 +24,10 @@
24 24  
25 25 def getSparkConf1= {
26 26 val conf = new SparkConf().setAppName("EditorScore")
27   - conf.setMaster("local[3]")
28   - conf.set("master", "local[3]")
  27 +// conf.setMaster("local[3]")
  28 +// conf.set("master", "local[3]")
29 29 conf.set("spark.app.name", "EditorScore")
30   - conf.set("spark.driver.allowMultipleContexts", "true")
31   - }
32   -
33   - def getSparkConf2= {
34   - val conf = new SparkConf().setAppName("EditorScore")
35   - conf.setMaster("local[3]")
36   - conf.set("master", "local[3]")
37   - conf.set("spark.app.name", "EditorScore")
38   - conf.set("spark.driver.allowMultipleContexts", "t")
  30 +// conf.set("spark.driver.allowMultipleContexts", "true")
39 31 }
40 32  
41 33 def recentlyUpdatedPath(path:String , isParted:Boolean = true, hdfs:FileSystem): FileStatus = {