@@ -227,7 +227,7 @@ class SparkConf(loadDefaults: Boolean) extends Cloneable with Logging {
227227 def getSizeAsBytes (key : String , defaultValue : String ): Long = {
228228 Utils .byteStringAsBytes(get(key, defaultValue))
229229 }
230-
230+
231231 /**
232232 * Get a size parameter as Kibibytes; throws a NoSuchElementException if it's not set. If no
233233 * suffix is provided then Kibibytes are assumed.
@@ -244,7 +244,7 @@ class SparkConf(loadDefaults: Boolean) extends Cloneable with Logging {
244244 def getSizeAsKb (key : String , defaultValue : String ): Long = {
245245 Utils .byteStringAsKb(get(key, defaultValue))
246246 }
247-
247+
248248 /**
249249 * Get a size parameter as Mebibytes; throws a NoSuchElementException if it's not set. If no
250250 * suffix is provided then Mebibytes are assumed.
@@ -261,7 +261,7 @@ class SparkConf(loadDefaults: Boolean) extends Cloneable with Logging {
261261 def getSizeAsMb (key : String , defaultValue : String ): Long = {
262262 Utils .byteStringAsMb(get(key, defaultValue))
263263 }
264-
264+
265265 /**
266266 * Get a size parameter as Gibibytes; throws a NoSuchElementException if it's not set. If no
267267 * suffix is provided then Gibibytes are assumed.
@@ -278,7 +278,7 @@ class SparkConf(loadDefaults: Boolean) extends Cloneable with Logging {
278278 def getSizeAsGb (key : String , defaultValue : String ): Long = {
279279 Utils .byteStringAsGb(get(key, defaultValue))
280280 }
281-
281+
282282 /** Get a parameter as an Option */
283283 def getOption (key : String ): Option [String ] = {
284284 Option (settings.get(key)).orElse(getDeprecatedConfig(key, this ))
@@ -480,7 +480,7 @@ private[spark] object SparkConf extends Logging {
480480 " spark.kryoserializer.buffer.mb was previously specified as '0.064'. Fractional values " +
481481 " are no longer accepted. To specify the equivalent now, one may use '64k'." )
482482 )
483-
483+
484484 Map (configs.map { cfg => (cfg.key -> cfg) } : _* )
485485 }
486486
@@ -508,7 +508,7 @@ private[spark] object SparkConf extends Logging {
508508 " spark.reducer.maxSizeInFlight" -> Seq (
509509 AlternateConfig (" spark.reducer.maxMbInFlight" , " 1.4" )),
510510 " spark.kryoserializer.buffer" ->
511- Seq (AlternateConfig (" spark.kryoserializer.buffer.mb" , " 1.4" ,
511+ Seq (AlternateConfig (" spark.kryoserializer.buffer.mb" , " 1.4" ,
512512 translation = s => s " ${(s.toDouble * 1000 ).toInt}k " )),
513513 " spark.kryoserializer.buffer.max" -> Seq (
514514 AlternateConfig (" spark.kryoserializer.buffer.max.mb" , " 1.4" )),
0 commit comments