Skip to content

Commit

Permalink
Optimize code
Browse files Browse the repository at this point in the history
  • Loading branch information
beliefer committed Jun 12, 2020
1 parent 03ff735 commit b14ac2d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,7 @@ class DAGSchedulerSuite extends SparkFunSuite with LocalSparkContext with TimeLi
val hostName = if (idx < hostNames.size) {
hostNames(idx)
} else {
"host" + ('A' + idx).toChar
s"host${('A' + idx).toChar}"
}
(Success, makeMapStatus(hostName, numShufflePartitions))
}.toSeq)
Expand Down

0 comments on commit b14ac2d

Please sign in to comment.