diff options
author | Sandeep Singh <sandeep@techaddict.me> | 2016-06-08 14:51:00 +0100 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2016-06-08 14:51:00 +0100 |
commit | f958c1c3e292aba98d283637606890f353a9836c (patch) | |
tree | 5267278f4fb5cb41330b042c1d0bd2183fcaf66f /dev | |
parent | 87706eb66cd1370862a1f8ea447484c80969e45f (diff) | |
download | spark-f958c1c3e292aba98d283637606890f353a9836c.tar.gz spark-f958c1c3e292aba98d283637606890f353a9836c.tar.bz2 spark-f958c1c3e292aba98d283637606890f353a9836c.zip |
[MINOR] Fix Java Lint errors introduced by #13286 and #13280
## What changes were proposed in this pull request?
revived #13464
Fix Java Lint errors introduced by #13286 and #13280
Before:
```
Using `mvn` from path: /Users/pichu/Project/spark/build/apache-maven-3.3.9/bin/mvn
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=512M; support was removed in 8.0
Checkstyle checks failed at following occurrences:
[ERROR] src/main/java/org/apache/spark/launcher/LauncherServer.java:[340,5] (whitespace) FileTabCharacter: Line contains a tab character.
[ERROR] src/main/java/org/apache/spark/launcher/LauncherServer.java:[341,5] (whitespace) FileTabCharacter: Line contains a tab character.
[ERROR] src/main/java/org/apache/spark/launcher/LauncherServer.java:[342,5] (whitespace) FileTabCharacter: Line contains a tab character.
[ERROR] src/main/java/org/apache/spark/launcher/LauncherServer.java:[343,5] (whitespace) FileTabCharacter: Line contains a tab character.
[ERROR] src/main/java/org/apache/spark/sql/streaming/OutputMode.java:[41,28] (naming) MethodName: Method name 'Append' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9_]*$'.
[ERROR] src/main/java/org/apache/spark/sql/streaming/OutputMode.java:[52,28] (naming) MethodName: Method name 'Complete' must match pattern '^[a-z][a-z0-9][a-zA-Z0-9_]*$'.
[ERROR] src/main/java/org/apache/spark/sql/execution/datasources/parquet/SpecificParquetRecordReaderBase.java:[61,8] (imports) UnusedImports: Unused import - org.apache.parquet.schema.PrimitiveType.
[ERROR] src/main/java/org/apache/spark/sql/execution/datasources/parquet/SpecificParquetRecordReaderBase.java:[62,8] (imports) UnusedImports: Unused import - org.apache.parquet.schema.Type.
```
## How was this patch tested?
ran `dev/lint-java` locally
Author: Sandeep Singh <sandeep@techaddict.me>
Closes #13559 from techaddict/minor-3.
Diffstat (limited to 'dev')
-rw-r--r-- | dev/checkstyle-suppressions.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dev/checkstyle-suppressions.xml b/dev/checkstyle-suppressions.xml index bfc2e734e5..31656ca0e5 100644 --- a/dev/checkstyle-suppressions.xml +++ b/dev/checkstyle-suppressions.xml @@ -42,4 +42,6 @@ files="src/main/java/org/apache/hive/service/auth/PasswdAuthenticationProvider.java"/> <suppress checks="NoFinalizer" files="src/main/java/org/apache/hive/service/server/ThreadWithGarbageCleanup.java"/> + <suppress checks="MethodName" + files="sql/catalyst/src/main/java/org/apache/spark/sql/streaming/OutputMode.java"/> </suppressions> |