Skip to content

Conversation

@dragos
Copy link
Contributor

@dragos dragos commented Oct 8, 2015

Currently only coarse-grained mode observes spark.cores.max. The fine-grained mode should follow the same limit, and not go above the defined maximum cores.

There's some duplication of logic between the coarse-grained and fine-grained mode. I created SPARK-10444 to fix that.

Rework of #8671

@dragos
Copy link
Contributor Author

dragos commented Oct 8, 2015

@tnachen @andrewor14 please have a look

@SparkQA
Copy link

SparkQA commented Oct 8, 2015

Test build #43394 has finished for PR 9027 at commit 5817d68.

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

@nraychaudhuri
Copy link
Contributor

LGTM

@dragos
Copy link
Contributor Author

dragos commented Nov 3, 2015

Up to date with master, which has a fix in #9282 that was blocking people from testing this one.

@tnachen please have a look

@SparkQA
Copy link

SparkQA commented Nov 3, 2015

Test build #44926 has finished for PR 9027 at commit 960755d.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):\n * case class Exchange(\n * class CoalescedPartitioner(val parent: Partitioner, val partitionStartIndices: Array[Int])\n

@dragos dragos force-pushed the issue/mesos/fine-grained-maxCores-wip branch from 960755d to 68cee1c Compare November 13, 2015 18:53
@dragos
Copy link
Contributor Author

dragos commented Nov 13, 2015

@tnachen can you please have a look? I addressed all your points from #8671

@SparkQA
Copy link

SparkQA commented Nov 13, 2015

Test build #45878 has finished for PR 9027 at commit 68cee1c.

  • This patch fails Scala style tests.
  • This patch merges cleanly.
  • This patch adds the following public classes (experimental):\n * public class JavaGradientBoostingClassificationExample\n * public class JavaGradientBoostingRegressionExample\n * public class JavaRandomForestClassificationExample\n * public class JavaRandomForestRegressionExample\n

@andrewor14
Copy link
Contributor

@dragos can you fix the style here? Other than that, is this ready for review?

Copy link
Contributor

Choose a reason for hiding this comment

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

I think we've consistently put the function parameters that are longer than 100 in newlines so far, can you move d: SchedulerDriver to the next line?

@tnachen
Copy link
Contributor

tnachen commented Dec 17, 2015

@dragos just left some comments on this PR, sorry I wasn't able to take a deep look earlier. I think there are some open issues that needs to be addressed first. Take a look and let me know what you think.

@dragos
Copy link
Contributor Author

dragos commented Dec 18, 2015

Thanks @tnachen, but since this didn't make it in 1.6, and fine-grained mode is slated for removal, I don't think it makes sense to work on it anymore.

@dragos dragos closed this Dec 18, 2015
@blbradley
Copy link
Contributor

@dragos Where can you see that fine-grained mode is slated for removal? All I see is #9795.

@dragos
Copy link
Contributor Author

dragos commented Jan 11, 2016

Discussions on the dev mailing list.

@blbradley
Copy link
Contributor

@dragos Link?

@dragos
Copy link
Contributor Author

dragos commented Jan 12, 2016

The discussions started on Nov. 19 2015, "Removing the Mesos fine-grained mode". but I only have it in my inbox. I'm sure there's some archive somewhere, but I don't have a link at hand.

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.

6 participants