Skip to content

Conversation

@ilganeli
Copy link

I've updated documentation to reflect true behavior of this setting in client vs. cluster mode.

@SparkQA
Copy link

SparkQA commented Feb 17, 2015

Test build #27663 has started for PR 4665 at commit db47595.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Feb 18, 2015

Test build #27663 has finished for PR 4665 at commit db47595.

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

@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/27663/
Test PASSed.

@andrewor14
Copy link
Contributor

Hey @ilganeli thanks for doing this. Can you also do this for the other spark.driver.* options? Like extra java opts, class paths etc.

@ilganeli
Copy link
Author

Sure @andrewor14 , I presume their behavior is identical ?

@andrewor14
Copy link
Contributor

Yes, those won't work either if the user sets them through the conf.

Copy link
Contributor

Choose a reason for hiding this comment

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

By the way this explanation isn't exactly true. It only doesn't work if you set them through the conf.set(...) way. It still works if you put them in your conf/spark-defaults.conf file.

Copy link
Author

Choose a reason for hiding this comment

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

Got it - thanks for clarifying that. I'll make the relevant changes and re-submit a commit.

@ilganeli
Copy link
Author

Hi @andrewor14 - Can you please review the language for the other driver options and let me know if you agree with it? Thanks!

@SparkQA
Copy link

SparkQA commented Feb 19, 2015

Test build #27736 has started for PR 4665 at commit f149ba1.

  • This patch merges cleanly.

@SparkQA
Copy link

SparkQA commented Feb 19, 2015

Test build #27736 has finished for PR 4665 at commit f149ba1.

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

@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/27736/
Test FAILed.

@ilganeli
Copy link
Author

What is a "MiMa test" failure??

@srowen
Copy link
Member

srowen commented Feb 19, 2015

MiMa is the check for changing public API signatures. This is a false positive since you didn't change any code, so don't worry about it, although a rebase might clear it up anyway.

Also, this may be purely a matter of taste, but I might have done <br/><em>Note:</em> to not put a blank line into the table boxes. Given the layout the extra whitespace makes it looks like there are extra rows somehow.

@ilganeli
Copy link
Author

Got it - I wanted to break up the text. That's a good idea.

@SparkQA
Copy link

SparkQA commented Feb 19, 2015

Test build #27752 has started for PR 4665 at commit 5889d43.

  • This patch merges cleanly.

Copy link
Contributor

Choose a reason for hiding this comment

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

what does (e.g. YARN deployment) mean? I would just rephrase this whole thing with:

<br/>Note: In client mode, this config must not be set through the <code>SparkConf</code>
directly in your application, because the driver JVM has already started at that point.
Instead, please set this through the <code>--driver-memory</code> command line option
or in your default properties file.

Can you update other places with the wording suggested?

@SparkQA
Copy link

SparkQA commented Feb 19, 2015

Test build #27754 has started for PR 4665 at commit 85f7a08.

  • This patch merges cleanly.

Copy link
Contributor

Choose a reason for hiding this comment

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

you forgot to replace this one too

Copy link
Contributor

Choose a reason for hiding this comment

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

actually, this one doesn't apply here. Instead, you should just replace this one with

This is used in cluster mode only.

Copy link
Contributor

Choose a reason for hiding this comment

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

same here, --driver-library-path

@SparkQA
Copy link

SparkQA commented Feb 19, 2015

Test build #27755 has started for PR 4665 at commit a51700a.

  • This patch merges cleanly.

@andrewor14
Copy link
Contributor

Hi @ilganeli thanks for reiterating on my comments quickly. I think this is pretty close to being merged.

@ilganeli
Copy link
Author

I'm happy to help :)

@SparkQA
Copy link

SparkQA commented Feb 19, 2015

Test build #27756 has started for PR 4665 at commit 5d1c8dd.

  • This patch merges cleanly.

@andrewor14
Copy link
Contributor

Ok, LGTM I'm merging this into master and 1.3 thanks.

asfgit pushed a commit that referenced this pull request Feb 19, 2015
…emory", ...) will not work

I've updated documentation to reflect true behavior of this setting in client vs. cluster mode.

Author: Ilya Ganelin <[email protected]>

Closes #4665 from ilganeli/SPARK-5570 and squashes the following commits:

5d1c8dd [Ilya Ganelin] Added example configuration code
a51700a [Ilya Ganelin] Getting rid of extra spaces
85f7a08 [Ilya Ganelin] Reworded note
5889d43 [Ilya Ganelin] Formatting adjustment
f149ba1 [Ilya Ganelin] Minor updates
1fec7a5 [Ilya Ganelin] Updated to add clarification for other driver properties
db47595 [Ilya Ganelin] Slight formatting update
c899564 [Ilya Ganelin] Merge remote-tracking branch 'upstream/master' into SPARK-5570
17b751d [Ilya Ganelin] Updated documentation for driver-memory to reflect its true behavior in client vs cluster mode

(cherry picked from commit 6bddc40)
Signed-off-by: Andrew Or <[email protected]>
@asfgit asfgit closed this in 6bddc40 Feb 19, 2015
@SparkQA
Copy link

SparkQA commented Feb 20, 2015

Test build #27752 has finished for PR 4665 at commit 5889d43.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):
    • class SparkJobInfo(namedtuple("SparkJobInfo", "jobId stageIds status")):
    • class SparkStageInfo(namedtuple("SparkStageInfo",
    • class StatusTracker(object):

@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/27752/
Test PASSed.

@SparkQA
Copy link

SparkQA commented Feb 20, 2015

Test build #27755 has finished for PR 4665 at commit a51700a.

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

@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/27755/
Test FAILed.

@SparkQA
Copy link

SparkQA commented Feb 20, 2015

Test build #27754 has finished for PR 4665 at commit 85f7a08.

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

@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/27754/
Test PASSed.

@SparkQA
Copy link

SparkQA commented Feb 20, 2015

Test build #27756 has finished for PR 4665 at commit 5d1c8dd.

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

@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/27756/
Test PASSed.

Sign up for free to 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