We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a81b93 commit 7590937Copy full SHA for 7590937
streaming/src/main/scala/org/apache/spark/streaming/dstream/ReceiverInputDStream.scala
@@ -119,6 +119,11 @@ abstract class ReceiverInputDStream[T: ClassTag](@transient ssc_ : StreamingCont
119
val validBlockIds = blockIds.filter { id =>
120
ssc.sparkContext.env.blockManager.master.contains(id)
121
}
122
+ if (validBlockIds.size != blockIds.size) {
123
+ logWarning("Some blocks could not be recovered as they were not found in memory. " +
124
+ "To prevent such data loss, enabled Write Ahead Log (see programming guide " +
125
+ "for more details.")
126
+ }
127
new BlockRDD[T](ssc.sc, validBlockIds)
128
129
} else {
0 commit comments