Repository: spark Updated Branches: refs/heads/master 54a3eb831 -> c5443560b
[MINOR][BUILD] Enable RAT checking on `LZ4BlockInputStream.java`. ## What changes were proposed in this pull request? Since `LZ4BlockInputStream.java` is not licensed to Apache Software Foundation (ASF), the Apache License header of that file is not monitored until now. This PR aims to enable RAT checking on `LZ4BlockInputStream.java` by excluding from `dev/.rat-excludes`. This will prevent accidental removal of Apache License header from that file. ## How was this patch tested? Pass the Jenkins tests (Specifically, RAT check stage). Author: Dongjoon Hyun <[email protected]> Closes #12677 from dongjoon-hyun/minor_rat_exclusion_file. Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/c5443560 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/c5443560 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/c5443560 Branch: refs/heads/master Commit: c5443560b7784473555e930a1ae65bf814ac27e5 Parents: 54a3eb8 Author: Dongjoon Hyun <[email protected]> Authored: Wed Apr 27 09:15:06 2016 +0100 Committer: Sean Owen <[email protected]> Committed: Wed Apr 27 09:15:06 2016 +0100 ---------------------------------------------------------------------- core/src/main/java/org/apache/spark/io/LZ4BlockInputStream.java | 3 +-- dev/.rat-excludes | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/c5443560/core/src/main/java/org/apache/spark/io/LZ4BlockInputStream.java ---------------------------------------------------------------------- diff --git a/core/src/main/java/org/apache/spark/io/LZ4BlockInputStream.java b/core/src/main/java/org/apache/spark/io/LZ4BlockInputStream.java index 8783b5f..9d6f06e 100644 --- a/core/src/main/java/org/apache/spark/io/LZ4BlockInputStream.java +++ b/core/src/main/java/org/apache/spark/io/LZ4BlockInputStream.java @@ -1,5 +1,3 @@ -package org.apache.spark.io; - /* * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,6 +11,7 @@ package org.apache.spark.io; * See the License for the specific language governing permissions and * limitations under the License. */ +package org.apache.spark.io; import java.io.EOFException; import java.io.FilterInputStream; http://git-wip-us.apache.org/repos/asf/spark/blob/c5443560/dev/.rat-excludes ---------------------------------------------------------------------- diff --git a/dev/.rat-excludes b/dev/.rat-excludes index a409a3c..67a2418 100644 --- a/dev/.rat-excludes +++ b/dev/.rat-excludes @@ -94,7 +94,6 @@ gen-java.* org.apache.spark.sql.sources.DataSourceRegister org.apache.spark.scheduler.SparkHistoryListenerFactory .*parquet -LZ4BlockInputStream.java spark-deps-.* .*csv .*tsv --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
