신은섭(Shin Eun Seop)

fix spark configuration

...@@ -25,6 +25,7 @@ public class Aggregation { ...@@ -25,6 +25,7 @@ public class Aggregation {
25 .builder() 25 .builder()
26 .appName("Detecting Fraud Clicks") 26 .appName("Detecting Fraud Clicks")
27 .master("local") 27 .master("local")
28 + .config("spark.driver.memory", "2g")
28 .getOrCreate(); 29 .getOrCreate();
29 30
30 // detact.Aggregation 31 // detact.Aggregation
......
...@@ -34,6 +34,7 @@ public class DecisionTree { ...@@ -34,6 +34,7 @@ public class DecisionTree {
34 .builder() 34 .builder()
35 .appName("Detecting Fraud Clicks") 35 .appName("Detecting Fraud Clicks")
36 .master("local") 36 .master("local")
37 + .config("spark.driver.memory", "2g")
37 .getOrCreate(); 38 .getOrCreate();
38 39
39 // load aggregated dataset 40 // load aggregated dataset
......