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
bfbdab12
Commit
bfbdab12
authored
9 years ago
by
Andrew Or
Browse files
Options
Downloads
Patches
Plain Diff
[HOTFIX] [TYPO] Fix typo in #6546
parent
d8662cd9
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
core/src/test/scala/org/apache/spark/ExternalShuffleServiceSuite.scala
+2
-2
2 additions, 2 deletions
.../scala/org/apache/spark/ExternalShuffleServiceSuite.scala
with
2 additions
and
2 deletions
core/src/test/scala/org/apache/spark/ExternalShuffleServiceSuite.scala
+
2
−
2
View file @
bfbdab12
...
...
@@ -56,11 +56,11 @@ class ExternalShuffleServiceSuite extends ShuffleSuite with BeforeAndAfterAll {
sc
.
env
.
blockManager
.
shuffleClient
.
getClass
should
equal
(
classOf
[
ExternalShuffleClient
])
// In a slow machine, one slave may register hundreds of milliseconds ahead of the other one.
// If we don't wait for all s
a
lves, it's possible that only one executor runs all jobs. Then
// If we don't wait for all sl
a
ves, it's possible that only one executor runs all jobs. Then
// all shuffle blocks will be in this executor, ShuffleBlockFetcherIterator will directly fetch
// local blocks from the local BlockManager and won't send requests to ExternalShuffleService.
// In this case, we won't receive FetchFailed. And it will make this test fail.
// Therefore, we should wait until all s
a
lves are up
// Therefore, we should wait until all sl
a
ves are up
sc
.
jobProgressListener
.
waitUntilExecutorsUp
(
2
,
10000
)
val
rdd
=
sc
.
parallelize
(
0
until
1000
,
10
).
map
(
i
=>
(
i
,
1
)).
reduceByKey
(
_
+
_
)
...
...
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