Skip to content

[SPARK-24323][SQL] Fix lint-java errors - #21374

Closed
kiszk wants to merge 1 commit into
apache:masterfrom
kiszk:SPARK-24323
Closed

[SPARK-24323][SQL] Fix lint-java errors#21374
kiszk wants to merge 1 commit into
apache:masterfrom
kiszk:SPARK-24323

Conversation

@kiszk

Copy link
Copy Markdown
Member

What changes were proposed in this pull request?

This PR fixes the following errors reported by lint-java

% dev/lint-java
Using `mvn` from path: /usr/bin/mvn
Checkstyle checks failed at following occurrences:
[ERROR] src/main/java/org/apache/spark/sql/sources/v2/reader/InputPartition.java:[39] (sizes) LineLength: Line is longer than 100 characters (found 104).
[ERROR] src/main/java/org/apache/spark/sql/sources/v2/reader/InputPartitionReader.java:[26] (sizes) LineLength: Line is longer than 100 characters (found 110).
[ERROR] src/main/java/org/apache/spark/sql/sources/v2/reader/InputPartitionReader.java:[30] (sizes) LineLength: Line is longer than 100 characters (found 104).

How was this patch tested?

Run lint-java manually.

@SparkQA

Copy link
Copy Markdown

Test build #90842 has finished for PR 21374 at commit a922b88.

  • This patch fails to build.
  • This patch merges cleanly.
  • This patch adds no public classes.

@felixcheung

Copy link
Copy Markdown
Member

Jenkins, retest this please

@SparkQA

Copy link
Copy Markdown

Test build #90843 has finished for PR 21374 at commit a922b88.

  • This patch fails to build.
  • This patch merges cleanly.
  • This patch adds no public classes.

@dongjoon-hyun

Copy link
Copy Markdown
Member

Hi, @kiszk and @felixcheung .
Unfortunately, the master branch build is broken by #21299 .

@kiszk

Copy link
Copy Markdown
MemberAuthor

@dongjoon-hyun thank you, l will kick this later.

@kiszk

Copy link
Copy Markdown
MemberAuthor

retest this please

@SparkQA

Copy link
Copy Markdown

Test build #90851 has finished for PR 21374 at commit a922b88.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@kiszk

Copy link
Copy Markdown
MemberAuthor

cc @gatorsmile@ueshin

@HyukjinKwon

Copy link
Copy Markdown
Member

hm, I think we better fix these in a batch or when the release is close ...

@kiszk

Copy link
Copy Markdown
MemberAuthor

Until now, @gatorsmile and @ueshin fixed these when we found. I am neutral on the policy.
I would like to hear their opinion.

@HyukjinKwon

HyukjinKwon commented May 21, 2018

Copy link
Copy Markdown
Member

Yea, so I am saying that we probably do this less frequently. LGTM btw if it fixes. No reason to block it.

@HyukjinKwon

Copy link
Copy Markdown
Member

Also, I don't think we need a JIRA for each lint break. It's "virtually same" before after.

@HyukjinKwon

Copy link
Copy Markdown
Member

Merged to master

jzhuge pushed a commit to jzhuge/spark that referenced this pull request Mar 7, 2019
## What changes were proposed in this pull request?
This PR fixes the following errors reported by `lint-java`
```
% dev/lint-java
Using `mvn` from path: /usr/bin/mvn
Checkstyle checks failed at following occurrences:
[ERROR] src/main/java/org/apache/spark/sql/sources/v2/reader/InputPartition.java:[39] (sizes) LineLength: Line is longer than 100 characters (found 104).
[ERROR] src/main/java/org/apache/spark/sql/sources/v2/reader/InputPartitionReader.java:[26] (sizes) LineLength: Line is longer than 100 characters (found 110).
[ERROR] src/main/java/org/apache/spark/sql/sources/v2/reader/InputPartitionReader.java:[30] (sizes) LineLength: Line is longer than 100 characters (found 104).
```
## How was this patch tested?
Run `lint-java` manually.
Author: Kazuaki Ishizaki <ishizaki@jp.ibm.com>
Closesapache#21374 from kiszk/SPARK-24323.
(cherry picked from commit e480ecc)
rdblue pushed a commit to rdblue/spark that referenced this pull request Apr 3, 2019
This PR fixes the following errors reported by `lint-java`
```
% dev/lint-java
Using `mvn` from path: /usr/bin/mvn
Checkstyle checks failed at following occurrences:
[ERROR] src/main/java/org/apache/spark/sql/sources/v2/reader/InputPartition.java:[39] (sizes) LineLength: Line is longer than 100 characters (found 104).
[ERROR] src/main/java/org/apache/spark/sql/sources/v2/reader/InputPartitionReader.java:[26] (sizes) LineLength: Line is longer than 100 characters (found 110).
[ERROR] src/main/java/org/apache/spark/sql/sources/v2/reader/InputPartitionReader.java:[30] (sizes) LineLength: Line is longer than 100 characters (found 104).
```
Run `lint-java` manually.
Author: Kazuaki Ishizaki <ishizaki@jp.ibm.com>
Closesapache#21374 from kiszk/SPARK-24323.
jzhuge pushed a commit to jzhuge/spark that referenced this pull request Oct 15, 2019
## What changes were proposed in this pull request?
This PR fixes the following errors reported by `lint-java`
```
% dev/lint-java
Using `mvn` from path: /usr/bin/mvn
Checkstyle checks failed at following occurrences:
[ERROR] src/main/java/org/apache/spark/sql/sources/v2/reader/InputPartition.java:[39] (sizes) LineLength: Line is longer than 100 characters (found 104).
[ERROR] src/main/java/org/apache/spark/sql/sources/v2/reader/InputPartitionReader.java:[26] (sizes) LineLength: Line is longer than 100 characters (found 110).
[ERROR] src/main/java/org/apache/spark/sql/sources/v2/reader/InputPartitionReader.java:[30] (sizes) LineLength: Line is longer than 100 characters (found 104).
```
## How was this patch tested?
Run `lint-java` manually.
Author: Kazuaki Ishizaki <ishizaki@jp.ibm.com>
Closesapache#21374 from kiszk/SPARK-24323.
(cherry picked from commit e480ecc)
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@kiszk@SparkQA@felixcheung@dongjoon-hyun@HyukjinKwon