Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-12829] Turn Java style checker on #10763

Closed
wants to merge 1 commit into from
Closed

Conversation

rxin
Copy link
Contributor

@rxin rxin commented Jan 15, 2016

It was previously turned off because there was a problem with a pull request. We should turn it on now.

@JoshRosen
Copy link
Contributor

LGTM

@SparkQA
Copy link

SparkQA commented Jan 15, 2016

Test build #49438 has finished for PR 10763 at commit 6294215.

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

@rxin
Copy link
Contributor Author

rxin commented Jan 15, 2016

I'm going to merge this.

@asfgit asfgit closed this in 591c88c Jan 15, 2016
@zsxwing
Copy link
Member

zsxwing commented Jan 18, 2016

Looks lint-java will fail if adding a new project: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/49631/consoleFull

@zsxwing
Copy link
Member

zsxwing commented Jan 18, 2016

Looks we need to add a mvn install step to make it work.

@JoshRosen
Copy link
Contributor

Hmm, I guess the linting has to take place after the install phase. This would also imply that the linting would break on a machine with a clean Maven cache.

@zsxwing
Copy link
Member

zsxwing commented Jan 18, 2016

@JoshRosen is it okey to disable it?

@zsxwing
Copy link
Member

zsxwing commented Jan 19, 2016

FYI, just reverted this to unblock my PR #10744

asfgit pushed a commit that referenced this pull request Jan 19, 2018
## What changes were proposed in this pull request?

This patch fixes a few recently introduced java style check errors in master and release branch.

As an aside, given that [java linting currently fails](#10763
) on machines with a clean maven cache, it'd be great to find another workaround to [re-enable the java style checks](https://github.com/apache/spark/blob/3a07eff5af601511e97a05e6fea0e3d48f74c4f0/dev/run-tests.py#L577) as part of Spark PRB.

/cc zsxwing JoshRosen srowen for any suggestions

## How was this patch tested?

Manual Check

Author: Sameer Agarwal <sameerag@apache.org>

Closes #20323 from sameeragarwal/java.

(cherry picked from commit 9c4b998)
Signed-off-by: Sameer Agarwal <sameerag@apache.org>
asfgit pushed a commit that referenced this pull request Jan 19, 2018
## What changes were proposed in this pull request?

This patch fixes a few recently introduced java style check errors in master and release branch.

As an aside, given that [java linting currently fails](#10763
) on machines with a clean maven cache, it'd be great to find another workaround to [re-enable the java style checks](https://github.com/apache/spark/blob/3a07eff5af601511e97a05e6fea0e3d48f74c4f0/dev/run-tests.py#L577) as part of Spark PRB.

/cc zsxwing JoshRosen srowen for any suggestions

## How was this patch tested?

Manual Check

Author: Sameer Agarwal <sameerag@apache.org>

Closes #20323 from sameeragarwal/java.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants