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
fddcdf87
Commit
fddcdf87
authored
14 years ago
by
Mosharaf Chowdhury
Browse files
Options
Downloads
Patches
Plain Diff
Added a small description of how ParallelLFS works.
parent
77a40175
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
src/scala/spark/BasicLocalFileShuffle.scala
+1
-1
1 addition, 1 deletion
src/scala/spark/BasicLocalFileShuffle.scala
src/scala/spark/ParallelLocalFileShuffle.scala
+5
-3
5 additions, 3 deletions
src/scala/spark/ParallelLocalFileShuffle.scala
with
6 additions
and
4 deletions
src/scala/spark/BasicLocalFileShuffle.scala
+
1
−
1
View file @
fddcdf87
...
...
@@ -9,7 +9,7 @@ import scala.collection.mutable.{ArrayBuffer, HashMap}
/**
* A
simple
implementation of shuffle using local files served through HTTP.
* A
basic
implementation of shuffle using local files served through HTTP.
*
* TODO: Add support for compression when spark.compress is set to true.
*/
...
...
This diff is collapsed.
Click to expand it.
src/scala/spark/ParallelLocalFileShuffle.scala
+
5
−
3
View file @
fddcdf87
...
...
@@ -10,7 +10,9 @@ import scala.collection.mutable.{ArrayBuffer, HashMap}
/**
* A simple implementation of shuffle using local files served through HTTP.
* An implementation of shuffle using local files served through HTTP where
* receivers create simultaneous connections to multiple servers by setting the
* 'spark.parallelLocalFileShuffle.maxConnections' config option.
*
* TODO: Add support for compression when spark.compress is set to true.
*/
...
...
@@ -221,12 +223,12 @@ object ParallelLocalFileShuffle extends Logging {
if
(!
initialized
)
{
// Load config parameters
MinKnockInterval_
=
System
.
getProperty
(
"spark.parallelLocalFileShuffle.minKnockInterval"
,
"1000"
).
toInt
"spark.parallelLocalFileShuffle.minKnockInterval"
,
"1000"
).
toInt
MaxKnockInterval_
=
System
.
getProperty
(
"spark.parallelLocalFileShuffle.maxKnockInterval"
,
"5000"
).
toInt
MaxConnections_
=
System
.
getProperty
(
"spark.parallelLocalFileShuffle.maxConnections"
,
"4"
).
toInt
"spark.parallelLocalFileShuffle.maxConnections"
,
"4"
).
toInt
// TODO: localDir should be created by some mechanism common to Spark
// so that it can be shared among shuffle, broadcast, etc
...
...
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