Skip to content
Snippets Groups Projects
Commit 3049415e authored by Prashant Sharma's avatar Prashant Sharma
Browse files

Corrections in documentation comment

parent 39a1d58d
No related branches found
No related tags found
No related merge requests found
......@@ -128,8 +128,8 @@ abstract class NetworkReceiver[T: ClassManifest]() extends Serializable with Log
}
/**
* Stops the receiver and reports to exception to the tracker.
* This should be called whenever an exception has happened on any thread
* Stops the receiver and reports exception to the tracker.
* This should be called whenever an exception is to be handled on any thread
* of the receiver.
*/
protected def stopOnError(e: Exception) {
......@@ -185,7 +185,7 @@ abstract class NetworkReceiver[T: ClassManifest]() extends Serializable with Log
}
/**
* Batches objects created by a [[spark.streaming.NetworkReceiver]] and puts them into
* Batches objects created by a [[spark.streaming.dstream.NetworkReceiver]] and puts them into
* appropriately named blocks at regular intervals. This class starts two threads,
* one to periodically start a new batch and prepare the previous batch of as a block,
* the other to push the blocks into the block manager.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment