Skip to content
Snippets Groups Projects
Commit 77a40175 authored by Mosharaf Chowdhury's avatar Mosharaf Chowdhury
Browse files

Fixed config param naming in ParallelLocalFileShuffle

parent c5483e39
No related branches found
No related tags found
No related merge requests found
-Dspark.shuffle.class=spark.ParallelLocalFileShuffle -Dspark.parallelLocalFileShuffle.MaxConnections=2
-Dspark.shuffle.class=spark.ParallelLocalFileShuffle -Dspark.parallelLocalFileShuffle.maxConnections=2
......@@ -221,12 +221,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
"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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment