Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
spark
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cs525-sp18-g07
spark
Commits
af8ffdb7
Commit
af8ffdb7
authored
11 years ago
by
Matei Zaharia
Browse files
Options
Downloads
Patches
Plain Diff
Review comments
parent
c0d37510
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/cluster-overview.md
+47
-0
47 additions, 0 deletions
docs/cluster-overview.md
docs/job-scheduling.md
+1
-1
1 addition, 1 deletion
docs/job-scheduling.md
with
48 additions
and
1 deletion
docs/cluster-overview.md
+
47
−
0
View file @
af8ffdb7
...
@@ -68,3 +68,50 @@ access this UI. The [monitoring guide](monitoring.html) also describes other mon
...
@@ -68,3 +68,50 @@ access this UI. The [monitoring guide](monitoring.html) also describes other mon
Spark gives control over resource allocation both _across_ applications (at the level of the cluster
Spark gives control over resource allocation both _across_ applications (at the level of the cluster
manager) and _within_ applications (if multiple computations are happening on the same SparkContext).
manager) and _within_ applications (if multiple computations are happening on the same SparkContext).
The
[
job scheduling overview
](
job-scheduling.html
)
describes this in more detail.
The
[
job scheduling overview
](
job-scheduling.html
)
describes this in more detail.
# Glossary
The following table summarizes terms you'll see used to refer to cluster concepts:
<table
class=
"table"
>
<thead>
<tr><th
style=
"width: 130px;"
>
Term
</th><th>
Meaning
</th></tr>
</thead>
<tbody>
<tr>
<td>
Application
</td>
<td>
Any user program invoking Spark
</td>
</tr>
<tr>
<td>
Driver program
</td>
<td>
The process running the main() function of the application and creating the SparkContext
</td>
</tr>
<tr>
<td>
Cluster manager
</td>
<td>
An external service for acquiring resources on the cluster (e.g. standalone manager, Mesos, YARN)
</td>
</tr>
<tr>
<td>
Worker node
</td>
<td>
Any node that can run application code in the cluster
</td>
</tr>
<tr>
<td>
Executor
</td>
<td>
A process launched for an application on a worker node, that runs tasks and keeps data in memory
or disk storage across them. Each application has its own executors.
</td>
</tr>
<tr>
<td>
Task
</td>
<td>
A unit of work that will be sent to one executor
</td>
</tr>
<tr>
<td>
Job
</td>
<td>
A parallel computation consisting of multiple tasks that gets spawned in response to a Spark action
(e.g.
<code>
save
</code>
,
<code>
collect
</code>
); you'll see this term used in the driver's logs.
</td>
</tr>
<tr>
<td>
Stage
</td>
<td>
Each job gets divided into smaller sets of tasks called
<em>
stages
</em>
that depend on each other
(similar to the map and reduce stages in MapReduce); you'll see this term used in the driver's logs.
</td>
</tr>
</tbody>
</table>
This diff is collapsed.
Click to expand it.
docs/job-scheduling.md
+
1
−
1
View file @
af8ffdb7
...
@@ -25,7 +25,7 @@ different options to manage allocation, depending on the cluster manager.
...
@@ -25,7 +25,7 @@ different options to manage allocation, depending on the cluster manager.
The simplest option, available on all cluster managers, is _static partitioning_ of resources. With
The simplest option, available on all cluster managers, is _static partitioning_ of resources. With
this approach, each application is given a maximum amount of resources it can use, and holds onto them
this approach, each application is given a maximum amount of resources it can use, and holds onto them
for its whole duration. This is the
only
approach
available
in Spark's
[
standalone
](
spark-standalone.html
)
for its whole duration. This is the approach
used
in Spark's
[
standalone
](
spark-standalone.html
)
and
[
YARN
](
running-on-yarn.html
)
modes, as well as the
and
[
YARN
](
running-on-yarn.html
)
modes, as well as the
[
coarse-grained Mesos mode
](
running-on-mesos.html#mesos-run-modes
)
.
[
coarse-grained Mesos mode
](
running-on-mesos.html#mesos-run-modes
)
.
Resource allocation can be configured as follows, based on the cluster type:
Resource allocation can be configured as follows, based on the cluster type:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment