This is an automated email from the ASF dual-hosted git repository.
dongjoon pushed a commit to branch branch-3.3
in repository https://gitbox.apache.org/repos/asf/spark.git
The following commit(s) were added to refs/heads/branch-3.3 by this push:
new 037ec0c8e1c [SPARK-42649][CORE] Remove the standard Apache License
header from the top of third-party source files
037ec0c8e1c is described below
commit 037ec0c8e1c07324d8da0a61467eacfdc5ed023f
Author: Dongjoon Hyun <[email protected]>
AuthorDate: Thu Mar 2 01:03:32 2023 -0800
[SPARK-42649][CORE] Remove the standard Apache License header from the top
of third-party source files
This PR aims to remove the standard Apache License header from the top of
third-party source files.
According to LICENSE file, I found two files.
- https://github.com/apache/spark/blob/master/LICENSE
This was requested via `devspark` mailing list.
- https://lists.apache.org/thread/wfy9sykncw2znhzlvyd18bkyjr7l9x43
Here is the ASF legal policy.
- https://www.apache.org/legal/src-headers.html#3party
> Do not add the standard Apache License header to the top of third-party
source files.
No. This is a source code distribution.
Manual review.
Closes #40249 from dongjoon-hyun/SPARK-42649.
Authored-by: Dongjoon Hyun <[email protected]>
Signed-off-by: Dongjoon Hyun <[email protected]>
(cherry picked from commit 2c9f67ca5d1bb5de0fe4418ebcf95f2d1a8e3371)
Signed-off-by: Dongjoon Hyun <[email protected]>
---
.../apache/spark/network/util/LimitedInputStream.java | 17 -----------------
.../java/org/apache/spark/util/collection/TimSort.java | 17 -----------------
dev/.rat-excludes | 2 ++
3 files changed, 2 insertions(+), 34 deletions(-)
diff --git
a/common/network-common/src/main/java/org/apache/spark/network/util/LimitedInputStream.java
b/common/network-common/src/main/java/org/apache/spark/network/util/LimitedInputStream.java
index e79eef03258..e6cf02a590e 100644
---
a/common/network-common/src/main/java/org/apache/spark/network/util/LimitedInputStream.java
+++
b/common/network-common/src/main/java/org/apache/spark/network/util/LimitedInputStream.java
@@ -1,20 +1,3 @@
-/*
- * 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.
- */
-
/*
* Based on LimitedInputStream.java from Google Guava
*
diff --git a/core/src/main/java/org/apache/spark/util/collection/TimSort.java
b/core/src/main/java/org/apache/spark/util/collection/TimSort.java
index 31428665f96..863e2e213e7 100644
--- a/core/src/main/java/org/apache/spark/util/collection/TimSort.java
+++ b/core/src/main/java/org/apache/spark/util/collection/TimSort.java
@@ -1,20 +1,3 @@
-/*
- * 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.
- */
-
/*
* Based on TimSort.java from the Android Open Source Project
*
diff --git a/dev/.rat-excludes b/dev/.rat-excludes
index 2ce8abc0f87..b9db5af5b3b 100644
--- a/dev/.rat-excludes
+++ b/dev/.rat-excludes
@@ -138,3 +138,5 @@ over10k
exported_table/*
ansible-for-test-node/*
node_modules
+LimitedInputStream.java
+TimSort.java
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]