[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:
parent
3d81d63f44
commit
d6fd9b376b
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue