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
2d7e8d8c
Commit
2d7e8d8c
authored
11 years ago
by
Ankur Dave
Browse files
Options
Downloads
Patches
Plain Diff
Add GC note to GraphLab
parent
a696be1e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
graphx/src/main/scala/org/apache/spark/graphx/GraphLab.scala
+6
-0
6 additions, 0 deletions
graphx/src/main/scala/org/apache/spark/graphx/GraphLab.scala
with
6 additions
and
0 deletions
graphx/src/main/scala/org/apache/spark/graphx/GraphLab.scala
+
6
−
0
View file @
2d7e8d8c
...
...
@@ -35,6 +35,12 @@ object GraphLab extends Logging {
* @tparam ED the graph edge attribute type
* @tparam A the type accumulated during the gather phase
* @return the resulting graph after the algorithm converges
*
* @note Unlike [[Pregel]], this implementation of [[GraphLab]] does not unpersist RDDs from
* previous iterations. As a result, long-running iterative GraphLab programs will eventually fill
* the Spark cache. Though Spark will evict RDDs from old iterations eventually, garbage
* collection will take longer than necessary since it must examine the entire cache. This will be
* fixed in a future update.
*/
def
apply
[
VD:
ClassTag
,
ED:
ClassTag
,
A:
ClassTag
]
(
graph
:
Graph
[
VD
,
ED
],
numIter
:
Int
,
...
...
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