This is an automated email from the ASF dual-hosted git repository. bertty pushed a commit to branch benchmark in repository https://gitbox.apache.org/repos/asf/incubator-wayang.git
commit 4d51a73156d2a20d4aa97f97b98f19900283e39d Author: Bertty Contreras-Rojas <[email protected]> AuthorDate: Mon Jun 13 12:41:05 2022 +0200 [LICENCE] add missing licence Signed-off-by: bertty <[email protected]> --- .../main/java/org/apache/wayang/apps/grep/Grep.java | 19 ++++++++++++++++++- .../main/resources/wayang-spark-defaults.properties | 2 +- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/wayang-benchmark/code/main/java/org/apache/wayang/apps/grep/Grep.java b/wayang-benchmark/code/main/java/org/apache/wayang/apps/grep/Grep.java index 6781b08d..35d483cf 100644 --- a/wayang-benchmark/code/main/java/org/apache/wayang/apps/grep/Grep.java +++ b/wayang-benchmark/code/main/java/org/apache/wayang/apps/grep/Grep.java @@ -1,9 +1,26 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you 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 org.apache.wayang.apps.grep; import java.io.IOException; import java.io.Serializable; import java.nio.file.Files; -import java.nio.file.Path; import java.nio.file.Paths; import java.util.Iterator; import org.apache.flink.api.java.ExecutionEnvironment; diff --git a/wayang-platforms/wayang-spark/code/main/resources/wayang-spark-defaults.properties b/wayang-platforms/wayang-spark/code/main/resources/wayang-spark-defaults.properties index 262fcbe2..7b4feb3f 100644 --- a/wayang-platforms/wayang-spark/code/main/resources/wayang-spark-defaults.properties +++ b/wayang-platforms/wayang-spark/code/main/resources/wayang-spark-defaults.properties @@ -15,7 +15,7 @@ # limitations under the License. # -spark.master = local[*] +spark.master = local[1] spark.app.name = Wayang App spark.ui.showConsoleProgress = false spark.driver.allowMultipleContexts=true
