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-20523][BUILD] Clean up build warnings for 2.2.0 release #17803

Closed
wants to merge 2 commits into from

Conversation

srowen
Copy link
Member

@srowen srowen commented Apr 28, 2017

What changes were proposed in this pull request?

Fix build warnings primarily related to Breeze 0.13 operator changes, Java style problems

How was this patch tested?

Existing tests

… "ProcessingTime" method name and Java style problems
@@ -37,7 +37,9 @@
* `map/flatMapGroupsWithState` by calling `GroupState.setTimeoutDuration()`. See documentation
* on `GroupState` for more details.
*/
public static GroupStateTimeout ProcessingTimeTimeout() { return ProcessingTimeTimeout$.MODULE$; }
public static GroupStateTimeout processingTimeTimeout() {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CC @tdas this especially would need your attention. The name of the method, being TitleCase instead of camelCase, generates a Java style error. It has a point. We can change it because these methods are only new in 2.2, but wanted to check that it is OK? or was it on purpose and needs to be suppressed?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's on purpose to provide more consistent APIs for Scala and Java. Let's just suppress them.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @zsxwing let me try to back this out and suppress

@SparkQA
Copy link

SparkQA commented Apr 28, 2017

Test build #76269 has finished for PR 17803 at commit bd3de24.

  • This patch fails PySpark unit tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@SparkQA
Copy link

SparkQA commented May 2, 2017

Test build #76360 has finished for PR 17803 at commit d01bc64.

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

@yanboliang
Copy link
Contributor

LGTM from MLlib side, I was planing to make this cleanup after upgrading breeze, but didn't find time slot. Thanks very much for your work.

@zsxwing
Copy link
Member

zsxwing commented May 2, 2017

I don't know graphx or mllib. Others look good to me.

asfgit pushed a commit that referenced this pull request May 3, 2017
## What changes were proposed in this pull request?

Fix build warnings primarily related to Breeze 0.13 operator changes, Java style problems

## How was this patch tested?

Existing tests

Author: Sean Owen <sowen@cloudera.com>

Closes #17803 from srowen/SPARK-20523.

(cherry picked from commit 16fab6b)
Signed-off-by: Sean Owen <sowen@cloudera.com>
@srowen
Copy link
Member Author

srowen commented May 3, 2017

Merged to master/2.2

@srowen srowen closed this May 3, 2017
@srowen srowen deleted the SPARK-20523 branch May 3, 2017 09:21
asfgit pushed a commit that referenced this pull request May 3, 2017
## What changes were proposed in this pull request?

Fix build warnings primarily related to Breeze 0.13 operator changes, Java style problems

## How was this patch tested?

Existing tests

Author: Sean Owen <sowen@cloudera.com>

Closes #17803 from srowen/SPARK-20523.
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