Skip to content

Conversation

@shrprasa
Copy link
Contributor

What changes were proposed in this pull request?

Upgrade vis timeline to 7.7.2
Have to add xss option with whitelisting to make the timeline work after the xss protection was added in vis-timeline.
(Refer to visjs/vis-timeline#1010)

Why are the changes needed?

To remediate CVE-2020-28487
GHSA-9mrv-456v-pf22

Does this PR introduce any user-facing change?

No

How was this patch tested?

Manually by running spark-shell and checking History Server UI.
Timeline rendered successfully and no change in style.
Even after following operation:
(1 to 1000).foreach(_ => sc.parallelize(1 to 10).collect)
UI loaded in 3 seconds faster than it loaded with 4.21.

@shrprasa shrprasa force-pushed the upgrade_vis branch 2 times, most recently from 21376f9 to aa7143e Compare June 16, 2023 07:03
@shrprasa
Copy link
Contributor Author

@sarutak @gengliangwang Can you please review this PR?

@srowen
Copy link
Member

srowen commented Jun 18, 2023

Looks OK; try rerunning tests to be sure

@sarutak
Copy link
Member

sarutak commented Jun 18, 2023

@shrprasa Sorry for the late reply.
Actually, newer versions of vis can cause performance issue for UI. See https://issues.apache.org/jira/browse/SPARK-31967
Could you confirm that the UI no longer has the performance issue with the new vis?
If the the new vis still causes the issue, does the CVE really affect the usage in Spark?

@shrprasa
Copy link
Contributor Author

shrprasa commented Jun 18, 2023

https://issues.apache.org/jira/browse/SPARK-31967

@sarutak I didn't find any performance issue with newer version of vis. I had tested the same operation which was mentioned in the PR to downgrade vis last time(#28811)

Even after following operation:
(1 to 1000).foreach(_ => sc.parallelize(1 to 10).collect)
UI loaded in 3 seconds, faster than it loaded with 4.21.

@shrprasa
Copy link
Contributor Author

@srowen All tests passed on retry.

@shrprasa
Copy link
Contributor Author

@srowen @sarutak Gentle ping.

@srowen
Copy link
Member

srowen commented Jun 24, 2023

Merged to master

@srowen srowen closed this in a8ea35f Jun 24, 2023
@shrprasa
Copy link
Contributor Author

Merged to master

Thanks @srowen

senthh pushed a commit to acceldata-io/spark3 that referenced this pull request Sep 2, 2024
…020-28487

### What changes were proposed in this pull request?
Upgrade vis timeline to 7.7.2
Have to add xss option with whitelisting to make the timeline work after the xss protection was added in vis-timeline.
(Refer to visjs/vis-timeline#1010)

### Why are the changes needed?
To remediate CVE-2020-28487
GHSA-9mrv-456v-pf22

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
Manually by running spark-shell and checking History Server UI.
Timeline rendered successfully and no change in style.
Even after following operation:
(1 to 1000).foreach(_ => sc.parallelize(1 to 10).collect)
UI loaded in 3 seconds faster than it loaded with 4.21.

Closes apache#41613 from shrprasa/upgrade_vis.

Authored-by: Shrikant Prasad <[email protected]>
Signed-off-by: Sean Owen <[email protected]>

(cherry picked from commit a8ea35f)
senthh pushed a commit to acceldata-io/spark3 that referenced this pull request Nov 12, 2024
…020-28487

### What changes were proposed in this pull request?
Upgrade vis timeline to 7.7.2
Have to add xss option with whitelisting to make the timeline work after the xss protection was added in vis-timeline.
(Refer to visjs/vis-timeline#1010)

### Why are the changes needed?
To remediate CVE-2020-28487
GHSA-9mrv-456v-pf22

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
Manually by running spark-shell and checking History Server UI.
Timeline rendered successfully and no change in style.
Even after following operation:
(1 to 1000).foreach(_ => sc.parallelize(1 to 10).collect)
UI loaded in 3 seconds faster than it loaded with 4.21.

Closes apache#41613 from shrprasa/upgrade_vis.

Authored-by: Shrikant Prasad <[email protected]>
Signed-off-by: Sean Owen <[email protected]>

(cherry picked from commit a8ea35f)
senthh pushed a commit to acceldata-io/spark3 that referenced this pull request Nov 13, 2024
…020-28487

### What changes were proposed in this pull request?
Upgrade vis timeline to 7.7.2
Have to add xss option with whitelisting to make the timeline work after the xss protection was added in vis-timeline.
(Refer to visjs/vis-timeline#1010)

### Why are the changes needed?
To remediate CVE-2020-28487
GHSA-9mrv-456v-pf22

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
Manually by running spark-shell and checking History Server UI.
Timeline rendered successfully and no change in style.
Even after following operation:
(1 to 1000).foreach(_ => sc.parallelize(1 to 10).collect)
UI loaded in 3 seconds faster than it loaded with 4.21.

Closes apache#41613 from shrprasa/upgrade_vis.

Authored-by: Shrikant Prasad <[email protected]>
Signed-off-by: Sean Owen <[email protected]>

(cherry picked from commit a8ea35f)
senthh pushed a commit to acceldata-io/spark3 that referenced this pull request Nov 13, 2024
…020-28487

### What changes were proposed in this pull request?
Upgrade vis timeline to 7.7.2
Have to add xss option with whitelisting to make the timeline work after the xss protection was added in vis-timeline.
(Refer to visjs/vis-timeline#1010)

### Why are the changes needed?
To remediate CVE-2020-28487
GHSA-9mrv-456v-pf22

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
Manually by running spark-shell and checking History Server UI.
Timeline rendered successfully and no change in style.
Even after following operation:
(1 to 1000).foreach(_ => sc.parallelize(1 to 10).collect)
UI loaded in 3 seconds faster than it loaded with 4.21.

Closes apache#41613 from shrprasa/upgrade_vis.

Authored-by: Shrikant Prasad <[email protected]>
Signed-off-by: Sean Owen <[email protected]>

(cherry picked from commit a8ea35f)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants