Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Add driver memory config for yarn scheduler #1454

Merged
merged 1 commit into from
Sep 29, 2016

Conversation

ashvina
Copy link
Contributor

@ashvina ashvina commented Sep 29, 2016

Fixes #1446

@billonahill
Copy link
Contributor

👍

@@ -153,6 +155,7 @@ private Configuration getHMDriverConf() {
.set(HeronDriverConfiguration.HTTP_PORT, 0)
.set(HeronDriverConfiguration.VERBOSE, false)
.set(YarnDriverConfiguration.QUEUE, queue)
.set(DriverConfiguration.DRIVER_MEMORY, driverMemory)
Copy link
Contributor

Choose a reason for hiding this comment

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

this could be for another PR, but it would be great to have a unit test that loads things up and verifies the default configs, then another one that loads things up with overrides and verifies that too. Such a test would verify that this .set call wasn't overlooked.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point. I have some ideas to test the yarnconfigs. Will create an issue to track it separately. Thanks.

@billonahill billonahill merged commit 6f06c1c into apache:master Sep 29, 2016
@ashvina ashvina deleted the configurableAMSize-1446 branch September 29, 2016 20:32
@huijunw huijunw added the Yarn label Jul 23, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants