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-7169: Metrics can be additionally configured from Spark configuration #5788

Closed

Conversation

jacek-lewandowski
Copy link
Contributor

No description provided.

@AmplabJenkins
Copy link

Merged build triggered.

@AmplabJenkins
Copy link

Merged build started.

@SparkQA
Copy link

SparkQA commented Apr 29, 2015

Test build #31320 has started for PR 5788 at commit 750927c.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Apr 29, 2015

Test build #31320 has finished for PR 5788 at commit 750927c.

  • This patch fails Scala style tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@AmplabJenkins
Copy link

Merged build finished. Test FAILed.

@AmplabJenkins
Copy link

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/31320/
Test FAILed.

@jacek-lewandowski
Copy link
Contributor Author

retest this please

@AmplabJenkins
Copy link

Merged build triggered.

@AmplabJenkins
Copy link

Merged build started.

@SparkQA
Copy link

SparkQA commented Apr 29, 2015

Test build #31324 has started for PR 5788 at commit 71993fe.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Apr 29, 2015

Test build #31324 has finished for PR 5788 at commit 71993fe.

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

@AmplabJenkins
Copy link

Merged build finished. Test PASSed.

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/31324/
Test PASSed.

@jerryshao
Copy link
Contributor

Why did you submit PR against branch 1.2?

@jacek-lewandowski
Copy link
Contributor Author

@jerryshao because this is a very minor fix and I wanted to prepare a PR for the lowest version I think it it suitable. After successful review and agree to merge it to particular versions i'll create particular PRs.

@@ -131,6 +131,11 @@ class SparkConf(loadDefaults: Boolean) extends Cloneable with Logging {
set("spark.home", home)
}

/** Set the metrics configuration property */
def setMetricsProperty(name: String, value: String): SparkConf = {
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm a little unsure about adding these metric-specific methods here. They're very particular to a specific scenario, while SparkConf is supposed to be a generic configuration class. I'd rather not add these (since I expect most people to set these via config files anyway).

@vanzin
Copy link
Contributor

vanzin commented May 15, 2015

LGTM aside from the SparkConf changes, which I think are unnecessary.

I also agree with @jerryshao's comment; any change, be it a bug fix or feature, should always be made on master first, and later backported if desired. The only exception is when the change is not needed on master.

@vanzin
Copy link
Contributor

vanzin commented May 20, 2015

@jacek-lewandowski do you plan to address the feedback here? Otherwise I can pick this up and post a PR against master.

@vanzin
Copy link
Contributor

vanzin commented May 27, 2015

@jacek-lewandowski ping?

@jacek-lewandowski
Copy link
Contributor Author

@vanzin i'm really sorry - i must have missed the notification

@andrewor14
Copy link
Contributor

@jacek-lewandowski the updated version of this is already merged at #6560. Would you mind closing this patch?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
6 participants