[SPARK-12692][BUILD][HOT-FIX] Fix the scala style of KinesisBackedBlockRDDSuite.scala.

https://github.com/apache/spark/pull/10736 was merged yesterday and caused the master start to fail because of the style issue.

Author: Yin Huai <yhuai@databricks.com>

Closes #10742 from yhuai/fixStyle.
This commit is contained in:
Yin Huai 2016-01-13 10:01:15 -08:00
parent 3d81d63f44
commit d6fd9b376b

View file

@ -158,9 +158,9 @@ abstract class KinesisBackedBlockRDDTests(aggregateTestData: Boolean)
testBlockRemove: Boolean = false
): Unit = {
require(shardIds.size > 1, "Need at least 2 shards to test")
require(numPartitionsInBM <= shardIds.size ,
require(numPartitionsInBM <= shardIds.size,
"Number of partitions in BlockManager cannot be more than the Kinesis test shards available")
require(numPartitionsInKinesis <= shardIds.size ,
require(numPartitionsInKinesis <= shardIds.size,
"Number of partitions in Kinesis cannot be more than the Kinesis test shards available")
require(numPartitionsInBM <= numPartitions,
"Number of partitions in BlockManager cannot be more than that in RDD")