RunningMode

Coarse-grained (default)

The coarse-grained mode has a lower startup overhead and is good for interactive sessions; it launches one long-running Spark task on each worked node at the cost of reserving the resources for the complete duration of the application.

Fine-grained

The fine-grained mode shows better resource utilization and is good for batch and certain streaming jobs; it launches each Spark task as a separate Mesos task.

Last updated

Was this helpful?