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-15134][EXAMPLE] Indent SparkSession builder patterns and update binary_classification_metrics_example.py #12911

Closed
wants to merge 1 commit into from

Conversation

dongjoon-hyun
Copy link
Member

What changes were proposed in this pull request?

This issue addresses the comments in SPARK-15031 and also fix java-linter errors.

  • Use multiline format in SparkSession builder patterns.
  • Update binary_classification_metrics_example.py to use SparkSession.
  • Fix Java Linter errors (in SPARK-13745, SPARK-15031, and so far)

How was this patch tested?

After passing the Jenkins tests and run dev/lint-java manually.

@dongjoon-hyun
Copy link
Member Author

Hi, @andrewor14 .
To finish SparkSession builder pattern completely, I addressed your remaining comments in this PR.
Jenkins will run a full test since I fixed Java linter errors, too.
Let's see the result.
Thank you always, @andrewor14 .

streamId,
msg.blockIds.length,
client.getClientId(),
NettyUtils.getRemoteAddress(client.getChannel()));
Copy link
Contributor

Choose a reason for hiding this comment

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

ok, but in the future I would keep unrelated changes separate

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh, I see. I'll keep it in mind.

@SparkQA
Copy link

SparkQA commented May 4, 2016

Test build #57809 has finished for PR 12911 at commit 9fa392a.

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

@andrewor14
Copy link
Contributor

retest this please

@SparkQA
Copy link

SparkQA commented May 5, 2016

Test build #57826 has finished for PR 12911 at commit 9fa392a.

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

@andrewor14
Copy link
Contributor

Merging into master 2.0. Thanks!

asfgit pushed a commit that referenced this pull request May 5, 2016
…e binary_classification_metrics_example.py

## What changes were proposed in this pull request?

This issue addresses the comments in SPARK-15031 and also fix java-linter errors.
- Use multiline format in SparkSession builder patterns.
- Update `binary_classification_metrics_example.py` to use `SparkSession`.
- Fix Java Linter errors (in SPARK-13745, SPARK-15031, and so far)

## How was this patch tested?

After passing the Jenkins tests and run `dev/lint-java` manually.

Author: Dongjoon Hyun <dongjoon@apache.org>

Closes #12911 from dongjoon-hyun/SPARK-15134.

(cherry picked from commit 2c170dd)
Signed-off-by: Andrew Or <andrew@databricks.com>
@asfgit asfgit closed this in 2c170dd May 5, 2016
@dongjoon-hyun
Copy link
Member Author

Thank you, @andrewor14 !

@dongjoon-hyun dongjoon-hyun deleted the SPARK-15134 branch May 12, 2016 01:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants