-
Notifications
You must be signed in to change notification settings - Fork 28.6k
[SPARK-19330][DStreams] Also show tooltip for successful batches #16673
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -169,7 +169,7 @@ function drawTimeline(id, data, minX, maxX, minY, maxY, unitY, batchInterval) { | |||
.style("cursor", "pointer") | |||
.attr("cx", function(d) { return x(d.x); }) | |||
.attr("cy", function(d) { return y(d.y); }) | |||
.attr("r", function(d) { return isFailedBatch(d.x) ? "2" : "0";}) | |||
.attr("r", function(d) { return isFailedBatch(d.x) ? "2" : "3";}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does this do?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This changes the radius of a blue dot (which represents a successful batch) in the svg.
Prior to this patch, the radius was 0 thus the blue dot could hardly be hovered and tooltip would not show. This patch alters the radius to 3 for each blue dot.
Test build #71804 has finished for PR 16673 at commit
|
Sorry, I do not get your point. Do you mean the precessing time detail can not be shown on line? But I can not reproduce it, and everything works well. |
@uncleGen yea I mean the tooltip nearly won't show for a blue dot (which represents a successful batch) when the cursor hovers above the blue dot in the 'processing time' graph. |
@zsxwing would you take a look, thanks! |
Yeah, much easier to see the batch tooltip after this change. LGTM. Thanks! Merging to master and 2.1. |
## What changes were proposed in this pull request? ### Before  ### After  ## How was this patch tested? Manually Author: Liwei Lin <lwlin7@gmail.com> Closes #16673 from lw-lin/streaming. (cherry picked from commit 40a4cfc) Signed-off-by: Shixiong Zhu <shixiong@databricks.com>
## What changes were proposed in this pull request? ### Before  ### After  ## How was this patch tested? Manually Author: Liwei Lin <lwlin7@gmail.com> Closes apache#16673 from lw-lin/streaming.
## What changes were proposed in this pull request? ### Before  ### After  ## How was this patch tested? Manually Author: Liwei Lin <lwlin7@gmail.com> Closes apache#16673 from lw-lin/streaming.
What changes were proposed in this pull request?
Before
After
How was this patch tested?
Manually