Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
minor update.
  • Loading branch information
tdas committed Nov 13, 2014
commit fab14c79d3b1e7ced5b881359343366915a622b0
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