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
77a40175
Commit
77a40175
authored
14 years ago
by
Mosharaf Chowdhury
Browse files
Options
Downloads
Patches
Plain Diff
Fixed config param naming in ParallelLocalFileShuffle
parent
c5483e39
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
conf/java-opts
+1
-1
1 addition, 1 deletion
conf/java-opts
src/scala/spark/ParallelLocalFileShuffle.scala
+3
-3
3 additions, 3 deletions
src/scala/spark/ParallelLocalFileShuffle.scala
with
4 additions
and
4 deletions
conf/java-opts
+
1
−
1
View file @
77a40175
-Dspark.shuffle.class=spark.ParallelLocalFileShuffle -Dspark.parallelLocalFileShuffle.
M
axConnections=2
-Dspark.shuffle.class=spark.ParallelLocalFileShuffle -Dspark.parallelLocalFileShuffle.
m
axConnections=2
This diff is collapsed.
Click to expand it.
src/scala/spark/ParallelLocalFileShuffle.scala
+
3
−
3
View file @
77a40175
...
...
@@ -221,12 +221,12 @@ object ParallelLocalFileShuffle extends Logging {
if
(!
initialized
)
{
// Load config parameters
MinKnockInterval_
=
System
.
getProperty
(
"spark.parallelLocalFileShuffle.
M
inKnockInterval"
,
"1000"
).
toInt
"spark.parallelLocalFileShuffle.
m
inKnockInterval"
,
"1000"
).
toInt
MaxKnockInterval_
=
System
.
getProperty
(
"spark.parallelLocalFileShuffle.
M
axKnockInterval"
,
"5000"
).
toInt
"spark.parallelLocalFileShuffle.
m
axKnockInterval"
,
"5000"
).
toInt
MaxConnections_
=
System
.
getProperty
(
"spark.parallelLocalFileShuffle.
M
axConnections"
,
"4"
).
toInt
"spark.parallelLocalFileShuffle.
m
axConnections"
,
"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