Github user lw-lin commented on a diff in the pull request:
https://github.com/apache/spark/pull/12032#discussion_r57835381
--- Diff:
streaming/src/main/scala/org/apache/spark/streaming/ui/StreamingPage.scala ---
@@ -241,24 +241,24 @@ private[ui] class StreamingPage(parent: StreamingTab)
// Use the max input rate for all InputDStreams' graphs to make the Y
axis ranges same.
// If it's not an integral number, just use its ceil integral number.
- val maxEventRate =
eventRateForAllStreams.max.map(_.ceil.toLong).getOrElse(0L)
- val minEventRate = 0L
+ val maxRecordRate =
recordRateForAllStreams.max.map(_.ceil.toLong).getOrElse(0L)
+ val minRecordRate = 0L
val batchInterval = UIUtils.convertToTimeUnit(listener.batchDuration,
normalizedUnit)
val jsCollector = new JsCollector
- val graphUIDataForEventRateOfAllStreams =
+ val graphUIDataForRecordRateOfAllStreams =
new GraphUIData(
- "all-stream-events-timeline",
- "all-stream-events-histogram",
- eventRateForAllStreams.data,
+ "all-stream-records-timeline",
--- End diff --
@srowen thank you for the detailed review!
Yeah normally this requires something else to change, but `GraphUIData` has
been implemented well enough to save the trouble. We only need to change this
`"all-stream-events-timeline"` here, then the div ID as well as any other place
referring to this div will change accordingly; please see the snapshots of the
HTML source:
div as a placeholder:

then fill in that div with data:

Thanks!
---
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]