diff --git a/examples/src/main/scala/za/co/absa/atum/utils/SparkLocalMaster.scala b/examples/src/main/scala/za/co/absa/atum/utils/SparkLocalMaster.scala deleted file mode 100644 index 2e0885c6..00000000 --- a/examples/src/main/scala/za/co/absa/atum/utils/SparkLocalMaster.scala +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Copyright 2018 ABSA Group Limited - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package za.co.absa.atum.utils - -trait SparkLocalMaster { - System.getProperties.setProperty("spark.master", "local[*]") - - // in order to runSampleMeasuremts as tests, otherwise - // java.lang.IllegalArgumentException: System memory 259522560 must be at least 471859200... is thrown - System.getProperties.setProperty("spark.testing.memory", (1024*1024*1024).toString) // 1g -}