GitHub user mwws opened a pull request:
https://github.com/apache/spark/pull/13259
[SPARK-15480][UI][Streaming]show missed InputInfo in streaming UI
## What changes were proposed in this pull request?
It's a bug in Streaming UI. If BatchDuration is changed by window
operation, InputInfo on time with no output ops will not be shown in streaming
UI.
Here is a simple example to reproduce:
```scala
val inputDStream = KafkaUtils.createDirectStream[String, String,
StringDecoder, StringDecoder](ssc, kafkaParam, topic)
val matchedDStream = inputDStream.window(batchInteval*2, batchInteval*2)
matchedDStream.foreachRDD(rdd => {
val count = rdd.count()
println(s"2 count number: ${count}")
})
```
## How was this patch tested?
manually tested
Screenshot attached:

You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mwws/spark SPARK-UI-StreamingInput
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/13259.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #13259
----
commit 83351b8f8dcb7767700157a17e513149740ab6d1
Author: mwws <[email protected]>
Date: 2016-05-23T06:54:41Z
show missed input info in streaming info page
----
---
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]