Github user jerryshao commented on a diff in the pull request:
https://github.com/apache/spark/pull/5732#discussion_r29430355
--- Diff:
streaming/src/main/scala/org/apache/spark/streaming/rdd/WriteAheadLogBackedBlockRDD.scala
---
@@ -40,21 +40,29 @@ private[streaming]
class WriteAheadLogBackedBlockRDDPartition(
val index: Int,
val blockId: BlockId,
- val walRecordHandle: WriteAheadLogRecordHandle)
- extends Partition
+ val isBlockIdValid: Boolean,
+ val walRecordHandle: WriteAheadLogRecordHandle
+ ) extends Partition
/**
* This class represents a special case of the BlockRDD where the data
blocks in
* the block manager are also backed by data in write ahead logs. For
reading
* the data, this RDD first looks up the blocks by their ids in the block
manager.
- * If it does not find them, it looks up the corresponding data in the
write ahead log.
+ * If it does not find them, it looks up the corresponding file segment.
The finding
--- End diff --
should we here specifically mention "file segment", or just
`walRecordHandles`? Since WAL is pluggable, it might not have to be file
segment.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]