Skip to content

[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

Closed
wants to merge 1 commit into from

Conversation

lw-lin
Copy link
Contributor

@lw-lin lw-lin commented Jan 22, 2017

What changes were proposed in this pull request?

Before

_streaming_before

After

_streaming_after

How was this patch tested?

Manually

@@ -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";})
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does this do?

Copy link
Contributor Author

@lw-lin lw-lin Jan 22, 2017

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.

@SparkQA
Copy link

SparkQA commented Jan 22, 2017

Test build #71804 has finished for PR 16673 at commit 0ca1cb6.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@uncleGen
Copy link
Contributor

uncleGen commented Jan 22, 2017

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.

@lw-lin
Copy link
Contributor Author

lw-lin commented Jan 22, 2017

@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.

@lw-lin
Copy link
Contributor Author

lw-lin commented Jan 22, 2017

@zsxwing would you take a look, thanks!

@zsxwing
Copy link
Member

zsxwing commented Jan 25, 2017

Yeah, much easier to see the batch tooltip after this change. LGTM. Thanks! Merging to master and 2.1.

asfgit pushed a commit that referenced this pull request Jan 25, 2017
## What changes were proposed in this pull request?

### Before
![_streaming_before](https://cloud.githubusercontent.com/assets/15843379/22181462/1e45c20c-e0c8-11e6-831c-8bf69722a4ee.png)

### After
![_streaming_after](https://cloud.githubusercontent.com/assets/15843379/22181464/23f38a40-e0c8-11e6-9a87-e27b1ffb1935.png)

## 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>
@asfgit asfgit closed this in 40a4cfc Jan 25, 2017
@lw-lin lw-lin deleted the streaming branch January 25, 2017 09:07
uzadude pushed a commit to uzadude/spark that referenced this pull request Jan 27, 2017
## What changes were proposed in this pull request?

### Before
![_streaming_before](https://cloud.githubusercontent.com/assets/15843379/22181462/1e45c20c-e0c8-11e6-831c-8bf69722a4ee.png)

### After
![_streaming_after](https://cloud.githubusercontent.com/assets/15843379/22181464/23f38a40-e0c8-11e6-9a87-e27b1ffb1935.png)

## How was this patch tested?

Manually

Author: Liwei Lin <lwlin7@gmail.com>

Closes apache#16673 from lw-lin/streaming.
cmonkey pushed a commit to cmonkey/spark that referenced this pull request Feb 15, 2017
## What changes were proposed in this pull request?

### Before
![_streaming_before](https://cloud.githubusercontent.com/assets/15843379/22181462/1e45c20c-e0c8-11e6-831c-8bf69722a4ee.png)

### After
![_streaming_after](https://cloud.githubusercontent.com/assets/15843379/22181464/23f38a40-e0c8-11e6-9a87-e27b1ffb1935.png)

## How was this patch tested?

Manually

Author: Liwei Lin <lwlin7@gmail.com>

Closes apache#16673 from lw-lin/streaming.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants