Github user tdas commented on a diff in the pull request:
https://github.com/apache/spark/pull/8818#discussion_r40180422
--- Diff:
streaming/src/main/scala/org/apache/spark/streaming/scheduler/BatchInfo.scala
---
@@ -36,8 +38,8 @@ case class BatchInfo(
streamIdToInputInfo: Map[Int, StreamInputInfo],
submissionTime: Long,
processingStartTime: Option[Long],
- processingEndTime: Option[Long]
- ) {
+ processingEndTime: Option[Long],
+ failureReasons: Map[Int, String] = Map.empty) {
--- End diff --
I am not sure whether exposing the failureReason in this sort of a map is
the right way. I am inclined to keep this private[streaming] in this PR (for
both master and 1.5), so that we can atleast access it in the UI code. Later we
can figure out whats the best way to expose this in master branch.
---
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]