This is an automated email from the ASF dual-hosted git repository. bertty pushed a commit to branch WAYANG-34 in repository https://gitbox.apache.org/repos/asf/incubator-wayang.git
commit bcdb841cef763fa7852b9b8dfffe9a6251e41836 Author: Bertty Contreras-Rojas <[email protected]> AuthorDate: Mon Sep 27 16:52:01 2021 +0200 [WAYANG-34] Terasort licenses issues Signed-off-by: bertty <[email protected]> --- .../apache/wayang/apps/terasort/Unsigned16.java | 1 - .../org/apache/wayang/apps/terasort/TeraApp.scala | 28 ++++++++++++++++------ .../org/apache/wayang/apps/terasort/TeraGen.scala | 18 ++++++++++++++ .../org/apache/wayang/apps/terasort/TeraSort.scala | 18 ++++++++++++++ .../apache/wayang/apps/terasort/TeraValidate.scala | 22 +++++++++++++++-- 5 files changed, 77 insertions(+), 10 deletions(-) diff --git a/wayang-benchmark/src/main/java/org/apache/wayang/apps/terasort/Unsigned16.java b/wayang-benchmark/src/main/java/org/apache/wayang/apps/terasort/Unsigned16.java index 57516b1..ce6b662 100644 --- a/wayang-benchmark/src/main/java/org/apache/wayang/apps/terasort/Unsigned16.java +++ b/wayang-benchmark/src/main/java/org/apache/wayang/apps/terasort/Unsigned16.java @@ -21,7 +21,6 @@ package org.apache.wayang.apps.terasort; import java.io.DataInput; import java.io.DataOutput; import java.io.IOException; - import java.io.Serializable; import org.apache.hadoop.io.Writable; diff --git a/wayang-benchmark/src/main/scala/org/apache/wayang/apps/terasort/TeraApp.scala b/wayang-benchmark/src/main/scala/org/apache/wayang/apps/terasort/TeraApp.scala index 5023ec9..531bb19 100644 --- a/wayang-benchmark/src/main/scala/org/apache/wayang/apps/terasort/TeraApp.scala +++ b/wayang-benchmark/src/main/scala/org/apache/wayang/apps/terasort/TeraApp.scala @@ -1,13 +1,27 @@ -package org.apache.wayang.apps.terasort +/* + * 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. + */ -import org.apache.wayang.apps.util.{ExperimentDescriptor, Parameters, ProfileDBHelper} -import org.apache.wayang.apps.wordcount.WordCountScala -import org.apache.wayang.core.api.Configuration -import org.apache.wayang.core.optimizer.ProbabilisticDoubleInterval -import org.apache.wayang.core.util.fs.FileSystems +package org.apache.wayang.apps.terasort import java.util.regex.Pattern -import scala.util.matching.Regex + +import org.apache.wayang.apps.util.{ExperimentDescriptor, Parameters} +import org.apache.wayang.core.api.Configuration object TeraApp extends ExperimentDescriptor { diff --git a/wayang-benchmark/src/main/scala/org/apache/wayang/apps/terasort/TeraGen.scala b/wayang-benchmark/src/main/scala/org/apache/wayang/apps/terasort/TeraGen.scala index 89ac49d..4d6cd74 100644 --- a/wayang-benchmark/src/main/scala/org/apache/wayang/apps/terasort/TeraGen.scala +++ b/wayang-benchmark/src/main/scala/org/apache/wayang/apps/terasort/TeraGen.scala @@ -1,3 +1,21 @@ +/* + * 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.terasort import org.apache.wayang.api.PlanBuilder diff --git a/wayang-benchmark/src/main/scala/org/apache/wayang/apps/terasort/TeraSort.scala b/wayang-benchmark/src/main/scala/org/apache/wayang/apps/terasort/TeraSort.scala index 0169ec6..8b66230 100644 --- a/wayang-benchmark/src/main/scala/org/apache/wayang/apps/terasort/TeraSort.scala +++ b/wayang-benchmark/src/main/scala/org/apache/wayang/apps/terasort/TeraSort.scala @@ -1,3 +1,21 @@ +/* + * 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.terasort import com.google.common.primitives.Longs diff --git a/wayang-benchmark/src/main/scala/org/apache/wayang/apps/terasort/TeraValidate.scala b/wayang-benchmark/src/main/scala/org/apache/wayang/apps/terasort/TeraValidate.scala index 829a0ba..d4e035c 100644 --- a/wayang-benchmark/src/main/scala/org/apache/wayang/apps/terasort/TeraValidate.scala +++ b/wayang-benchmark/src/main/scala/org/apache/wayang/apps/terasort/TeraValidate.scala @@ -1,11 +1,29 @@ +/* + * 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.terasort +import com.google.common.primitives.UnsignedBytes +import org.apache.hadoop.util.PureJavaCrc32 import org.apache.wayang.api.PlanBuilder import org.apache.wayang.commons.util.profiledb.model.Experiment import org.apache.wayang.core.api.{Configuration, WayangContext} import org.apache.wayang.core.plugin.Plugin -import org.apache.hadoop.util.PureJavaCrc32 -import com.google.common.primitives.UnsignedBytes class TeraValidate(@transient plugins: Plugin*) extends Serializable {
