Skip to content

Commit

Permalink
minor update.
Browse files Browse the repository at this point in the history
  • Loading branch information
tdas committed Nov 13, 2014
1 parent 149948b commit fab14c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ private[streaming] class ReceiverSupervisorImpl(

/** Push a single record of received data into block generator. */
def pushSingle(data: Any) {
blockGenerator addData (data)
blockGenerator.addData(data)
}

/** Store an ArrayBuffer of received data as a data block into Spark's memory. */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ class ReceiverSuite extends FunSuite with Timeouts {
blockGenerator.start()
var count = 0
while(System.currentTimeMillis - startTime < waitTime) {
blockGenerator addData count
blockGenerator.addData(count)
generatedData += count
count += 1
Thread.sleep(10)
Expand Down Expand Up @@ -168,7 +168,7 @@ class ReceiverSuite extends FunSuite with Timeouts {
blockGenerator.start()
var count = 0
while(System.currentTimeMillis - startTime < waitTime) {
blockGenerator addData count
blockGenerator.addData(count)
generatedData += count
count += 1
Thread.sleep(1)
Expand Down

0 comments on commit fab14c7

Please sign in to comment.