aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongjoon Hyun <dongjoon@apache.org>2016-04-27 09:15:06 +0100
committerSean Owen <sowen@cloudera.com>2016-04-27 09:15:06 +0100
commitc5443560b7784473555e930a1ae65bf814ac27e5 (patch)
treed642d5f43ed33564449959ba61235a1cea93ed24
parent54a3eb8312bf4dfe97f9b294a2466785a1a17de6 (diff)
downloadspark-c5443560b7784473555e930a1ae65bf814ac27e5.tar.gz
spark-c5443560b7784473555e930a1ae65bf814ac27e5.tar.bz2
spark-c5443560b7784473555e930a1ae65bf814ac27e5.zip
[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 <dongjoon@apache.org> Closes #12677 from dongjoon-hyun/minor_rat_exclusion_file.
-rw-r--r--core/src/main/java/org/apache/spark/io/LZ4BlockInputStream.java3
-rw-r--r--dev/.rat-excludes1
2 files changed, 1 insertions, 3 deletions
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 8783b5f56e..9d6f06ed28 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;
diff --git a/dev/.rat-excludes b/dev/.rat-excludes
index a409a3cb36..67a241806d 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