Uh oh!
There was an error while loading. Please reload this page.
[SPARK-15480][UI][Streaming]show missed InputInfo in streaming UI - #13259
[SPARK-15480][UI][Streaming]show missed InputInfo in streaming UI#13259mwws wants to merge 3 commits into
Conversation
SparkQA
commented
May 23, 2016
Test build #59124 has finished for PR 13259 at commit
|
mwws
commented
May 24, 2016
chenghao-intel
commented
May 24, 2016
cc @zsxwing |
| inputInfoMissedTimes.foreach (time => { | ||
| val streamIdToInputInfos = inputInfoTracker.getInfo(time) | ||
| val fakeJobSet = JobSet(time, Seq(), streamIdToInputInfos) | ||
| listenerBus.post(StreamingListenerBatchCompleted(fakeJobSet.toBatchInfo)) |
There was a problem hiding this comment.
Will this change the semantics if posing fake StreamingListenerBatchCompleted, if user's code rely on this, will this break their assumptions?
There was a problem hiding this comment.
Good point, it would be a breaking change in that case. Give the fact that some information is indeed missing now, we need either send more events or add additional fields in current event. The later might be better and more correct in semantics, although it can still break current implementation of user's custom listener. And I noticed that listener interface is annotated as DeveloperAPI, so it's expected that API might be changed. How do you think?
I suggest we change |
mwws
commented
May 25, 2016
@zsxwing thank you for the suggestion, But I have two concerns:
|
How about adding a field |
1. revert perivous change 2. add batchTimesWithNoJob Set to record the batch with no job 3. add aggrate method of InputInfo
mwws
commented
Jun 1, 2016
@zsxwing Thanks for your suggestion, I have re-implemented this PR according to that. But instead of maintaining state I according to my manual test the new code works. Could you help review again? |
SparkQA
commented
Jun 1, 2016
Test build #59730 has finished for PR 13259 at commit
|
zsxwing
commented
Jun 6, 2016
@mwws sorry for the delay. Could you add a unit test, please? |
mwws
commented
Jun 7, 2016
@zsxwing Yes sir, a unit test has been added. |
SparkQA
commented
Jun 7, 2016
Test build #60095 has finished for PR 13259 at commit
|
tdas
commented
Oct 25, 2016
@zsxwing Could you take a look at this PR. Would be good to merge this. |
mwws
commented
Nov 7, 2016
@zsxwing This patch has been pended for a long time, could you help to review? |
Closesapache#11785Closesapache#13027Closesapache#13614Closesapache#13761Closesapache#15197Closesapache#14006Closesapache#12576Closesapache#15447Closesapache#13259Closesapache#15616Closesapache#14473Closesapache#16638Closesapache#16146Closesapache#17269Closesapache#17313Closesapache#17418Closesapache#17485Closesapache#17551Closesapache#17463Closesapache#17625Closesapache#10739Closesapache#15193Closesapache#15344Closesapache#14804Closesapache#16993Closesapache#17040Closesapache#15180Closesapache#17238
This pr proposed to close stale PRs. Currently, we have 400+ open PRs and there are some stale PRs whose JIRA tickets have been already closed and whose JIRA tickets does not exist (also, they seem not to be minor issues). // Open PRs whose JIRA tickets have been already closed Closesapache#11785Closesapache#13027Closesapache#13614Closesapache#13761Closesapache#15197Closesapache#14006Closesapache#12576Closesapache#15447Closesapache#13259Closesapache#15616Closesapache#14473Closesapache#16638Closesapache#16146Closesapache#17269Closesapache#17313Closesapache#17418Closesapache#17485Closesapache#17551Closesapache#17463Closesapache#17625 // Open PRs whose JIRA tickets does not exist and they are not minor issues Closesapache#10739Closesapache#15193Closesapache#15344Closesapache#14804Closesapache#16993Closesapache#17040Closesapache#15180Closesapache#17238 N/A Author: Takeshi Yamamuro <yamamuro@apache.org> Closesapache#17734 from maropu/resolved_pr. Change-Id: Id2e590aa7283fe5ac01424d30a40df06da6098b5
## What changes were proposed in this pull request? This pr proposed to close stale PRs. Currently, we have 400+ open PRs and there are some stale PRs whose JIRA tickets have been already closed and whose JIRA tickets does not exist (also, they seem not to be minor issues). // Open PRs whose JIRA tickets have been already closed Closesapache#11785Closesapache#13027Closesapache#13614Closesapache#13761Closesapache#15197Closesapache#14006Closesapache#12576Closesapache#15447Closesapache#13259Closesapache#15616Closesapache#14473Closesapache#16638Closesapache#16146Closesapache#17269Closesapache#17313Closesapache#17418Closesapache#17485Closesapache#17551Closesapache#17463Closesapache#17625 // Open PRs whose JIRA tickets does not exist and they are not minor issues Closesapache#10739Closesapache#15193Closesapache#15344Closesapache#14804Closesapache#16993Closesapache#17040Closesapache#15180Closesapache#17238 ## How was this patch tested? N/A Author: Takeshi Yamamuro <yamamuro@apache.org> Closesapache#17734 from maropu/resolved_pr.
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:
How was this patch tested?
manually tested
I manually input 6 records from Kafka. According to output, there are indeed 6 records processed

but according to web UI, input records show 0.

And here is the Screenshot after my change:
