Skip to content

Commit

Permalink
[SPARK-12692][BUILD][HOT-FIX] Fix the scala style of KinesisBackedBlo…
Browse files Browse the repository at this point in the history
…ckRDDSuite.scala.

apache#10736 was merged yesterday and caused the master start to fail because of the style issue.

Author: Yin Huai <[email protected]>

Closes apache#10742 from yhuai/fixStyle.
  • Loading branch information
yhuai committed Jan 13, 2016
1 parent 3d81d63 commit d6fd9b3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit d6fd9b3

Please sign in to comment.